summaryrefslogtreecommitdiffstats
path: root/virt/kvm/coalesced_mmio.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-07-15 13:43:34 +0200
committerMarc Zyngier <marc.zyngier@arm.com>2016-07-18 19:14:37 +0200
commit33d3bc9556a7dda5bba2cb6b2d08ae4841ae423e (patch)
tree5d006445d90840429e51c930e94689d521a4d228 /virt/kvm/coalesced_mmio.c
parentKVM: arm64: vgic-its: Connect LPIs to the VGIC emulation (diff)
downloadlinux-33d3bc9556a7dda5bba2cb6b2d08ae4841ae423e.tar.xz
linux-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 'virt/kvm/coalesced_mmio.c')
0 files changed, 0 insertions, 0 deletions