]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Remove leftover kern_hyp_va() in nVHE TLB invalidation
authorMarc Zyngier <maz@kernel.org>
Mon, 26 Oct 2020 09:51:10 +0000 (09:51 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 29 Oct 2020 19:49:03 +0000 (19:49 +0000)
commite661b870796749e0ffd7192d7e2fd750371b6d5d
tree31fc39e5c7aedddc9278d606309d1fb0576a6956
parent62b8c2df4cafb54b8e667926f58b363638f3f804
KVM: arm64: Remove leftover kern_hyp_va() in nVHE TLB invalidation

The new calling convention says that pointers coming from the SMCCC
interface are turned into their HYP version in the host HVC handler.
However, there is still a stray kern_hyp_va() in the TLB invalidation
code, which could result in a corrupted pointer.

Drop the spurious conversion.

Fixes: 6620819fb8d9 ("KVM: arm64: nVHE: Fix pointers during SMCCC convertion")
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201026095116.72051-3-maz@kernel.org
arch/arm64/kvm/hyp/nvhe/tlb.c