28d8c28120
We extend virt machine to emulate both AIA IMSIC and AIA APLIC devices only when "aia=aplic-imsic" parameter is passed along with machine name in the QEMU command-line. The AIA IMSIC is only a per-HART MSI controller so we use AIA APLIC in MSI-mode to forward all wired interrupts as MSIs to the AIA IMSIC. We also provide "aia-guests=<xyz>" parameter which can be used to specify number of VS-level AIA IMSIC Guests MMIO pages for each HART. Signed-off-by: Anup Patel <anup.patel@wdc.com> Signed-off-by: Anup Patel <anup@brainfault.org> Acked-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20220220085526.808674-4-anup@brainfault.org> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
86 lines
1.5 KiB
Plaintext
86 lines
1.5 KiB
Plaintext
config RISCV_NUMA
|
|
bool
|
|
|
|
config IBEX
|
|
bool
|
|
|
|
config MICROCHIP_PFSOC
|
|
bool
|
|
select CADENCE_SDHCI
|
|
select MCHP_PFSOC_DMC
|
|
select MCHP_PFSOC_IOSCB
|
|
select MCHP_PFSOC_MMUART
|
|
select MCHP_PFSOC_SYSREG
|
|
select MSI_NONBROKEN
|
|
select RISCV_ACLINT
|
|
select SIFIVE_PDMA
|
|
select SIFIVE_PLIC
|
|
select UNIMP
|
|
|
|
config OPENTITAN
|
|
bool
|
|
select IBEX
|
|
select UNIMP
|
|
|
|
config SHAKTI_C
|
|
bool
|
|
select UNIMP
|
|
select SHAKTI_UART
|
|
select RISCV_ACLINT
|
|
select SIFIVE_PLIC
|
|
|
|
config RISCV_VIRT
|
|
bool
|
|
imply PCI_DEVICES
|
|
imply VIRTIO_VGA
|
|
imply TEST_DEVICES
|
|
select RISCV_NUMA
|
|
select GOLDFISH_RTC
|
|
select MSI_NONBROKEN
|
|
select PCI
|
|
select PCI_EXPRESS_GENERIC_BRIDGE
|
|
select PFLASH_CFI01
|
|
select SERIAL
|
|
select RISCV_ACLINT
|
|
select RISCV_APLIC
|
|
select RISCV_IMSIC
|
|
select SIFIVE_PLIC
|
|
select SIFIVE_TEST
|
|
select VIRTIO_MMIO
|
|
select FW_CFG_DMA
|
|
|
|
config SIFIVE_E
|
|
bool
|
|
select MSI_NONBROKEN
|
|
select RISCV_ACLINT
|
|
select SIFIVE_GPIO
|
|
select SIFIVE_PLIC
|
|
select SIFIVE_UART
|
|
select SIFIVE_E_PRCI
|
|
select UNIMP
|
|
|
|
config SIFIVE_U
|
|
bool
|
|
select CADENCE
|
|
select MSI_NONBROKEN
|
|
select RISCV_ACLINT
|
|
select SIFIVE_GPIO
|
|
select SIFIVE_PDMA
|
|
select SIFIVE_PLIC
|
|
select SIFIVE_SPI
|
|
select SIFIVE_UART
|
|
select SIFIVE_U_OTP
|
|
select SIFIVE_U_PRCI
|
|
select SIFIVE_PWM
|
|
select SSI_M25P80
|
|
select SSI_SD
|
|
select UNIMP
|
|
|
|
config SPIKE
|
|
bool
|
|
select RISCV_NUMA
|
|
select HTIF
|
|
select MSI_NONBROKEN
|
|
select RISCV_ACLINT
|
|
select SIFIVE_PLIC
|