aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2023-11-18 18:58:46 +0530
committerWill Deacon <will@kernel.org>2023-11-21 15:33:08 +0000
commit328f0879eeaee9ac167e3d00e4a9b5553e99d2f9 (patch)
tree413ec7367e7165ce82c4144b67c6296f0328868e /Makefile
parent17aab306ad146d051646953e24ff044d830617e7 (diff)
downloadkvmtool-328f0879eeaee9ac167e3d00e4a9b5553e99d2f9.tar.gz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e711670d..acd5ffd4 100644
--- a/Makefile
+++ b/Makefile
@@ -220,6 +220,7 @@ ifeq ($(ARCH),riscv)
OBJS += riscv/kvm-cpu.o
OBJS += riscv/pci.o
OBJS += riscv/plic.o
+ OBJS += riscv/aia.o
ifeq ($(RISCV_XLEN),32)
CFLAGS += -mabi=ilp32d -march=rv32gc
endif