Home
last modified time | relevance | path

Searched hist:"961 f84457cd4e2fc479e59d015f1d292ec30373b" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/x86/kvm/mmu/
H A Dspte.hdiff 961f84457cd4e2fc479e59d015f1d292ec30373b Tue Jun 22 19:57:32 CEST 2021 Sean Christopherson <seanjc@google.com> KVM: x86/mmu: Add helpers to do full reserved SPTE checks w/ generic MMU

Extract the reserved SPTE check and print helpers in get_mmio_spte() to
new helpers so that KVM can also WARN on reserved badness when making a
SPTE.

Tag the checking helper with __always_inline to improve the probability
of the compiler generating optimal code for the checking loop, e.g. gcc
appears to avoid using %rbp when the helper is tagged with a vanilla
"inline".

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-48-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>