Revert "ANDROID: KVM: arm64: Explicitely map kvm_vgic_global_state at EL2"

This reverts commit fa96b5be92.

Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I669c57a28410308ed0f17d553e8564c6121da56e
This commit is contained in:
Will Deacon
2022-07-07 15:48:56 +01:00
parent 85cb45425f
commit 14d38827ac

View File

@@ -150,10 +150,6 @@ static int recreate_hyp_mappings(phys_addr_t phys, unsigned long size,
if (ret)
return ret;
ret = pkvm_create_mappings(&kvm_vgic_global_state, &kvm_vgic_global_state + 1, prot);
if (ret)
return ret;
start = hyp_phys_to_virt(pvmfw_base);
end = start + pvmfw_size;
prot = pkvm_mkstate(PAGE_HYP, PKVM_PAGE_OWNED);