diff options
author | Grygorii Strashko <[email protected]> | 2020-04-08 22:15:32 +0300 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2020-04-17 08:59:28 +0100 |
commit | 3688b0db5c331f4ec3fa5eb9f670a4b04f530700 (patch) | |
tree | 28d505d97c3bf3645b5a5791562a728911141d95 /tools/testing/selftests/bpf/prog_tests | |
parent | edfc23f6f9fdbd7825d50ac1f380243cde19b679 (diff) |
irqchip/ti-sci-inta: Fix processing of masked irqs
The ti_sci_inta_irq_handler() does not take into account INTA IRQs state
(masked/unmasked) as it uses INTA_STATUS_CLEAR_j register to get INTA IRQs
status, which provides raw status value.
This causes hard IRQ handlers to be called or threaded handlers to be
scheduled many times even if corresponding INTA IRQ is masked.
Above, first of all, affects the LEVEL interrupts processing and causes
unexpected behavior up the system stack or crash.
Fix it by using the Interrupt Masked Status INTA_STATUSM_j register which
provides masked INTA IRQs status.
Fixes: 9f1463b86c13 ("irqchip/ti-sci-inta: Add support for Interrupt Aggregator driver")
Signed-off-by: Grygorii Strashko <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-by: Lokesh Vutla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions