diff options
author | Marc Zyngier <maz@kernel.org> | 2023-12-07 15:11:59 +0000 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2023-12-12 07:11:38 +0000 |
commit | 02e3858f08faabab9503ae2911cf7c7e27702257 (patch) | |
tree | f314b7f0b0b0785531c9ed54cdd3f59b7b7bb4e7 /lib/crypto/mpi/mpicoder.c | |
parent | d26b9cb33c2d1ba68d1f26bb06c40300f16a3799 (diff) |
KVM: arm64: vgic: Force vcpu vgic teardown on vcpu destroy
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>
Diffstat (limited to 'lib/crypto/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions