On Thu, Sep 04, 2025 at 10:39:37PM -0700, Sean Christopherson wrote:
> On Thu, Sep 04, 2025, Wei Liu wrote:
> > On Wed, Aug 27, 2025 at 05:01:49PM -0700, Sean Christopherson wrote:
> > > Fix a bug where MSHV root partitions (and upper-level VTL code) don't 
> > > honor
> > > NEED_RESCHED_LAZY, and then deduplicate the TIF related MSHV code by 
> > > turning
> > > the "kvm" entry APIs into more generic "virt" APIs.
> > > 
> > > This version is based on
> > > 
> > >   git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git 
> > > hyperv-next
> > > 
> > > in order to pickup the VTL changes that are queued for 6.18.  I also
> > > squashed the NEED_RESCHED_LAZY fixes for root and VTL modes into a single
> > > patch, as it should be easy/straightforward to drop the VTL change as 
> > > needed
> > > if we want this in 6.17 or earlier.
> > > 
> > > That effectively means the full series is dependent on the VTL changes 
> > > being
> > > fully merged for 6.18.  But I think that's ok as it's really only the MSHV
> > > changes that have any urgency whatsoever, and I assume that Microsoft is
> > > the only user that truly cares about the MSHV root fix.  I.e. if the whole
> > > thing gets delayed, I think it's only the Hyper-V folks that are impacted.
> > > 
> > > I have no preference what tree this goes through, or when, and can respin
> > > and/or split as needed.
> > > 
> > > As with v1, the Hyper-V stuff and non-x86 architectures are compile-tested
> > > only.
> > > 
> > > v2:
> > >  - Rebase on hyperv-next.
> > >  - Fix and converge the VTL code as well. [Peter, Nuno]
> > > 
> > > v1: https://lore.kernel.org/all/20250825200622.3759571-1-sea...@google.com
> > > 
> > 
> > I dropped the mshv_vtl changes in this series and applied the rest
> > (including the KVM changes) to hyperv-next.
> 
> mshv_do_pre_guest_mode_work() ended up getting left behind since its removal 
> was
> in the last mshv_vtl patch.
> 
>   $ git grep mshv_do_pre_guest_mode_work
>   drivers/hv/mshv.h:int mshv_do_pre_guest_mode_work(ulong th_flags);
>   drivers/hv/mshv_common.c:int mshv_do_pre_guest_mode_work(ulong th_flags)
>   drivers/hv/mshv_common.c:EXPORT_SYMBOL_GPL(mshv_do_pre_guest_mode_work);
> 
> Want to squash this into 3786d7d6b3c0 ("mshv: Use common "entry virt" APIs to 
> do
> work in root before running guest")?
> 

It's done. Thanks for pointing it out.

Wei

Reply via email to