linux/arch/loongarch/kvm
Bibo Mao 6bcfb7f46d LoongArch: KVM: Fix base address calculation in kvm_eiointc_regs_access()
In function kvm_eiointc_regs_access(), the register base address is
caculated from array base address plus offset, the offset is absolute
value from the base address. The data type of array base address is
u64, it should be converted into the "void *" type and then plus the
offset.

Cc: <stable@vger.kernel.org>
Fixes: d3e43a1f34 ("LoongArch: KVM: Use 64-bit register definition for EIOINTC").
Reported-by: Aurelien Jarno <aurel32@debian.org>
Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1131431
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2026-03-26 14:29:09 +08:00
..
intc LoongArch: KVM: Fix base address calculation in kvm_eiointc_regs_access() 2026-03-26 14:29:09 +08:00
Kconfig KVM: remove CONFIG_KVM_GENERIC_MMU_NOTIFIER 2026-02-28 15:31:35 +01:00
Makefile Fix mis-uses of 'cc-option' for warning disablement 2025-04-23 10:08:29 -07:00
exit.c LoongArch: KVM: Add FPU/LBT delay load support 2026-02-06 09:28:00 +08:00
interrupt.c LoongArch: KVM: Check VM msgint feature during interrupt handling 2026-02-06 09:27:46 +08:00
irqfd.c LoongArch: KVM: Add irqfd support 2024-11-13 16:18:27 +08:00
main.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mmu.c LoongArch: KVM: Set page with write attribute if dirty track disabled 2025-11-10 08:37:07 +08:00
switch.S LoongArch: KVM: Remove PGD saving during VM context switch 2025-03-18 16:48:08 +08:00
timer.c LoongArch: KVM: Add delay until timer interrupt injected 2025-11-10 08:37:07 +08:00
tlb.c LoongArch: KVM: Delay secondary mmu tlb flush until guest entry 2024-07-09 16:25:50 +08:00
trace.h LoongArch: KVM: Move kvm_iocsr tracepoint out of generic code 2025-09-23 23:37:26 +08:00
vcpu.c LoongArch: KVM: Make kvm_get_vcpu_by_cpuid() more robust 2026-03-26 14:29:09 +08:00
vm.c LoongArch: KVM: Fix typo issue in kvm_vm_init_features() 2026-03-16 10:36:02 +08:00