Re: Patch "KVM: Use gfn instead of hva for mmu_notifier_retry" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 24, 2024 at 03:12:49PM +0000, Sean Christopherson wrote:
> On Mon, Jun 24, 2024, Sasha Levin wrote:
> > This is a note to let you know that I've just added the patch titled
> > 
> >     KVM: Use gfn instead of hva for mmu_notifier_retry
> > 
> > to the 6.6-stable tree which can be found at:
> >     http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
> > 
> > The filename of the patch is:
> >      kvm-use-gfn-instead-of-hva-for-mmu_notifier_retry.patch
> > and it can be found in the queue-6.6 subdirectory.
> > 
> > If you, or anyone else, feels it should not be added to the stable tree,
> > please let <stable@xxxxxxxxxxxxxxx> know about it.
> > 
> > 
> > 
> > commit 68a14ccc3fb35047cc4900c8ddd4b6f959e25b77
> > Author: Chao Peng <chao.p.peng@xxxxxxxxxxxxxxx>
> > Date:   Fri Oct 27 11:21:45 2023 -0700
> > 
> >     KVM: Use gfn instead of hva for mmu_notifier_retry
> >     
> >     [ Upstream commit 8569992d64b8f750e34b7858eac5d7daaf0f80fd ]
> >     
> >     Currently in mmu_notifier invalidate path, hva range is recorded and then
> >     checked against by mmu_invalidate_retry_hva() in the page fault handling
> >     path. However, for the soon-to-be-introduced private memory, a page fault
> >     may not have a hva associated, checking gfn(gpa) makes more sense.
> >     
> >     For existing hva based shared memory, gfn is expected to also work. The
> >     only downside is when aliasing multiple gfns to a single hva, the
> >     current algorithm of checking multiple ranges could result in a much
> >     larger range being rejected. Such aliasing should be uncommon, so the
> >     impact is expected small.
> >     
> >     Suggested-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> >     Cc: Xu Yilun <yilun.xu@xxxxxxxxx>
> >     Signed-off-by: Chao Peng <chao.p.peng@xxxxxxxxxxxxxxx>
> >     Reviewed-by: Fuad Tabba <tabba@xxxxxxxxxx>
> >     Tested-by: Fuad Tabba <tabba@xxxxxxxxxx>
> >     [sean: convert vmx_set_apic_access_page_addr() to gfn-based API]
> >     Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> >     Reviewed-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> >     Reviewed-by: Xu Yilun <yilun.xu@xxxxxxxxxxxxxxx>
> >     Message-Id: <20231027182217.3615211-4-seanjc@xxxxxxxxxx>
> >     Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>
> >     Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> >     Stable-dep-of: c3f3edf73a8f ("KVM: Stop processing *all* memslots when "null" mmu_notifier handler is found")
> 
> Please drop this, and all other related patches.  This is not at all appropriate
> for stable trees.
> 
> I'm pretty sure your scripts are borked too, at least from KVM's perspective.  I
> specifically didn't tag c3f3edf73a8f for stable[*], and I thought we had agreed a
> while back that only KVM (x86?) fixes with an explicit "Cc: stable@" would be
> automatically included.
> 
> [*] https://lore.kernel.org/all/20240620230937.2214992-1-seanjc@xxxxxxxxxx

All now dropped, sorry about that.

greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux