mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
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>
This commit is contained in:
parent
260b594d8a
commit
8d8a54bf4c
2 changed files with 1 additions and 5 deletions
|
@ -78,6 +78,7 @@ config RISCV_IMSIC
|
|||
|
||||
config SIFIVE_PLIC
|
||||
bool
|
||||
select MSI_NONBROKEN
|
||||
|
||||
config GOLDFISH_PIC
|
||||
bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue