summary refs log tree commit diff stats
path: root/hw/intc/arm_gicv3_cpuif_common.c
diff options
context:
space:
mode:
authorYong-Xuan Wang <yongxuan.wang@sifive.com>2023-07-27 10:24:36 +0000
committerAlistair Francis <alistair.francis@wdc.com>2023-09-11 11:45:55 +1000
commit95a97b3fd25ee1c73a6bbfe0d47ac31864a95a4c (patch)
tree85a36091eed846591e76d0d8365d99a441d65fe4 /hw/intc/arm_gicv3_cpuif_common.c
parent9634ef7eda5f5b57f03924351a213b776f6b8a23 (diff)
downloadfocaccia-qemu-95a97b3fd25ee1c73a6bbfe0d47ac31864a95a4c.tar.gz
focaccia-qemu-95a97b3fd25ee1c73a6bbfe0d47ac31864a95a4c.zip
target/riscv: update APLIC and IMSIC to support KVM AIA
KVM AIA can't emulate APLIC only. When "aia=aplic" parameter is passed,
APLIC devices is emulated by QEMU. For "aia=aplic-imsic", remove the
mmio operations of APLIC when using KVM AIA and send wired interrupt
signal via KVM_IRQ_LINE API.
After KVM AIA enabled, MSI messages are delivered by KVM_SIGNAL_MSI API
when the IMSICs receive mmio write requests.

Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>
Reviewed-by: Jim Shu <jim.shu@sifive.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Message-ID: <20230727102439.22554-5-yongxuan.wang@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/intc/arm_gicv3_cpuif_common.c')
0 files changed, 0 insertions, 0 deletions