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:
@@ -239,9 +239,6 @@ void free_hyp_pgds(void)
|
|||||||
|
|
||||||
static bool kvm_host_owns_hyp_mappings(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))
|
if (static_branch_likely(&kvm_protected_mode_initialized))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user