linux/arch/arm64
Marc Zyngier e13ce009ec KVM: arm64: vgic: Force vcpu vgic teardown on vcpu destroy
commit 02e3858f08 upstream.

When failing to create a vcpu because (for example) it has a
duplicate vcpu_id, we destroy the vcpu. Amusingly, this leaves
the redistributor registered with the KVM_MMIO bus.

This is no good, and we should properly clean the mess. Force
a teardown of the vgic vcpu interface, including the RD device
before returning to the caller.

Cc: stable@vger.kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231207151201.3028710-4-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-01 12:42:46 +00:00
..
boot arm64: dts: allwinner: h616: update emac for Orange Pi Zero 3 2024-01-01 12:42:25 +00:00
configs arm64: defconfig: enable syscon-poweroff driver 2023-09-28 09:17:05 +02:00
crypto crypto: arm64/aes - remove Makefile hack 2023-08-11 19:19:27 +08:00
hyperv
include arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify 2023-12-20 17:02:01 +01:00
kernel arm64: module: Fix PLT counting when CONFIG_RANDOMIZE_BASE=n 2023-11-28 17:20:00 +00:00
kvm KVM: arm64: vgic: Force vcpu vgic teardown on vcpu destroy 2024-01-01 12:42:46 +00:00
lib arm64 fixes for -rc1 2023-09-08 12:48:37 -07:00
mm arm64: mm: Fix "rodata=on" when CONFIG_RODATA_FULL_DEFAULT_ENABLED=y 2023-12-03 07:33:05 +01:00
net bpf, arm64: Support signed div/mod instructions 2023-08-18 15:46:35 +02:00
tools arm64: errata: Add Cortex-A520 speculative unprivileged load workaround 2023-09-29 16:31:33 +01:00
xen
Kbuild
Kconfig arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer 2023-11-28 17:20:00 +00:00
Kconfig.debug
Kconfig.platforms
Makefile arm64: add dependency between vmlinuz.efi and Image 2023-12-20 17:02:00 +01:00