KVM: arm64: Remove redundant hyp_assert_lock_held() assertions
authorWill Deacon <will@kernel.org>
Thu, 9 Jun 2022 12:12:22 +0000 (13:12 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 9 Jun 2022 12:24:02 +0000 (13:24 +0100)
commit5879c97f37022ff22a3f13174c24fcf2807fdbc0
treea19344d75408060d9e08907cbb58b9c31fe169de
parent112f3bab41113dc53b4f35e9034b2208245bc002
KVM: arm64: Remove redundant hyp_assert_lock_held() assertions

host_stage2_try() asserts that the KVM host lock is held, so there's no
need to duplicate the assertion in its wrappers.

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220609121223.2551-6-will@kernel.org
arch/arm64/kvm/hyp/nvhe/mem_protect.c