]> www.infradead.org Git - users/dwmw2/linux.git/commit
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>
Fri, 26 Feb 2021 13:36:14 +0000 (08:36 -0500)
commit38e7b7a1c61bbea525f8dc25d3776b8c0dd2d1b5
tree621132d59f9711fffb7fc6460e847d08974376e5
parent48d94b10863f900345eee8578eca532ceea117df
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