]> git.baikalelectronics.ru Git - kernel.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)
commit715347ab428d1261cd7f41e417d9a93828ab8482
tree9a0b013afa3146f26b124c08df87f01ff8806ffa
parent60bbb151c2eec58484f6e16fecee0b3b51575b56
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