riscv: Use AIA in-kernel irqchip whenever KVM RISC-V supports

The KVM RISC-V kernel module supports AIA in-kernel irqchip when
underlying host has AIA support. We detect and use AIA in-kernel
irqchip whenever possible otherwise we fallback to PLIC emulated
in user-space.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20231118132847.758785-6-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>
5 files changed