diff options
author | Yong-Xuan Wang <yongxuan.wang@sifive.com> | 2023-07-27 10:24:36 +0000 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-09-11 11:45:55 +1000 |
commit | 95a97b3fd25ee1c73a6bbfe0d47ac31864a95a4c (patch) | |
tree | 85a36091eed846591e76d0d8365d99a441d65fe4 /hw/net/virtio-net.c | |
parent | 9634ef7eda5f5b57f03924351a213b776f6b8a23 (diff) | |
download | qemu-95a97b3fd25ee1c73a6bbfe0d47ac31864a95a4c.zip qemu-95a97b3fd25ee1c73a6bbfe0d47ac31864a95a4c.tar.gz qemu-95a97b3fd25ee1c73a6bbfe0d47ac31864a95a4c.tar.bz2 |
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/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions