Re: [PATCH 3/8] KVM: arm64: Drop useless PAN setting on host EL1 to EL2 transition

2020-10-26 Thread Vladimir Murzin
On 10/26/20 9:51 AM, Marc Zyngier wrote: > Setting PSTATE.PAN when entering EL2 on nVHE doesn't make much > sense as this bit only means something for translation regimes > that include EL0. This obviously isn't the case in the nVHE case, > so let's drop this setting. > > Signed-off-by: Marc Zyngi

[PATCH 3/8] KVM: arm64: Drop useless PAN setting on host EL1 to EL2 transition

2020-10-26 Thread Marc Zyngier
Setting PSTATE.PAN when entering EL2 on nVHE doesn't make much sense as this bit only means something for translation regimes that include EL0. This obviously isn't the case in the nVHE case, so let's drop this setting. Signed-off-by: Marc Zyngier --- arch/arm64/kvm/hyp/nvhe/host.S | 2 -- 1 fil