Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mpfs_irq.c: Interrupt claim must be cleared before disabling the source
From Polarfire SoC TRM: 6.5.8 Interrupt Completion To signal the completion of executing an interrupt handler, the processor core writes the received interrupt ID to the Claim/Complete register. The PLIC does not check whether the completion ID is the same as the last claim ID for that target. If the completion ID does not match an interrupt source that is currently enabled for the target, the completion is ignored. The last paragraph clearly states that IRQ completion does not work for sources that have been disabled -> must ACK the completion before disable. Signed-off-by: Ville Juven <[email protected]>
- Loading branch information