Re: [Patch v7 4/5] RDMA/mana_ib: Query adapter capabilities

2023-10-16 Thread Kalesh Anakkur Purayil
Hi Ajay, One comment in line. Regards, Kalesh On Tue, Oct 17, 2023 at 3:42 AM wrote: > From: Ajay Sharma > > Query the adapter capabilities to expose to > other clients and VF. This checks against > the user supplied values and protects against > overflows. > > Signed-off-by: Ajay Sharma > -

RE: [PATCH 3/5] x86/mm: Mark CoCo VM pages not present while changing encrypted state

2023-10-16 Thread Michael Kelley (LINUX)
From: Michael Kelley (LINUX) Sent: Monday, October 2, 2023 1:43 PM > > From: Tom Lendacky Sent: Monday, October 2, 2023 > 11:59 AM > > > > On 10/2/23 11:35, Tom Lendacky wrote: > > > On 9/29/23 13:19, Michael Kelley wrote: > > >> In a CoCo VM when a page transitions from encrypted to decrypted,

RE: [EXTERNAL] Re: [Patch v5 0/5] RDMA/mana_ib

2023-10-16 Thread Ajay Sharma
I have sent v7 patch series with the space removed > -Original Message- > From: Leon Romanovsky > Sent: Monday, September 18, 2023 1:29 AM > To: Ajay Sharma > Cc: sharmaa...@linuxonhyperv.com; Long Li ; Jason > Gunthorpe ; Dexuan Cui ; Wei Liu > ; David S. Miller ; Eric Dumazet > ; Jaku

[Patch v7 1/5] RDMA/mana_ib: Rename all mana_ib_dev type variables to mib_dev

2023-10-16 Thread sharmaajay
From: Ajay Sharma This patch does not introduce any functional changes. It creates naming convention to distinguish especially when used in the same function.Renaming all mana_ib_dev type variables to mib_dev to have clean separation between eth dev and ibdev variables. Signed-off-by: Ajay Sharm

[Patch v7 3/5] RDMA/mana_ib: Create adapter and Add error eq

2023-10-16 Thread sharmaajay
From: Ajay Sharma Create adapter object as nice container for VF resources. Add error eq needed for adapter creation and later used for notification from Management SW. The management software uses this channel to send messages or error notifications back to the Client. Signed-off-by: Ajay Sharm

[Patch v7 5/5] RDMA/mana_ib: Send event to qp

2023-10-16 Thread sharmaajay
From: Ajay Sharma Send the QP fatal error event to only the context that created the qp. Signed-off-by: Ajay Sharma --- drivers/infiniband/hw/mana/device.c | 4 drivers/infiniband/hw/mana/main.c| 11 --- drivers/infiniband/hw/mana/mana_ib.h | 18 +- drivers/i

[Patch v7 4/5] RDMA/mana_ib: Query adapter capabilities

2023-10-16 Thread sharmaajay
From: Ajay Sharma Query the adapter capabilities to expose to other clients and VF. This checks against the user supplied values and protects against overflows. Signed-off-by: Ajay Sharma --- drivers/infiniband/hw/mana/device.c | 4 ++ drivers/infiniband/hw/mana/main.c| 67 ++

[Patch v7 2/5] RDMA/mana_ib: Register Mana IB device with Management SW

2023-10-16 Thread sharmaajay
From: Ajay Sharma Each of the MANA infiniband devices must be registered with the management software to request services/resources. Register the Mana IB device with Management which would later help get an adapter handle. Signed-off-by: Ajay Sharma --- drivers/infiniband/hw/mana/device.c

[Patch v7 0/5] RDMA/mana_ib

2023-10-16 Thread sharmaajay
From: Ajay Sharma Change from v5: Use xarray for qp lookup. Ajay Sharma (5): RDMA/mana_ib: Rename all mana_ib_dev type variables to mib_dev RDMA/mana_ib: Register Mana IB device with Management SW RDMA/mana_ib: Create adapter and Add error eq RDMA/mana_ib: Query adapter capabilities R

[PATCH] hv/hv_kvp_daemon: Some small fixes for handling NM keyfiles

2023-10-16 Thread Ani Sinha
Some small fixes: - lets make sure we are not adding ipv4 addresses in ipv6 section in keyfile and vice versa. - ADDR_FAMILY_IPV6 is a bit in addr_family. Test that bit instead of checking the whole value of addr_family. - Some trivial fixes in hv_set_ifconfig.sh. These fixes are proposed

Incorrect definition of hv_enable_vp_vtl in hyperv-tlfs.h

2023-10-16 Thread Alex Ionescu
Hi, In arch/x86/include/asm/hyperv-tlfs.h, the following definition at line 786 (in Linus' tree), I believe to be incorrect. struct hv_enable_vp_vtl { u64partition_id; u32vp_index; union hv_input_vtltarget_vtl; < Here For this hypercall, th