Re: [PATCH 1/4] arm64: KVM: Add support for Stage-2 control of memory types and cacheability

2018-05-24 Thread Catalin Marinas
On Thu, May 17, 2018 at 11:35:45AM +0100, Marc Zyngier wrote: > Up to ARMv8.3, the combinaison of Stage-1 and Stage-2 attributes > results in the strongest attribute of the two stages. This means > that the hypervisor has to perform quite a lot of cache maintenance > just in case the guest has som

[PATCH 1/4] arm64: KVM: Add support for Stage-2 control of memory types and cacheability

2018-05-17 Thread Marc Zyngier
Up to ARMv8.3, the combinaison of Stage-1 and Stage-2 attributes results in the strongest attribute of the two stages. This means that the hypervisor has to perform quite a lot of cache maintenance just in case the guest has some non-cacheable mappings around. ARMv8.4 solves this problem by offer