Re: [PATCH 20/24] KVM: x86/mmu: Use a dedicated bit to track shadow/MMU-present SPTEs

2021-03-08 Thread Sean Christopherson
On Mon, Mar 08, 2021, Sean Christopherson wrote: > On Mon, Mar 08, 2021, Tom Lendacky wrote: > > On the hypervisor, I see the following: > > > > [ 55.886136] get_mmio_spte: detect reserved bits on spte, addr > > 0xffc12792, dump hierarchy: > > [ 55.895284] -- spte 0x1344a0827 level 4. >

Re: [PATCH 20/24] KVM: x86/mmu: Use a dedicated bit to track shadow/MMU-present SPTEs

2021-03-08 Thread Sean Christopherson
On Mon, Mar 08, 2021, Tom Lendacky wrote: > On 2/25/21 2:47 PM, Sean Christopherson wrote: > > Introduce MMU_PRESENT to explicitly track which SPTEs are "present" from > > the MMU's perspective. Checking for shadow-present SPTEs is a very > > common operation for the MMU, particularly in hot

Re: [PATCH 20/24] KVM: x86/mmu: Use a dedicated bit to track shadow/MMU-present SPTEs

2021-03-08 Thread Paolo Bonzini
On 08/03/21 19:52, Tom Lendacky wrote: On 2/25/21 2:47 PM, Sean Christopherson wrote: Introduce MMU_PRESENT to explicitly track which SPTEs are "present" from the MMU's perspective. Checking for shadow-present SPTEs is a very common operation for the MMU, particularly in hot paths such as page

Re: [PATCH 20/24] KVM: x86/mmu: Use a dedicated bit to track shadow/MMU-present SPTEs

2021-03-08 Thread Tom Lendacky
On 2/25/21 2:47 PM, Sean Christopherson wrote: > Introduce MMU_PRESENT to explicitly track which SPTEs are "present" from > the MMU's perspective. Checking for shadow-present SPTEs is a very > common operation for the MMU, particularly in hot paths such as page > faults. With the addition of

[PATCH 20/24] KVM: x86/mmu: Use a dedicated bit to track shadow/MMU-present SPTEs

2021-02-25 Thread Sean Christopherson
Introduce MMU_PRESENT to explicitly track which SPTEs are "present" from the MMU's perspective. Checking for shadow-present SPTEs is a very common operation for the MMU, particularly in hot paths such as page faults. With the addition of "removed" SPTEs for the TDP MMU, identifying