mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-30 10:10:17 +00:00
exception: Handle Fast IPIs
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
0e3770ca47
commit
098d394a5c
1 changed files with 5 additions and 0 deletions
|
@ -346,6 +346,11 @@ void exc_fiq(u64 *regs)
|
||||||
reg_clr(SYS_IMP_APL_UPMCR0, UPMCR0_IMODE_MASK);
|
reg_clr(SYS_IMP_APL_UPMCR0, UPMCR0_IMODE_MASK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mrs(SYS_IMP_APL_IPI_SR_EL1) & IPI_SR_PENDING) {
|
||||||
|
printf(" Fast IPI IRQ, clearing\n");
|
||||||
|
msr(SYS_IMP_APL_IPI_SR_EL1, IPI_SR_PENDING);
|
||||||
|
}
|
||||||
|
|
||||||
UNUSED(regs);
|
UNUSED(regs);
|
||||||
// print_regs(regs);
|
// print_regs(regs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue