KVM: x86/mmu: Add module param to disable MMIO caching (for testing)
authorSean Christopherson <seanjc@google.com>
Thu, 25 Feb 2021 20:47:36 +0000 (12:47 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Mar 2021 08:43:42 +0000 (04:43 -0400)
commitb09763da4dd8434171c63b32e0b89cf3d689f4b9
treec09dc8c2e318e64aca42e80ec82824aa02f7eb22
parent8120337a4c5502118e255b170799040eefe2f280
KVM: x86/mmu: Add module param to disable MMIO caching (for testing)

Add a module param to disable MMIO caching so that it's possible to test
the related flows without access to the necessary hardware.  Using shadow
paging with 64-bit KVM and 52 bits of physical address space must disable
MMIO caching as there are no reserved bits to be had.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210225204749.1512652-12-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/spte.c