Re: [PATCH 5/8] hw/riscv/virt.c, riscv_aplic.c: add 'emulated_aplic' helpers

2024-11-17 Thread Alistair Francis
On Fri, Oct 11, 2024 at 5:05 AM Daniel Henrique Barboza wrote: > > The current logic to determine if we don't need an emulated APLIC > controller, i.e. KVM will provide for us, is to determine if we're > running KVM, with in-kernel irqchip support, and running > aia=aplic-imsic. This is modelled b

[PATCH 5/8] hw/riscv/virt.c, riscv_aplic.c: add 'emulated_aplic' helpers

2024-10-10 Thread Daniel Henrique Barboza
The current logic to determine if we don't need an emulated APLIC controller, i.e. KVM will provide for us, is to determine if we're running KVM, with in-kernel irqchip support, and running aia=aplic-imsic. This is modelled by riscv_is_kvm_aia_aplic_imsic() and virt_use_kvm_aia_aplic_imsic(). This