[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c706666a-3ef1-d4dc-bb3b-054867a80490@redhat.com>
Date: Mon, 21 Dec 2020 19:26:53 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Sean Christopherson <seanjc@...gle.com>
Cc: Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, Ben Gardon <bgardon@...gle.com>,
Richard Herbert <rherbert@...patico.ca>
Subject: Re: [PATCH 0/4] KVM: x86/mmu: Bug fixes and cleanups in
get_mmio_spte()
On 18/12/20 01:31, Sean Christopherson wrote:
> Two fixes for bugs that were introduced along with the TDP MMU (though I
> strongly suspect only the one reported by Richard, fixed in patch 2/4, is
> hittable in practice). Two additional cleanup on top to try and make the
> code a bit more readable and shave a few cycles.
>
> Sean Christopherson (4):
> KVM: x86/mmu: Use -1 to flag an undefined spte in get_mmio_spte()
> KVM: x86/mmu: Get root level from walkers when retrieving MMIO SPTE
> KVM: x86/mmu: Use raw level to index into MMIO walks' sptes array
> KVM: x86/mmu: Optimize not-present/MMIO SPTE check in get_mmio_spte()
>
> arch/x86/kvm/mmu/mmu.c | 53 +++++++++++++++++++++-----------------
> arch/x86/kvm/mmu/tdp_mmu.c | 9 ++++---
> arch/x86/kvm/mmu/tdp_mmu.h | 4 ++-
> 3 files changed, 39 insertions(+), 27 deletions(-)
>
Queued, thanks (and thanks for Ccing stable on the first two already :)).
Paolo
Powered by blists - more mailing lists