summaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/vgic/vgic-mmio.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-05-25 15:26:39 +0100
committerChristoffer Dall <christoffer.dall@linaro.org>2016-05-31 16:12:17 +0200
commitc58513284029229842844929ddeaca44d013c128 (patch)
tree53e3161cbce9a94a724f9e9825350006a1c612a1 /virt/kvm/arm/vgic/vgic-mmio.c
parenta057001e9e446f2195c34bc55c57e5cf353c99d6 (diff)
downloadtalos-obmc-linux-c58513284029229842844929ddeaca44d013c128.tar.gz
talos-obmc-linux-c58513284029229842844929ddeaca44d013c128.zip
arm64: KVM: vgic-v3: Relax synchronization when SRE==1
The GICv3 backend of the vgic is quite barrier heavy, in order to ensure synchronization of the system registers and the memory mapped view for a potential GICv2 guest. But when the guest is using a GICv3 model, there is absolutely no need to execute all these heavy barriers, and it is actually beneficial to avoid them altogether. This patch makes the synchonization conditional, and ensures that we do not change the EL1 SRE settings if we do not need to. Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-mmio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud