OSDN Git Service

target/riscv: support the AIA device emulation with KVM enabled
authorYong-Xuan Wang <yongxuan.wang@sifive.com>
Thu, 27 Jul 2023 10:24:33 +0000 (10:24 +0000)
committerAlistair Francis <alistair.francis@wdc.com>
Mon, 11 Sep 2023 01:45:55 +0000 (11:45 +1000)
commit59a07d3c619bec722e8522be2c26f892fbf0cbd4
tree669cbd3a55e9a7f3922ebe0f234df28358d2a9da
parentae7d4d625cab49657b9fc2be09d895afb9bcdaf0
target/riscv: support the AIA device emulation with KVM enabled

In this patch, we create the APLIC and IMSIC FDT helper functions and
remove M mode AIA devices when using KVM acceleration.

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-2-yongxuan.wang@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/virt.c