public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] [for linux-4.4.y only] Hyper-V: backport 4 KVP fixes
@ 2018-10-17  1:22 Dexuan Cui
  2018-10-18 17:10 ` 'gregkh@linuxfoundation.org'
  0 siblings, 1 reply; 3+ messages in thread
From: Dexuan Cui @ 2018-10-17  1:22 UTC (permalink / raw)
  To: 'gregkh@linuxfoundation.org'
  Cc: 'stable@vger.kernel.org', 'Wang Jian', Long Li,
	KY Srinivasan, Stephen Hemminger, Haiyang Zhang, Josh Poulson,
	Michael Kelley (EOSG)


Recently Wang Jian reported some KVP issues on the v4.4 kernel:
https://github.com/LIS/lis-next/issues/593:
e.g. the /var/lib/hyperv/.kvp_pool_* files can not be updated, and
sometimes if the hv_kvp_daemon doesn't timely start, the host may not
be able to query the VM's IP address via KVP.

I identified these 4 mainline patches to fix the issues. The patches
can be applied cleanly to the latest 4.4.y branch (currently it's
v4.4.161).

The first 3 are simply cherry-picked from the mainline, and the 4th
has to be reworked for the v4.4 kernel.

Wang Jian tested the 4 patches, and the issues can be fixed.
I also did some tests and found no regression.

Thanks!

-- Dexuan



K. Y. Srinivasan (2):
  Drivers: hv: utils: Invoke the poll function after handshake
  Drivers: hv: util: Pass the channel information during the init call

Long Li (1): -- Reworked by Dexuan
  HV: properly delay KVP packets when negotiation is in progress

Vitaly Kuznetsov (1):
  Drivers: hv: kvp: fix IP Failover

 drivers/hv/hv_fcopy.c     |  2 +-
 drivers/hv/hv_kvp.c       | 40 +++++++++++++++++++++++++++++++++++++---
 drivers/hv/hv_snapshot.c  |  4 ++--
 drivers/hv/hv_util.c      |  1 +
 drivers/hv/hyperv_vmbus.h |  5 +++++
 include/linux/hyperv.h    |  1 +
 6 files changed, 47 insertions(+), 6 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/4] [for linux-4.4.y only] Hyper-V: backport 4 KVP fixes
  2018-10-17  1:22 [PATCH 0/4] [for linux-4.4.y only] Hyper-V: backport 4 KVP fixes Dexuan Cui
@ 2018-10-18 17:10 ` 'gregkh@linuxfoundation.org'
  2018-10-18 18:54   ` Dexuan Cui
  0 siblings, 1 reply; 3+ messages in thread
From: 'gregkh@linuxfoundation.org' @ 2018-10-18 17:10 UTC (permalink / raw)
  To: Dexuan Cui
  Cc: 'stable@vger.kernel.org', 'Wang Jian', Long Li,
	KY Srinivasan, Stephen Hemminger, Haiyang Zhang, Josh Poulson,
	Michael Kelley (EOSG)

On Wed, Oct 17, 2018 at 01:22:47AM +0000, Dexuan Cui wrote:
> 
> Recently Wang Jian reported some KVP issues on the v4.4 kernel:
> https://github.com/LIS/lis-next/issues/593:
> e.g. the /var/lib/hyperv/.kvp_pool_* files can not be updated, and
> sometimes if the hv_kvp_daemon doesn't timely start, the host may not
> be able to query the VM's IP address via KVP.
> 
> I identified these 4 mainline patches to fix the issues. The patches
> can be applied cleanly to the latest 4.4.y branch (currently it's
> v4.4.161).
> 
> The first 3 are simply cherry-picked from the mainline, and the 4th
> has to be reworked for the v4.4 kernel.
> 
> Wang Jian tested the 4 patches, and the issues can be fixed.
> I also did some tests and found no regression.
> 

All now queued up, and I added the last one to 4.9.y as well.  If it
shouldn't be there, please let me know.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH 0/4] [for linux-4.4.y only] Hyper-V: backport 4 KVP fixes
  2018-10-18 17:10 ` 'gregkh@linuxfoundation.org'
@ 2018-10-18 18:54   ` Dexuan Cui
  0 siblings, 0 replies; 3+ messages in thread
From: Dexuan Cui @ 2018-10-18 18:54 UTC (permalink / raw)
  To: 'gregkh@linuxfoundation.org'
  Cc: 'stable@vger.kernel.org', 'Wang Jian', Long Li,
	KY Srinivasan, Stephen Hemminger, Haiyang Zhang, Josh Poulson,
	Michael Kelley

> From: 'gregkh@linuxfoundation.org' <gregkh@linuxfoundation.org>
> Sent: Thursday, October 18, 2018 10:11
> 
> On Wed, Oct 17, 2018 at 01:22:47AM +0000, Dexuan Cui wrote:
> >
> > Recently Wang Jian reported some KVP issues on the v4.4 kernel:
> >
> ...
> > sometimes if the hv_kvp_daemon doesn't timely start, the host may not
> > be able to query the VM's IP address via KVP.
> >
> > I identified these 4 mainline patches to fix the issues. The patches
> > can be applied cleanly to the latest 4.4.y branch (currently it's
> > v4.4.161).
> >
> > The first 3 are simply cherry-picked from the mainline, and the 4th
> > has to be reworked for the v4.4 kernel.
> >
> > Wang Jian tested the 4 patches, and the issues can be fixed.
> > I also did some tests and found no regression.
> >
> 
> All now queued up, and I added the last one to 4.9.y as well.  If it
> shouldn't be there, please let me know.
> 
> greg k-h

Thanks, Greg!

-- Dexuan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-19  2:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-17  1:22 [PATCH 0/4] [for linux-4.4.y only] Hyper-V: backport 4 KVP fixes Dexuan Cui
2018-10-18 17:10 ` 'gregkh@linuxfoundation.org'
2018-10-18 18:54   ` Dexuan Cui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox