Revert "ANDROID: KVM: arm64: Plumb MMIO checking into the fault handling"

This reverts commit 24483ac2db.

Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ic8ae32142b60443fe53a12bf9b62278bc5e11ef1
This commit is contained in:
Will Deacon
2022-07-07 15:51:15 +01:00
parent 4dc8c78676
commit 751dadca33

View File

@@ -329,7 +329,8 @@ static void handle_pvm_exit_iabt(struct kvm_vcpu *host_vcpu, struct kvm_vcpu *sh
static void handle_pvm_exit_dabt(struct kvm_vcpu *host_vcpu, struct kvm_vcpu *shadow_vcpu)
{
shadow_vcpu->mmio_needed = __pkvm_check_ioguard_page(shadow_vcpu);
/* FIXME: Revisit once MMIO-guard is available */
shadow_vcpu->mmio_needed = true;
if (shadow_vcpu->mmio_needed) {
/* r0 as transfer register between the guest and the host. */