linux/arch/loongarch
Zeng Chi aeded601d6 LoongArch: KVM: Add missing slots_lock for device register/unregister
kvm_io_bus_register_dev() and kvm_io_bus_unregister_dev() should be
called under kvm->slots_lock. The unregister calls in ipi.c, eiointc.c
and pch_pic.c were also missing this protection. Add it to match the
register side.

Cc: stable@vger.kernel.org
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Zeng Chi <zengchi@kylinos.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2026-06-11 20:46:44 +08:00
..
boot LoongArch: Adjust build infrastructure for 32BIT/64BIT 2026-04-22 15:44:26 +08:00
configs Networking changes for 7.1. 2026-04-14 18:36:10 -07:00
crypto loongarch/crc32: expose CRC32 functions through lib 2024-12-01 17:23:01 -08:00
include LoongArch: KVM: Use existing macro about interrupt bit mask 2026-06-11 20:46:40 +08:00
kernel LoongArch: kprobes: Fix handling of fatal unrecoverable recursions 2026-05-22 15:05:07 +08:00
kvm LoongArch: KVM: Add missing slots_lock for device register/unregister 2026-06-11 20:46:44 +08:00
lib LoongArch changes for v7.1 2026-04-24 09:54:45 -07:00
mm LoongArch: Remove unused code to avoid build warning 2026-05-21 20:58:40 +08:00
net LoongArch changes for v7.1 2026-04-24 09:54:45 -07:00
pci LoongArch: Fix potential ADE in loongson_gpu_fixup_dma_hang() 2026-05-04 09:00:20 +08:00
power LoongArch: Adjust misc routines for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
vdso LoongArch: Specify -m32/-m64 explicitly for 32BIT/64BIT 2026-05-04 09:00:01 +08:00
Kbuild LoongArch: KVM: Compile switch.S directly into the kernel 2026-05-04 09:00:37 +08:00
Kconfig LoongArch: Make CONFIG_64BIT as the default option 2026-05-04 09:00:00 +08:00
Kconfig.debug LoongArch: Only allow OBJTOOL & ORC unwinder if toolchain supports -mthin-add-sub 2024-06-21 10:18:40 +08:00
Makefile LoongArch: Specify -m32/-m64 explicitly for 32BIT/64BIT 2026-05-04 09:00:01 +08:00