kernel-fxtec-pro1x/virt/kvm/arm/vgic
Eric Auger 092c84fdac KVM: arm/arm64: vgic-its: Fix restoration of unmapped collections
commit 8c58be34494b7f1b2adb446e2d8beeb90e5de65b upstream.

Saving/restoring an unmapped collection is a valid scenario. For
example this happens if a MAPTI command was sent, featuring an
unmapped collection. At the moment the CTE fails to be restored.
Only compare against the number of online vcpus if the rdist
base is set.

Fixes: ea1ad53e1e ("KVM: arm64: vgic-its: Collection table save/restore")
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Link: https://lore.kernel.org/r/20191213094237.19627-1-eric.auger@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-14 16:33:26 -05:00
..
trace.h
vgic-debug.c
vgic-init.c KVM: arm/arm64: VGIC: Properly initialise private IRQ affinity 2019-09-10 10:33:53 +01:00
vgic-irqfd.c
vgic-its.c KVM: arm/arm64: vgic-its: Fix restoration of unmapped collections 2020-02-14 16:33:26 -05:00
vgic-kvm-device.c
vgic-mmio-v2.c
vgic-mmio-v3.c
vgic-mmio.c KVM: arm/arm64: vgic-v2: Handle SGI bits in GICD_I{S,C}PENDR0 as WI 2019-09-06 10:22:22 +02:00
vgic-mmio.h
vgic-v2.c KVM: arm/arm64: vgic-v2: Handle SGI bits in GICD_I{S,C}PENDR0 as WI 2019-09-06 10:22:22 +02:00
vgic-v3.c KVM: arm/arm64: vgic: Don't rely on the wrong pending table 2019-12-13 08:52:45 +01:00
vgic-v4.c
vgic.c KVM: arm/arm64: vgic: Fix potential deadlock when ap_list is long 2019-09-06 10:22:22 +02:00
vgic.h KVM: arm/arm64: Sync ICH_VMCR_EL2 back when about to block 2019-08-25 10:47:59 +02:00