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

2024-10-28 Thread Michael Kelley
From: Dexuan Cui Sent: Friday, October 25, 2024 11:19 AM > > > From: Michael Kelley > > Sent: Tuesday, October 22, 2024 11:04 AM > > [...] > > I wasn't aware of the VF handling. Where does the guest notify the > > host that it is planning to hibernate? I went looking for such code, but > > could

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

2024-10-27 Thread Naman Jain
On 10/22/2024 11:33 PM, Michael Kelley wrote: From: Naman Jain Sent: Tuesday, October 22, 2024 2:50 AM On 10/21/2024 10:03 AM, Michael Kelley wrote: From: Naman Jain Sent: Friday, October 18, 2024 4:58 AM [snip] @@ -1297,12 +1285,11 @@ EXPORT_SYMBOL_GPL(vmbus_hvsock_device_unregiste

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

2024-10-25 Thread Dexuan Cui
> From: Michael Kelley > Sent: Tuesday, October 22, 2024 11:04 AM > [...] > I wasn't aware of the VF handling. Where does the guest notify the > host that it is planning to hibernate? I went looking for such code, but > couldn't immediately find it. Is it in the netvsc driver? Is this the > seque

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

2024-10-24 Thread Naman Jain
On 10/22/2024 11:08 PM, Michael Kelley wrote: From: Naman Jain Sent: Tuesday, October 22, 2024 2:55 AM On 10/21/2024 10:27 AM, Saurabh Singh Sengar wrote: On Fri, Oct 18, 2024 at 04:58:10AM -0700, Naman Jain wrote: [snip] + /* Wait for the host to send all offers. */ + wh

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

2024-10-22 Thread Michael Kelley
From: Naman Jain Sent: Tuesday, October 22, 2024 2:50 AM > > On 10/21/2024 10:03 AM, Michael Kelley wrote: > > From: Naman Jain Sent: Friday, October 18, > > 2024 4:58 AM [snip] > >> @@ -1297,12 +1285,11 @@ > >> EXPORT_SYMBOL_GPL(vmbus_hvsock_device_unregister); > >> /* > >>* vmbus_ono

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

2024-10-22 Thread Michael Kelley
From: Naman Jain Sent: Tuesday, October 22, 2024 2:55 AM > > On 10/21/2024 10:27 AM, Saurabh Singh Sengar wrote: > > On Fri, Oct 18, 2024 at 04:58:10AM -0700, Naman Jain wrote: [snip] > >> > >> + /* Wait for the host to send all offers. */ > >> + while (wait_for_completion_timeout( > >> +

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

2024-10-22 Thread Naman Jain
On 10/21/2024 10:27 AM, Saurabh Singh Sengar wrote: 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 Thanks for reviewing Saurabh. Noted this for next patch. Thanks from hibernation. Ad

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

2024-10-22 Thread Naman Jain
On 10/21/2024 10:03 AM, Michael Kelley wrote: 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_

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: [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 1/2] Drivers: hv: vmbus: Wait for offers during boot

2024-10-18 Thread Easwar Hariharan
On 10/18/2024 4:58 AM, Naman Jain wrote: > 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 mode (VTL0) in OpenHCL