diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-05-25 15:26:39 +0100 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2016-05-31 16:12:17 +0200 |
commit | c58513284029229842844929ddeaca44d013c128 (patch) | |
tree | 53e3161cbce9a94a724f9e9825350006a1c612a1 /virt | |
parent | a057001e9e446f2195c34bc55c57e5cf353c99d6 (diff) | |
download | linux-c58513284029229842844929ddeaca44d013c128.tar.gz linux-c58513284029229842844929ddeaca44d013c128.tar.bz2 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')
0 files changed, 0 insertions, 0 deletions