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(-)

-- 
2.17.1


Reply via email to