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

2024-10-31 Thread Michael Kelley
From: Naman Jain Sent: Tuesday, October 29, 2024 1:02 AM > > Channel offers are requested during VMBus initialization and resume > from hibernation. Add support to wait for all channel offers to be Given the definition of ALLOFFERS_DELIVERED, maybe change to: " wait for all boot-time channel o

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

2024-10-31 Thread Michael Kelley
From: Naman Jain Sent: Tuesday, October 29, 2024 1:02 AM > > When resuming from hibernation, log any channels that were present > before hibernation but now are gone. > In general, the essential virtual devices configured for a VM, remain > same, before and after the hibernation and its not very

Re: [PATCH 2/5] hyperv: Remove unnecessary #includes

2024-10-31 Thread Nuno Das Neves
On 10/10/2024 11:21 AM, Michael Kelley wrote: > From: Nuno Das Neves Sent: Thursday, > October 3, 2024 12:51 PM >> >> asm/hyperv-tlfs.h is already included implicitly wherever mshyperv.h >> or linux/hyperv.h is included. Remove those redundancies. > > I've been under the impression that it is pr

RE: [PATCH v3 1/2] jiffies: Define secs_to_jiffies()

2024-10-31 Thread Haiyang Zhang
> -Original Message- > From: Easwar Hariharan > Sent: Wednesday, October 30, 2024 1:48 PM > To: KY Srinivasan ; Haiyang Zhang > ; Wei Liu ; Dexuan Cui > ; linux-hyperv@vger.kernel.org; Anna-Maria Behnsen > ; Thomas Gleixner ; Geert > Uytterhoeven ; Marcel Holtmann > ; Johan Hedberg ; Lui

Re: [PATCH v3 1/2] jiffies: Define secs_to_jiffies()

2024-10-31 Thread Easwar Hariharan
On 10/31/2024 8:54 AM, Haiyang Zhang wrote: > > >> -Original Message- >> From: Easwar Hariharan >> Sent: Wednesday, October 30, 2024 1:48 PM >> To: KY Srinivasan ; Haiyang Zhang >> ; Wei Liu ; Dexuan Cui >> ; linux-hyperv@vger.kernel.org; Anna-Maria Behnsen >> ; Thomas Gleixner ; Geert >

Re: [PATCH 0/5] Add new headers for Hyper-V Dom0

2024-10-31 Thread Easwar Hariharan
On 10/3/2024 12:50 PM, Nuno Das Neves wrote: > To support Hyper-V Dom0 (aka Linux as root partition), many new > definitions are required. > > The plan going forward is to directly import headers from > Hyper-V. This is a more maintainable way to import definitions > rather than via the TLFS doc.

RE: [PATCH] Drivers: hv: kvp/vss: Avoid accessing a ringbuffer not initialized yet

2024-10-31 Thread Dexuan Cui
> From: Michael Kelley > Sent: Wednesday, October 30, 2024 5:12 PM > [...] > What do you think about this (compile tested only), which splits the > "init" function into two parts for devices that have char devs? I'm > trying to avoid adding yet another synchronization point by just > doing the ini

RE: [PATCH v3 1/2] jiffies: Define secs_to_jiffies()

2024-10-31 Thread Haiyang Zhang
> -Original Message- > From: Easwar Hariharan > Sent: Thursday, October 31, 2024 1:06 PM > To: Haiyang Zhang ; KY Srinivasan > ; Wei Liu ; Dexuan Cui > ; linux-hyperv@vger.kernel.org; Anna-Maria Behnsen > ; Thomas Gleixner ; Geert > Uytterhoeven ; Marcel Holtmann > ; Johan Hedberg ; Lui

Re: [PATCH 0/5] Add new headers for Hyper-V Dom0

2024-10-31 Thread Nuno Das Neves
On 10/31/2024 12:05 PM, Easwar Hariharan wrote: > On 10/3/2024 12:50 PM, Nuno Das Neves wrote: >> To support Hyper-V Dom0 (aka Linux as root partition), many new >> definitions are required. >> >> The plan going forward is to directly import headers from >> Hyper-V. This is a more maintainable way

RE: [PATCH] Drivers: hv: kvp/vss: Avoid accessing a ringbuffer not initialized yet

2024-10-31 Thread Michael Kelley
From: Dexuan Cui Sent: Thursday, October 31, 2024 5:17 PM > > > From: Michael Kelley > > Sent: Wednesday, October 30, 2024 5:12 PM > > [...] > > What do you think about this (compile tested only), which splits the > > "init" function into two parts for devices that have char devs? I'm > > trying