Re: [RESEND PATCH v6 04/10] spmi: pmic-arb: check apid against limits before calling irq handler

From: Stephen Boyd
Date: Wed Aug 31 2022 - 13:41:27 EST


Quoting Fenglin Wu (2022-06-11 20:24:40)
> From: David Collins <collinsd@xxxxxxxxxxxxxx>
>
> 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 <collinsd@xxxxxxxxxxxxxx>
> Signed-off-by: Fenglin Wu <quic_fenglinw@xxxxxxxxxxx>
> ---

Applied to spmi-next