Re: [RFC PATCH] uio_hv_generic: Fix sysfs creation path for ring buffer

2025-02-13 Thread Greg Kroah-Hartman
On Fri, Feb 14, 2025 at 12:35:44PM +0530, Naman Jain wrote: > > > On 2/14/2025 12:21 PM, Greg Kroah-Hartman wrote: > > On Fri, Feb 14, 2025 at 12:13:51PM +0530, Naman Jain wrote: > > > On regular bootup, devices get registered to vmbus first, so when > > > uio_hv_generic driver for a particular d

[RFC PATCH] uio_hv_generic: Fix sysfs creation path for ring buffer

2025-02-13 Thread Naman Jain
On regular bootup, devices get registered to vmbus first, so when uio_hv_generic driver for a particular device type is probed, the device is already initialized and added, so sysfs creation in uio_hv_generic probe works fine. However, when device is removed and brought back, the channel rescinds a

Re: [RFC PATCH] uio_hv_generic: Fix sysfs creation path for ring buffer

2025-02-13 Thread Greg Kroah-Hartman
On Fri, Feb 14, 2025 at 12:13:51PM +0530, Naman Jain wrote: > On regular bootup, devices get registered to vmbus first, so when > uio_hv_generic driver for a particular device type is probed, > the device is already initialized and added, so sysfs creation in > uio_hv_generic probe works fine. Howe

Re: [RFC PATCH] uio_hv_generic: Fix sysfs creation path for ring buffer

2025-02-13 Thread Naman Jain
On 2/14/2025 12:21 PM, Greg Kroah-Hartman wrote: On Fri, Feb 14, 2025 at 12:13:51PM +0530, Naman Jain wrote: On regular bootup, devices get registered to vmbus first, so when uio_hv_generic driver for a particular device type is probed, the device is already initialized and added, so sysfs cr

Re: [PATCH v5 1/3] cpu: export lockdep_assert_cpus_held()

2025-02-13 Thread Thomas Gleixner
On Fri, Jan 17 2025 at 15:33, Hamza Mahfooz wrote: > If CONFIG_HYPERV=m, lockdep_assert_cpus_held() is undefined for HyperV. > So, export the function so that GPL drivers can use it more broadly. > > Cc: Michael Kelley > Signed-off-by: Hamza Mahfooz Acked-by: Thomas Gleixner

Re: [PATCH hyperv-next 0/2] x86/hyperv: VTL mode reboot fixes

2025-02-13 Thread Saurabh Singh Sengar
On Wed, Feb 12, 2025 at 02:56:43PM -0800, Roman Kisel wrote: > > > On 2/12/2025 9:54 AM, Saurabh Singh Sengar wrote: > >On Wed, Feb 12, 2025 at 02:21:18AM +, Wei Liu wrote: > [...] > >> > >>Saurabh please review these patches. Thanks. > > > >Hi Roman, > Hi Saurabh, > > > > >Thanks for the pa

Re: [PATCH hyperv-next v4 1/6] arm64: hyperv: Use SMCCC to detect hypervisor presence

2025-02-13 Thread Roman Kisel
On 2/11/2025 10:54 PM, Arnd Bergmann wrote: On Wed, Feb 12, 2025, at 02:43, Roman Kisel wrote: +static bool hyperv_detect_via_smccc(void) +{ + struct arm_smccc_res res = {}; + + if (arm_smccc_1_1_get_conduit() != SMCCC_CONDUIT_HVC) + return false; + arm_smccc_1

[PATCH 5.4.y] scsi: storvsc: Set correct data length for sending SCSI command without payload

2025-02-13 Thread Long Li
In StorVSC, payload->range.len is used to indicate if this SCSI command carries payload. This data is allocated as part of the private driver data by the upper layer and may get passed to lower driver uninitialized. For example, the SCSI error handling mid layer may send TEST_UNIT_READY or REQUEST

Re: [PATCH hyperv-next v4 4/6] dt-bindings: microsoft,vmbus: Add GIC and DMA coherence to the example

2025-02-13 Thread Roman Kisel
On 2/12/2025 3:57 PM, Roman Kisel wrote: [...] Thank you for your guidance!! The below passes tests and addresses the feedback you have provided. If no further comments from you, I'll send the file in this form in the next version of the patch series (also fixing the commit title and descr

Re: [PATCH v5 1/3] cpu: export lockdep_assert_cpus_held()

2025-02-13 Thread Wei Liu
On Fri, Jan 17, 2025 at 03:33:06PM -0500, Hamza Mahfooz wrote: > If CONFIG_HYPERV=m, lockdep_assert_cpus_held() is undefined for HyperV. > So, export the function so that GPL drivers can use it more broadly. > > Cc: Michael Kelley > Signed-off-by: Hamza Mahfooz Series applied to hyperv-next. Th