Revert "FROMLIST: KVM: arm64: Check if running in VHE from kvm_host_owns_hyp_mappings()"

This reverts commit 0ebed5c7ab.

Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I1f8355defaded5113c673aa8e0e83b9664d4ef18
This commit is contained in:
Will Deacon
2022-07-07 15:52:08 +01:00
parent fae455e8a8
commit dc9a1fcadb

View File

@@ -239,9 +239,6 @@ void free_hyp_pgds(void)
static bool kvm_host_owns_hyp_mappings(void)
{
if (is_kernel_in_hyp_mode())
return false;
if (static_branch_likely(&kvm_protected_mode_initialized))
return false;