mbox series

[0/4] riscv: AIA: refinement for KVM acceleration

Message ID 20250217081927.10613-1-yongxuan.wang@sifive.com (mailing list archive)
Headers show
Series riscv: AIA: refinement for KVM acceleration | expand

Message

Yong-Xuan Wang Feb. 17, 2025, 8:19 a.m. UTC
Reorder the code to reduce the conditional checking and remove
unnecessary resource setting when using in-kernl AIA irqchip.

Yong-Xuan Wang (4):
  hw/riscv/virt: KVM AIA refinement
  hw/intc/imsic: refine the IMSIC realize
  hw/intc/aplic: refine the APLIC realize
  hw/intc/aplic: refine kvm_msicfgaddr

 hw/intc/riscv_aplic.c | 73 ++++++++++++++++++++-------------------
 hw/intc/riscv_imsic.c | 47 +++++++++++++------------
 hw/riscv/virt.c       | 79 ++++++++++++++++++++-----------------------
 3 files changed, 102 insertions(+), 97 deletions(-)