diff options
author | Andre Przywara <andre.przywara@arm.com> | 2016-07-15 12:43:34 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-07-18 18:14:37 +0100 |
commit | 33d3bc9556a7dda5bba2cb6b2d08ae4841ae423e (patch) | |
tree | 5d006445d90840429e51c930e94689d521a4d228 /lib/842 | |
parent | 3802411d01880c4283426d22653e011159b1c947 (diff) | |
download | linux-stable-33d3bc9556a7dda5bba2cb6b2d08ae4841ae423e.tar.gz linux-stable-33d3bc9556a7dda5bba2cb6b2d08ae4841ae423e.tar.bz2 linux-stable-33d3bc9556a7dda5bba2cb6b2d08ae4841ae423e.zip |
KVM: arm64: vgic-its: Read initial LPI pending table
The LPI pending status for a GICv3 redistributor is held in a table
in (guest) memory. To achieve reasonable performance, we cache the
pending bit in our struct vgic_irq. The initial pending state must be
read from guest memory upon enabling LPIs for this redistributor.
As we can't access the guest memory while we hold the lpi_list spinlock,
we create a snapshot of the LPI list and iterate over that.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'lib/842')
0 files changed, 0 insertions, 0 deletions