]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: arm/arm64: Revisit Redistributor TYPER last bit computation
authorEric Auger <eric.auger@redhat.com>
Tue, 22 May 2018 07:55:10 +0000 (09:55 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 25 May 2018 11:29:26 +0000 (12:29 +0100)
commitba7b3f1275fdd1a4059d25db0e248f05f72b9113
tree9a0b013afa3146f26b124c08df87f01ff8806ffa
parentdc524619369c320e057cb198bbca017f3a0bb69a
KVM: arm/arm64: Revisit Redistributor TYPER last bit computation

The TYPER of an redistributor reflects whether the rdist is
the last one of the redistributor region. Let's compare the TYPER
GPA against the address of the last occupied slot within the
redistributor region.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic-mmio-v3.c