]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RISC-V: KVM: Don't setup SGEI for zero guest external interrupts
authorAnup Patel <apatel@ventanamicro.com>
Sun, 20 Oct 2024 19:47:27 +0000 (01:17 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 28 Oct 2024 11:13:53 +0000 (16:43 +0530)
commit15ff2ff3c3b99f986fde919dffab27007bbe35ed
tree0df89f563c5665983703600a510da77e6bd0a7a1
parent5d8f7ee9286e981449416ce20bba6546995f585a
RISC-V: KVM: Don't setup SGEI for zero guest external interrupts

No need to setup SGEI local interrupt when there are zero guest
external interrupts (i.e. zero HW IMSIC guest files).

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20241020194734.58686-7-apatel@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kvm/aia.c