RE: [PATCH] x86/hyperv: Set X86_FEATURE_TSC_RELIABLE unconditionally

2024-11-25 Thread Michael Kelley
From: Stanislav Kinsburskii Sent: Monday, November 25, 2024 2:25 PM > > On Fri, Nov 22, 2024 at 06:33:12PM +, Michael Kelley wrote: > > From: Stanislav Kinsburskii Sent: > > Tuesday, > November 19, 2024 4:51 PM > > > > > > On Tue, Nov 12, 2024 at 07:48:06PM +, Michael Kelley wrote: > >

RE: [PATCH v3 3/5] hyperv: Add new Hyper-V headers in include/hyperv

2024-11-25 Thread Michael Kelley
From: Nuno Das Neves Sent: Monday, November 25, 2024 3:25 PM > > These headers contain definitions for regular Hyper-V guests (as in > hyperv-tlfs.h), as well as interfaces for more privileged guests like > the root partition (aka Dom0). > > These files are derived from headers exported from Hy

RE: [PATCH v3 5/5] hyperv: Remove the now unused hyperv-tlfs.h files

2024-11-25 Thread Michael Kelley
From: Nuno Das Neves Sent: Monday, November 25, 2024 3:25 PM > > Remove all hyperv-tlfs.h files. These are no longer included > anywhere. hyperv/hvhdk.h serves the same role, but with an easier > path for adding new definitions. > > Remove the relevant lines in MAINTAINERS. > > Signed-off-by:

RE: [PATCH v3 4/5] hyperv: Switch from hyperv-tlfs.h to hyperv/hvhdk.h

2024-11-25 Thread Michael Kelley
From: Nuno Das Neves Sent: Monday, November 25, 2024 3:25 PM > > Switch to using hvhdk.h everywhere in the kernel. This header > includes all the new Hyper-V headers in include/hyperv, which form a > superset of the definitions found in hyperv-tlfs.h. > > This makes it easier to add new Hyper-V

[PATCH v3 4/5] hyperv: Switch from hyperv-tlfs.h to hyperv/hvhdk.h

2024-11-25 Thread Nuno Das Neves
Switch to using hvhdk.h everywhere in the kernel. This header includes all the new Hyper-V headers in include/hyperv, which form a superset of the definitions found in hyperv-tlfs.h. This makes it easier to add new Hyper-V interfaces without being restricted to those in the TLFS doc (reflected in

[PATCH v3 3/5] hyperv: Add new Hyper-V headers in include/hyperv

2024-11-25 Thread Nuno Das Neves
These headers contain definitions for regular Hyper-V guests (as in hyperv-tlfs.h), as well as interfaces for more privileged guests like the root partition (aka Dom0). These files are derived from headers exported from Hyper-V, rather than being derived from the TLFS document. (Although, to prese

[PATCH v3 5/5] hyperv: Remove the now unused hyperv-tlfs.h files

2024-11-25 Thread Nuno Das Neves
Remove all hyperv-tlfs.h files. These are no longer included anywhere. hyperv/hvhdk.h serves the same role, but with an easier path for adding new definitions. Remove the relevant lines in MAINTAINERS. Signed-off-by: Nuno Das Neves --- MAINTAINERS | 3 - arch/arm64/in

[PATCH v3 0/5] Introduce new headers for Hyper-V

2024-11-25 Thread Nuno Das Neves
To support Linux as root partition[1] on Hyper-V many new definitions are required. The plan going forward is to directly import definitions from Hyper-V code without waiting for them to land in the TLFS document. This is a quicker and more maintainable way to import definitions, and is a step tow

[PATCH v3 2/5] hyperv: Clean up unnecessary #includes

2024-11-25 Thread Nuno Das Neves
Remove includes of linux/hyperv.h, mshyperv.h, and hyperv-tlfs.h where they are not used. Acked-by: Wei Liu Reviewed-by: Michael Kelley Reviewed-by: Easwar Hariharan Signed-off-by: Nuno Das Neves --- arch/arm64/hyperv/hv_core.c | 1 - arch/x86/hyperv/hv_apic.c | 1 - arch/x86/hyperv

[PATCH v3 1/5] hyperv: Move hv_connection_id to hyperv-tlfs.h

2024-11-25 Thread Nuno Das Neves
This definition is in the wrong file; it is part of the TLFS doc. Acked-by: Wei Liu Reviewed-by: Easwar Hariharan Reviewed-by: Michael Kelley Signed-off-by: Nuno Das Neves --- include/asm-generic/hyperv-tlfs.h | 9 + include/linux/hyperv.h| 9 - 2 files changed, 9

Re: [PATCH] x86/hyperv: Set X86_FEATURE_TSC_RELIABLE unconditionally

2024-11-25 Thread Stanislav Kinsburskii
On Fri, Nov 22, 2024 at 06:33:12PM +, Michael Kelley wrote: > From: Stanislav Kinsburskii Sent: Tuesday, > November 19, 2024 4:51 PM > > > > On Tue, Nov 12, 2024 at 07:48:06PM +, Michael Kelley wrote: > > > From: Stanislav Kinsburskii Sent: > > > Tuesday, > > November 12, 2024 10:18 AM

Re: [PATCH rdma-next 1/1] RDMA/mana_ib: Set correct device into ib

2024-11-25 Thread Leon Romanovsky
On Mon, Nov 25, 2024 at 03:56:01PM +, Parav Pandit wrote: > > > > From: Long Li > > Sent: Thursday, November 21, 2024 5:34 AM > > > > > > > > > > Actually, another alternative solution for mana_ib is always set the > > > > slave device, but in the GID mgmt code we need the following patch.

RE: [PATCH rdma-next 1/1] RDMA/mana_ib: Set correct device into ib

2024-11-25 Thread Parav Pandit
> From: Long Li > Sent: Thursday, November 21, 2024 5:34 AM > > > > > > > Actually, another alternative solution for mana_ib is always set the > > > slave device, but in the GID mgmt code we need the following patch. > > > The problem is that it may require testing/confirmation from other > >

[PATCH] uio_hv_generic: Add a check for HV_NIC for send, receive buffers setup

2024-11-25 Thread Naman Jain
Support for send and receive buffers was added for networking usecases in UIO devices. There is no known usecase of these buffers for devices other than HV_NIC. Add a check for HV_NIC in probe function to avoid memory allocation and GPADL setup which would save 47 MB memory per device type. While

Re: [PATCH] scsi: storvsc: Do not flag MAINTENANCE_IN return of SRB_STATUS_DATA_OVERRUN as an error

2024-11-25 Thread Cathy Avery
On 11/22/24 13:11, Michael Kelley wrote: From: Cathy Avery Sent: Friday, November 22, 2024 8:24 AM This patch partially reverts commit 812fe6420a6e789db68f18cdb25c5c89f4561334 Author: Michael Kelley Date: Fri Aug 25 10:21:24 2023 -0700 scsi: storvsc: Handl