diff options
author | David Collins <[email protected]> | 2022-09-29 17:50:14 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-09-30 14:33:23 +0200 |
commit | 191adbdd26f1a26c9302369b2701bfddf8c0780e (patch) | |
tree | 558f782414aa13c21844946dcf2e79b52f239d78 /lib/mpi/mpi-sub-ui.c | |
parent | b6c1761721193c52234e3ed048e4d16ab527bb74 (diff) |
spmi: pmic-arb: check apid against limits before calling irq handler
Check that the apid for an SPMI interrupt falls between the
min_apid and max_apid that can be handled by the APPS processor
before invoking the per-apid interrupt handler:
periph_interrupt().
This avoids an access violation in rare cases where the status
bit is set for an interrupt that is not owned by the APPS
processor.
Signed-off-by: David Collins <[email protected]>
Signed-off-by: Fenglin Wu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions