[PATCH] lib: irqchip/plic: fix typo in plic_warm_irqchip_init
Samuel Holland
samuel at sholland.org
Tue Jun 21 21:59:23 PDT 2022
On 6/21/22 7:07 AM, Jan Remes wrote:
> The second invocation of plic_context_init() incorrectly calls the
> function with m_cntx_id instead of s_cntx_id. This breaks systems which
> only have 1 external interrupt per hart.
>
> Fixes: 8c362e7 ("lib: irqchip/plic: Factor out a context init function")
> Signed-off-by: Jan Remes <jan.remes at codasip.com>
Reviewed-by: Samuel Holland <samuel at sholland.org>
More information about the opensbi
mailing list