Re: [PATCH 1/2] Drivers: hv: vmbus: Wait for offers during boot

2024-10-20 Thread Saurabh Singh Sengar
On Fri, Oct 18, 2024 at 04:58:10AM -0700, Naman Jain wrote: > Channels offers are requested during vmbus initialization and resume Nit: s/vmbus/VMBus > from hibernation. Add support to wait for all channel offers to be > delivered and processed before returning from vmbus_request_offers. > This i

RE: [RFC PATCH] drivers: hv: Convert open-coded timeouts to msecs_to_jiffies()

2024-10-20 Thread Michael Kelley
From: Easwar Hariharan Sent: Sunday, October 20, 2024 8:42 PM > > On 10/18/2024 9:59 PM, Michael Kelley wrote: > > From: Easwar Hariharan Sent: Friday, October > > 18, 2024 3:50 PM > >> > >> On 10/18/2024 12:54 AM, Praveen Kumar wrote: > >>> On 17-10-2024 04:07, Easwar Hariharan wrote: >

RE: [PATCH 1/2] Drivers: hv: vmbus: Wait for offers during boot

2024-10-20 Thread Michael Kelley
From: Naman Jain Sent: Friday, October 18, 2024 4:58 AM > > Channels offers are requested during vmbus initialization and resume > from hibernation. Add support to wait for all channel offers to be > delivered and processed before returning from vmbus_request_offers. > This is to support user mo

Re: [PATCH 2/2] Drivers: hv: vmbus: Log on missing offers

2024-10-20 Thread Naman Jain
On 10/21/2024 9:56 AM, Saurabh Singh Sengar wrote: On Fri, Oct 18, 2024 at 04:58:11AM -0700, Naman Jain wrote: From: John Starks When resuming from hibernation, log any channels that were present before hibernation but now are gone. Signed-off-by: John Starks Co-developed-by: Naman Jain

Re: [PATCH 2/2] Drivers: hv: vmbus: Log on missing offers

2024-10-20 Thread Saurabh Singh Sengar
On Fri, Oct 18, 2024 at 04:58:11AM -0700, Naman Jain wrote: > From: John Starks > > When resuming from hibernation, log any channels that were present > before hibernation but now are gone. > > Signed-off-by: John Starks > Co-developed-by: Naman Jain > Signed-off-by: Naman Jain > --- > drive

Re: [RFC PATCH] drivers: hv: Convert open-coded timeouts to msecs_to_jiffies()

2024-10-20 Thread Easwar Hariharan
On 10/18/2024 9:59 PM, Michael Kelley wrote: > From: Easwar Hariharan Sent: Friday, October > 18, 2024 3:50 PM >> >> On 10/18/2024 12:54 AM, Praveen Kumar wrote: >>> On 17-10-2024 04:07, Easwar Hariharan wrote: We have several places where timeouts are open-coded as N (seconds) * HZ, bu

Re: [PATCH 2/2] Drivers: hv: vmbus: Log on missing offers

2024-10-20 Thread Easwar Hariharan
On 10/18/2024 4:58 AM, Naman Jain wrote: > From: John Starks > > When resuming from hibernation, log any channels that were present > before hibernation but now are gone. > > Signed-off-by: John Starks > Co-developed-by: Naman Jain > Signed-off-by: Naman Jain > --- > drivers/hv/vmbus_drv.c |