Re: [PATCH v3 6/7] Drivers: hv: vmbus: Get the IRQ number from DT

2024-08-05 Thread Roman Kisel
On 8/4/2024 8:03 PM, Michael Kelley wrote: From: Roman Kisel Sent: Monday, July 29, 2024 9:51 AM On 7/27/2024 2:17 AM, Arnd Bergmann wrote: On Sat, Jul 27, 2024, at 10:56, Krzysztof Kozlowski wrote: On 27/07/2024 00:59, Roman Kisel wrote: @@ -2338,6 +2372,21 @@ static int vmbus_device_

Re: [PATCH v3 6/7] Drivers: hv: vmbus: Get the IRQ number from DT

2024-08-05 Thread Roman Kisel
On 8/5/2024 7:12 AM, Michael Kelley wrote: From: Saurabh Singh Sengar Sent: Monday, August 5, 2024 1:30 AM On Fri, Jul 26, 2024 at 03:59:09PM -0700, Roman Kisel wrote: The VMBus driver uses ACPI for interrupt assignment on arm64 hence it won't function in the VTL mode where only DeviceTre

RE: [PATCH v3 6/7] Drivers: hv: vmbus: Get the IRQ number from DT

2024-08-05 Thread Michael Kelley
From: Saurabh Singh Sengar Sent: Monday, August 5, 2024 1:30 AM > > On Fri, Jul 26, 2024 at 03:59:09PM -0700, Roman Kisel wrote: > > The VMBus driver uses ACPI for interrupt assignment on > > arm64 hence it won't function in the VTL mode where only > > DeviceTree can be used. > > > > Update the

Re: [PATCH v3 6/7] Drivers: hv: vmbus: Get the IRQ number from DT

2024-08-05 Thread Saurabh Singh Sengar
On Fri, Jul 26, 2024 at 03:59:09PM -0700, Roman Kisel wrote: > The VMBus driver uses ACPI for interrupt assignment on > arm64 hence it won't function in the VTL mode where only > DeviceTree can be used. > > Update the VMBus driver to discover interrupt configuration > via DeviceTree and indicate D

RE: [PATCH v3 6/7] Drivers: hv: vmbus: Get the IRQ number from DT

2024-08-04 Thread Michael Kelley
From: Roman Kisel Sent: Monday, July 29, 2024 9:51 AM > > > On 7/27/2024 2:17 AM, Arnd Bergmann wrote: > > On Sat, Jul 27, 2024, at 10:56, Krzysztof Kozlowski wrote: > >> On 27/07/2024 00:59, Roman Kisel wrote: > >>> @@ -2338,6 +2372,21 @@ static int vmbus_device_add(struct platform_device > >

Re: [PATCH v3 6/7] Drivers: hv: vmbus: Get the IRQ number from DT

2024-07-29 Thread Roman Kisel
On 7/27/2024 2:17 AM, Arnd Bergmann wrote: On Sat, Jul 27, 2024, at 10:56, Krzysztof Kozlowski wrote: On 27/07/2024 00:59, Roman Kisel wrote: @@ -2338,6 +2372,21 @@ static int vmbus_device_add(struct platform_device *pdev) cur_res = &res->sibling; } + /* +

Re: [PATCH v3 6/7] Drivers: hv: vmbus: Get the IRQ number from DT

2024-07-29 Thread Roman Kisel
On 7/27/2024 1:56 AM, Krzysztof Kozlowski wrote: On 27/07/2024 00:59, Roman Kisel wrote: @@ -2338,6 +2372,21 @@ static int vmbus_device_add(struct platform_device *pdev) cur_res = &res->sibling; } + /* +* Hyper-V always assumes DMA cache coherency, and the

Re: [PATCH v3 6/7] Drivers: hv: vmbus: Get the IRQ number from DT

2024-07-27 Thread Krzysztof Kozlowski
On 27/07/2024 11:17, Arnd Bergmann wrote: > On Sat, Jul 27, 2024, at 10:56, Krzysztof Kozlowski wrote: >> On 27/07/2024 00:59, Roman Kisel wrote: >>> @@ -2338,6 +2372,21 @@ static int vmbus_device_add(struct platform_device >>> *pdev) >>> cur_res = &res->sibling; >>> } >>> >>> +

Re: [PATCH v3 6/7] Drivers: hv: vmbus: Get the IRQ number from DT

2024-07-27 Thread Arnd Bergmann
On Sat, Jul 27, 2024, at 10:56, Krzysztof Kozlowski wrote: > On 27/07/2024 00:59, Roman Kisel wrote: >> @@ -2338,6 +2372,21 @@ static int vmbus_device_add(struct platform_device >> *pdev) >> cur_res = &res->sibling; >> } >> >> +/* >> + * Hyper-V always assumes DMA cache

Re: [PATCH v3 6/7] Drivers: hv: vmbus: Get the IRQ number from DT

2024-07-27 Thread Krzysztof Kozlowski
On 27/07/2024 00:59, Roman Kisel wrote: > @@ -2338,6 +2372,21 @@ static int vmbus_device_add(struct platform_device > *pdev) > cur_res = &res->sibling; > } > > + /* > + * Hyper-V always assumes DMA cache coherency, and the DMA subsystem > + * might default to 'n

[PATCH v3 6/7] Drivers: hv: vmbus: Get the IRQ number from DT

2024-07-26 Thread Roman Kisel
The VMBus driver uses ACPI for interrupt assignment on arm64 hence it won't function in the VTL mode where only DeviceTree can be used. Update the VMBus driver to discover interrupt configuration via DeviceTree and indicate DMA cache coherency. Signed-off-by: Roman Kisel --- drivers/hv/vmbus_dr