]> git.baikalelectronics.ru Git - kernel.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>
Mon, 15 Mar 2021 08:43:42 +0000 (04:43 -0400)
commitf0bf9a350a2df8ad093972a5265bfcab446827ad
treec09dc8c2e318e64aca42e80ec82824aa02f7eb22
parent59f1da027f76cac76b468f72659c611b66bc67d3
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