]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Drop useless PAN setting on host EL1 to EL2 transition
authorMarc Zyngier <maz@kernel.org>
Mon, 26 Oct 2020 09:51:11 +0000 (09:51 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 29 Oct 2020 19:49:03 +0000 (19:49 +0000)
commitbba27a3a13ed3a2417bbfd205604cf15df9d2a9d
treef9abcc688110e6df6f5ff239e14447afb41968da
parent24a63c3732450b78f8575e28c083f563f69b58b0
KVM: arm64: Drop useless PAN setting on host EL1 to EL2 transition

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 <maz@kernel.org>
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
Link: https://lore.kernel.org/r/20201026095116.72051-4-maz@kernel.org
arch/arm64/kvm/hyp/nvhe/host.S