linux/arch/arm64/kvm/vgic
Eric Auger 8542a8f95a KVM: arm64: vgic-v3: Fix error handling in vgic_v3_set_redist_base()
vgic_v3_insert_redist_region() may succeed while
vgic_register_all_redist_iodevs fails. For example this happens
while adding a redistributor region overlapping a dist region. The
failure only is detected on vgic_register_all_redist_iodevs when
vgic_v3_check_base() gets called in vgic_register_redist_iodev().

In such a case, remove the newly added redistributor region and free
it.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210405163941.510258-4-eric.auger@redhat.com
2021-04-06 14:51:37 +01:00
..
trace.h
vgic-debug.c KVM: arm64: vgic-debug: Convert to use DEFINE_SEQ_ATTRIBUTE macro 2020-09-18 16:17:27 +01:00
vgic-init.c KVM: arm64: Consolidate dist->ready setting into kvm_vgic_map_resources() 2020-12-27 14:39:14 +00:00
vgic-irqfd.c KVM: arm64: Allow in-atomic injection of SPIs 2020-07-05 17:26:15 +01:00
vgic-its.c KVM: arm64: Allow in-atomic injection of SPIs 2020-07-05 17:26:15 +01:00
vgic-kvm-device.c KVM: arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION read 2021-04-06 14:51:37 +01:00
vgic-mmio-v2.c
vgic-mmio-v3.c KVM: arm64: vgic-v3: Fix error handling in vgic_v3_set_redist_base() 2021-04-06 14:51:37 +01:00
vgic-mmio.c
vgic-mmio.h
vgic-v2.c KVM: arm64: Consolidate dist->ready setting into kvm_vgic_map_resources() 2020-12-27 14:39:14 +00:00
vgic-v3.c KVM: arm64: Workaround firmware wrongly advertising GICv2-on-v3 compatibility 2021-03-06 04:18:41 -05:00
vgic-v4.c KVM: arm64: Delay the polling of the GICR_VPENDBASER.Dirty bit 2020-11-30 11:18:29 +00:00
vgic.c KVM: arm64: Delay the polling of the GICR_VPENDBASER.Dirty bit 2020-11-30 11:18:29 +00:00
vgic.h