]> git.ipfire.org Git - people/arne_f/kernel.git/commit
KVM: arm64: vgic-its: Allow updates of LPI configuration table
authorAndre Przywara <andre.przywara@arm.com>
Fri, 15 Jul 2016 11:43:35 +0000 (12:43 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 18 Jul 2016 17:14:37 +0000 (18:14 +0100)
commitf9f77af9e2a551ac34eb0eb40630d91d6dbd4295
treef514b091abf3c9b13dcbb3a9c0e32fded2f0c843
parent33d3bc9556a7dda5bba2cb6b2d08ae4841ae423e
KVM: arm64: vgic-its: Allow updates of LPI configuration table

The (system-wide) LPI configuration table is held in a table in
(guest) memory. To achieve reasonable performance, we cache this data
in our struct vgic_irq. If the guest updates the configuration data
(which consists of the enable bit and the priority value), it issues
an INV or INVALL command to allow us to update our information.
Provide functions that update that information for one LPI or all LPIs
mapped to a specific collection.

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>
virt/kvm/arm/vgic/vgic-its.c