RE: [EXTERNAL] Re: [PATCH net-next,v4] net: mana: Add handler for hardware servicing events

2025-05-21 Thread Haiyang Zhang
> -Original Message- > From: Jakub Kicinski > Sent: Friday, May 16, 2025 9:05 PM > To: Haiyang Zhang > Cc: linux-hyperv@vger.kernel.org; net...@vger.kernel.org; Dexuan Cui > ; step...@networkplumber.org; KY Srinivasan > ; Paul Rosswurm ; > o...@aepfle.de; vkuzn...@redhat.com; da...@dav

[PATCH net-next,v5] net: mana: Add handler for hardware servicing events

2025-05-21 Thread Haiyang Zhang
To collaborate with hardware servicing events, upon receiving the special EQE notification from the HW channel, remove the devices on this bus. Then, after a waiting period based on the device specs, rescan the parent bus to recover the devices. Signed-off-by: Haiyang Zhang Reviewed-by: Shradha G

RE: [EXTERNAL] Re: [PATCH net-next,v2] net: mana: Add support for Multi Vports on Bare metal

2025-05-21 Thread Haiyang Zhang
> -Original Message- > From: Simon Horman > Sent: Wednesday, May 21, 2025 10:03 AM > To: Haiyang Zhang > Cc: linux-hyperv@vger.kernel.org; net...@vger.kernel.org; Dexuan Cui > ; step...@networkplumber.org; KY Srinivasan > ; Paul Rosswurm ; > o...@aepfle.de; vkuzn...@redhat.com; da...@d

RE: [PATCH v3 4/4] net: mana: Allocate MSI-X vectors dynamically

2025-05-21 Thread Michael Kelley
From: Shradha Gupta Sent: Friday, May 9, 2025 3:14 AM > > Currently, the MANA driver allocates MSI-X vectors statically based on > MANA_MAX_NUM_QUEUES and num_online_cpus() values and in some cases ends > up allocating more vectors than it needs. This is because, by this time > we do not have a

Re: [PATCH net-next,v2] net: mana: Add support for Multi Vports on Bare metal

2025-05-21 Thread Simon Horman
On Mon, May 19, 2025 at 09:20:36AM -0700, Haiyang Zhang wrote: > To support Multi Vports on Bare metal, increase the device config response > version. And, skip the register HW vport, and register filter steps, when > the Bare metal hostmode is set. > > Signed-off-by: Haiyang Zhang > --- > v2: >

Re: [PATCH 6/7] net: core: Convert dev_set_mac_address() to struct sockaddr_storage

2025-05-21 Thread kernel test robot
Hi Kees, kernel test robot noticed the following build errors: [auto build test ERROR on linux-nvme/for-next] [also build test ERROR on mkp-scsi/for-next kees/for-next/pstore kees/for-next/kspp linus/master v6.15-rc7 next-20250521] [If your patch is applied to the wrong git tree, kindly drop us

Re: [PATCH net,v2] hv_netvsc: fix potential deadlock in netvsc_vf_setxdp()

2025-05-21 Thread Subbaraya Sundeep
On 2025-05-21 at 10:25:03, Saurabh Sengar (ssen...@linux.microsoft.com) wrote: > The MANA driver's probe registers netdevice via the following call chain: > > mana_probe() > register_netdev() > register_netdevice() > > register_netdevice() calls notifier callback for netvsc driver, > holdin

[PATCH net,v2] hv_netvsc: fix potential deadlock in netvsc_vf_setxdp()

2025-05-21 Thread Saurabh Sengar
The MANA driver's probe registers netdevice via the following call chain: mana_probe() register_netdev() register_netdevice() register_netdevice() calls notifier callback for netvsc driver, holding the netdev mutex via netdev_lock_ops(). Further this netvsc notifier callback end up attempt

[PATCH] firmware: smccc: support both conduits for getting hyp UUID

2025-05-21 Thread Anirudh Rayabharam
From: Anirudh Rayabharam (Microsoft) When Linux is running as the root partition under Microsoft Hypervisor (MSHV) a.k.a Hyper-V, smc is used as the conduit for smc calls. Extend arm_smccc_hypervisor_has_uuid() to support this usecase. Use arm_smccc_1_1_invoke to retrieve and use the appropriate

Re: [PATCH v3 2/2] Drivers: hv: Introduce mshv_vtl driver

2025-05-21 Thread Naman Jain
On 5/21/2025 11:33 AM, Naman Jain wrote: On 5/21/2025 12:25 AM, Stanislav Kinsburskii wrote: On Mon, May 19, 2025 at 10:26:42AM +0530, Naman Jain wrote: Provide an interface for Virtual Machine Monitor like OpenVMM and its use as OpenHCL paravisor to control VTL0 (Virtual trust Level). Exp

Re: [PATCH net] hv_netvsc: fix potential deadlock in netvsc_vf_setxdp()

2025-05-21 Thread Erni Sri Satya Vennela
On Sat, May 17, 2025 at 08:47:50PM -0700, Saurabh Sengar wrote: > The MANA driver's probe registers netdevice via the following call chain: > > mana_probe() > register_netdev() > register_netdevice() > > register_netdevice() calls notifier callback for netvsc driver, > holding the netdev mu