aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/Kconfig
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2022-12-11 11:08:14 +0800
committerAlistair Francis <alistair.francis@wdc.com>2023-01-06 10:42:55 +1000
commit8d8a54bf4c4b526b1fd804d5d54c90a0e1fd1099 (patch)
tree376f67ef8620e6b8a0d63d859e9985ad20693743 /hw/intc/Kconfig
parent260b594d8a8f74198b9b250e9fada7fc43c6f03e (diff)
downloadqemu-8d8a54bf4c4b526b1fd804d5d54c90a0e1fd1099.zip
qemu-8d8a54bf4c4b526b1fd804d5d54c90a0e1fd1099.tar.gz
qemu-8d8a54bf4c4b526b1fd804d5d54c90a0e1fd1099.tar.bz2
hw/riscv: Select MSI_NONBROKEN in SIFIVE_PLIC
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 sifive_plic_realize(). Let SIFIVE_PLIC select MSI_NONBROKEN and drop the selection from RISC-V machines. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Wilfred Mallawa <wilfred.mallawa@wdc.com> Message-Id: <20221211030829.802437-1-bmeng@tinylab.org> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/intc/Kconfig')
-rw-r--r--hw/intc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/intc/Kconfig b/hw/intc/Kconfig
index ecd2883..1d4573e 100644
--- a/hw/intc/Kconfig
+++ b/hw/intc/Kconfig
@@ -78,6 +78,7 @@ config RISCV_IMSIC
config SIFIVE_PLIC
bool
+ select MSI_NONBROKEN
config GOLDFISH_PIC
bool