Reorder the code to reduce the conditional checking and remove
unnecessary resource setting when using in-kernl AIA irqchip.

---
v2:
- remove the code reordering of the riscv-virt machine since it can't
  work with NUMA setting. (Daniel)

Yong-Xuan Wang (3):
  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 +++++++++++++++-------------
 2 files changed, 65 insertions(+), 55 deletions(-)

-- 
2.17.1


Reply via email to