Skip to content

Commit

Permalink
hw/intc: Select MSI_NONBROKEN in RISC-V AIA interrupt controllers
Browse files Browse the repository at this point in the history
hw/pci/Kconfig says MSI_NONBROKEN should be selected by interrupt
controllers regardless of how MSI is implemented. msi_nonbroken is
initialized to true in both riscv_aplic_realize() and
riscv_imsic_realize().

Select MSI_NONBROKEN in RISCV_APLIC and RISCV_IMSIC.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221211030829.802437-2-bmeng@tinylab.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
  • Loading branch information
lbmeng authored and alistair23 committed Dec 19, 2022
1 parent 911eb12 commit dea41a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hw/intc/Kconfig
Expand Up @@ -72,9 +72,11 @@ config RISCV_ACLINT

config RISCV_APLIC
bool
select MSI_NONBROKEN

config RISCV_IMSIC
bool
select MSI_NONBROKEN

config SIFIVE_PLIC
bool
Expand Down

0 comments on commit dea41a1

Please sign in to comment.