exception: Handle Fast IPIs

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2021-09-21 13:33:23 +09:00
parent 0e3770ca47
commit 098d394a5c

View file

@ -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);
} }