diff options
author | Eric Auger <eric.auger@redhat.com> | 2019-12-13 10:42:37 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-01-19 16:05:11 +0000 |
commit | 8c58be34494b7f1b2adb446e2d8beeb90e5de65b (patch) | |
tree | 8cd692b2af40a9c26d69ec7d67b00e42800a8519 /drivers/clocksource/timer-digicolor.c | |
parent | b6ae256afd32f96bec0117175b329d0dd617655e (diff) |
KVM: arm/arm64: vgic-its: Fix restoration of unmapped collections
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: ea1ad53e1e31a ("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
Diffstat (limited to 'drivers/clocksource/timer-digicolor.c')
0 files changed, 0 insertions, 0 deletions