diff options
author | Anup Patel <apatel@ventanamicro.com> | 2024-12-24 13:29:17 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-12-24 14:06:09 +0530 |
commit | 7150db29d7186808cc0df66b54dde1cb0ffe3535 (patch) | |
tree | 350cb759a6e138799035ef0e94ab4520092fb4ee /lib/utils/cppc/fdt_cppc_rpmi.c | |
parent | 551ac0f2d431a7aac260aa1b4612dfceedb2318c (diff) | |
download | opensbi-7150db29d7186808cc0df66b54dde1cb0ffe3535.zip opensbi-7150db29d7186808cc0df66b54dde1cb0ffe3535.tar.gz opensbi-7150db29d7186808cc0df66b54dde1cb0ffe3535.tar.bz2 |
lib: utils: Fix irqchip registration for PLIC and APLIC
Currently, the same irqchip instance is registered for multiple PLIC
and APLIC instances which causes the sbi_list_for_each_entry() loop
in the sbi_irqchip_init() to hang at boot-time.
To address the above issue, register a separate irqchip instance for
each PLIC and APLIC instance.
Fixes: 2dd6eaf68055 ("lib: sbi_irqchip: Call driver warm_init from SBI core")
Reported-by: Himanshu Chauhan <hchauhan@ventanamicro.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Himanshu Chauhan <hchauhan@ventanamicro.com>
Diffstat (limited to 'lib/utils/cppc/fdt_cppc_rpmi.c')
0 files changed, 0 insertions, 0 deletions