qemu/hw/riscv
Anup Patel 28d8c28120 hw/riscv: virt: Add optional AIA IMSIC support to virt machine
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>
2022-03-03 13:14:50 +10:00
..
boot.c target/riscv: Support start kernel directly by KVM 2022-01-21 15:52:56 +10:00
Kconfig hw/riscv: virt: Add optional AIA IMSIC support to virt machine 2022-03-03 13:14:50 +10:00
meson.build hw/riscv/Kconfig: Restrict NUMA to Virt & Spike machines 2021-07-20 15:32:49 +02:00
microchip_pfsoc.c hw/riscv: Use error_fatal for SoC realisation 2022-01-08 15:46:09 +10:00
numa.c hw: Do not include qemu/log.h if it is not necessary 2021-05-02 17:24:50 +02:00
opentitan.c riscv: opentitan: fixup plic stride len 2022-01-21 15:52:56 +10:00
riscv_hart.c hw/riscv: hart: Add a new 'resetvec' property 2020-09-09 15:54:18 -07:00
shakti_c.c hw/riscv: shakti_c: Use MachineState::ram and MachineClass::default_ram_id 2021-10-22 23:35:47 +10:00
sifive_e.c hw/riscv: Use error_fatal for SoC realisation 2022-01-08 15:46:09 +10:00
sifive_u.c hw/riscv: Use error_fatal for SoC realisation 2022-01-08 15:46:09 +10:00
spike.c hw/riscv: Remove macros for ELF BIOS image names 2022-01-21 15:52:57 +10:00
virt.c hw/riscv: virt: Add optional AIA IMSIC support to virt machine 2022-03-03 13:14:50 +10:00