mbox series

[for-10.0,v2,0/8] riscv: AIA userspace irqchip_split support

Message ID 20241119191706.718860-1-dbarboza@ventanamicro.com (mailing list archive)
Headers show
Series riscv: AIA userspace irqchip_split support | expand

Message

Daniel Henrique Barboza Nov. 19, 2024, 7:16 p.m. UTC
Hi,

This second version was rebased with 'master'. Alistair's acks were
included.

No other changes were made. All patches acked/reviewed.

Changes from v1:
- rebased with master @ af4c4fd128
- v1 link: https://lore.kernel.org/qemu-riscv/20241010190337.376987-1-dbarboza@ventanamicro.com/


Daniel Henrique Barboza (8):
  hw/intc/riscv_aplic: rename is_kvm_aia()
  hw/riscv/virt.c: reduce virt_use_kvm_aia() usage
  hw/riscv/virt.c: rename helper to virt_use_kvm_aia_aplic_imsic()
  target/riscv/kvm: consider irqchip_split() in aia_create()
  hw/riscv/virt.c, riscv_aplic.c: add 'emulated_aplic' helpers
  hw/intc/riscv_aplic: add kvm_msicfgaddr for split mode aplic-imsic
  target/riscv/kvm: remove irqchip_split() restriction
  docs: update riscv/virt.rst with kernel-irqchip=split support

 docs/specs/index.rst          |  1 +
 docs/specs/riscv-aia.rst      | 83 +++++++++++++++++++++++++++++++++++
 docs/system/riscv/virt.rst    |  7 +++
 hw/intc/riscv_aplic.c         | 68 ++++++++++++++++++++++------
 hw/riscv/virt.c               | 38 +++++++++++-----
 include/hw/intc/riscv_aplic.h |  8 ++++
 target/riscv/kvm/kvm-cpu.c    | 43 +++++++++---------
 7 files changed, 203 insertions(+), 45 deletions(-)
 create mode 100644 docs/specs/riscv-aia.rst