Searched hist:ce92ef76 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/x86/kvm/mmu/ |
H A D | spte.c | ce92ef76 Wed Nov 17 20:08:42 CST 2021 Sean Christopherson <seanjc@google.com> KVM: x86/mmu: Use shadow page role to detect PML-unfriendly pages for L2
Rework make_spte() to query the shadow page's role, specifically whether or not it's a guest_mode page, a.k.a. a page for L2, when determining if the SPTE is compatible with PML. This eliminates a dependency on @vcpu, with a future goal of being able to create SPTEs without a specific vCPU.
Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
H A D | mmu_internal.h | ce92ef76 Wed Nov 17 20:08:42 CST 2021 Sean Christopherson <seanjc@google.com> KVM: x86/mmu: Use shadow page role to detect PML-unfriendly pages for L2
Rework make_spte() to query the shadow page's role, specifically whether or not it's a guest_mode page, a.k.a. a page for L2, when determining if the SPTE is compatible with PML. This eliminates a dependency on @vcpu, with a future goal of being able to create SPTEs without a specific vCPU.
Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|