Re: [PATCH 1/1] x86/hyperv: Add comments about hv_vpset and var size hypercall input args

2025-03-20 Thread Wei Liu
On Tue, Mar 18, 2025 at 02:49:19PM -0700, mhkelle...@gmail.com wrote: > From: Michael Kelley > > Current code varies in how the size of the variable size input header > for hypercalls is calculated when the input contains struct hv_vpset. > Surprisingly, this variation is correct, as different hy

Re: [PATCH v2 3/3] vhost/vsock: use netns of process that opens the vhost-vsock-netns device

2025-03-20 Thread Bobby Eshleman
On Thu, Mar 20, 2025 at 10:08:02AM +0100, Stefano Garzarella wrote: > On Wed, Mar 19, 2025 at 10:09:44PM +0100, Paolo Abeni wrote: > > On 3/12/25 9:59 PM, Bobby Eshleman wrote: > > > @@ -753,6 +783,8 @@ static int vhost_vsock_dev_release(struct inode > > > *inode, struct file *file) > > > virtio

Re: [PATCH v2 3/3] vhost/vsock: use netns of process that opens the vhost-vsock-netns device

2025-03-20 Thread Bobby Eshleman
On Wed, Mar 19, 2025 at 10:09:44PM +0100, Paolo Abeni wrote: > On 3/12/25 9:59 PM, Bobby Eshleman wrote: > > @@ -753,6 +783,8 @@ static int vhost_vsock_dev_release(struct inode *inode, > > struct file *file) > > virtio_vsock_skb_queue_purge(&vsock->send_pkt_queue); > > > > vhost_dev_clea

Re: [PATCH v2 1/3] vsock: add network namespace support

2025-03-20 Thread Bobby Eshleman
On Thu, Mar 20, 2025 at 09:57:57AM +0100, Stefano Garzarella wrote: > On Wed, Mar 19, 2025 at 12:00:38PM -0700, Bobby Eshleman wrote: > > On Wed, Mar 19, 2025 at 02:02:32PM +0100, Stefano Garzarella wrote: > > > On Wed, Mar 12, 2025 at 01:59:35PM -0700, Bobby Eshleman wrote: > > > > From: Stefano G

RE: fbdev deferred I/O broken in some scenarios

2025-03-20 Thread Michael Kelley
From: Geert Uytterhoeven Sent: Thursday, March 20, 2025 3:46 AM > > Hi Michael, > > On Wed, 19 Mar 2025 at 21:29, Michael Kelley wrote: > > From: Helge Deller Sent: Tuesday, March 18, 2025 1:16 AM > > > On 3/18/25 03:05, Michael Kelley wrote: > > > > I've been trying to get mmap() working wit

Re: [PATCH hyperv-next v6 02/11] arm64: hyperv: Use SMCCC to detect hypervisor presence

2025-03-20 Thread Roman Kisel
On 3/19/2025 3:11 PM, Michael Kelley wrote: From: Mark Rutland Sent: Monday, March 17, 2025 4:38 AM The 'acpi_disabled' variable doesn't exist for !CONFIG_ACPI, so its use prior to the ifdeffery looks misplaced. FWIW, include/linux/acpi.h has #define acpi_disabled 1 when !CONFIG_ACPI.

[PATCH] fixup! Drivers: hv: Introduce mshv_root module to expose /dev/mshv to VMMs

2025-03-20 Thread Nuno Das Neves
Signed-off-by: Nuno Das Neves --- drivers/hv/mshv_root.h | 3 ++ drivers/hv/mshv_root_hv_call.c | 7 +-- drivers/hv/mshv_root_main.c| 91 +- drivers/hv/mshv_synic.c| 2 +- include/uapi/linux/mshv.h | 32 ++-- 5 files changed, 60

Re: [PATCH 2/3] net: mana: Implement set_link_ksettings in ethtool for speed

2025-03-20 Thread Andrew Lunn
On Thu, Mar 20, 2025 at 05:22:20AM -0700, Erni Sri Satya Vennela wrote: > Add support for ethtool_set_link_ksettings for mana. > Set speed information of the port using ethtool. This > feature is not supported by all hardware. > > Before the change: > $ethtool -s enP30832s1 speed 100 > >netlink er

Re: [PATCH 1/3] net: mana: Add speed support in mana_get_link_ksettings

2025-03-20 Thread Andrew Lunn
> +int mana_query_link_cfg(struct mana_port_context *apc) > +{ > + struct net_device *ndev = apc->ndev; > + struct mana_query_link_config_req req = {}; > + struct mana_query_link_config_resp resp = {}; > + int err; > + > + mana_gd_init_req_hdr(&req.hdr, MANA_QUERY_LINK_CONFIG, >

[PATCH 3/3] net: mana: Handle unsupported HWC commands

2025-03-20 Thread Erni Sri Satya Vennela
If any of the HWC commands are not recognized by the underlying hardware, the hardware returns the response header status of -1. Log the information using netdev_info_once to avoid multiple error logs in dmesg. Signed-off-by: Erni Sri Satya Vennela Reviewed-by: Haiyang Zhang Reviewed-by: Shradha

[PATCH 1/3] net: mana: Add speed support in mana_get_link_ksettings

2025-03-20 Thread Erni Sri Satya Vennela
Add support for speed in mana ethtool get_link_ksettings operation. This feature is not supported by all hardware. Signed-off-by: Erni Sri Satya Vennela Reviewed-by: Haiyang Zhang Reviewed-by: Shradha Gupta --- drivers/net/ethernet/microsoft/mana/mana_en.c | 42 +++ .../etherne

[PATCH 2/3] net: mana: Implement set_link_ksettings in ethtool for speed

2025-03-20 Thread Erni Sri Satya Vennela
Add support for ethtool_set_link_ksettings for mana. Set speed information of the port using ethtool. This feature is not supported by all hardware. Before the change: $ethtool -s enP30832s1 speed 100 >netlink error: Operation not supported $ethtool enP30832s1 >Settings for enP30832s1: Sup

[PATCH 0/3] Add support for speed in MANA ethtool

2025-03-20 Thread Erni Sri Satya Vennela
Display speed information of the port via get_link_ksettings ethtool operation using a HWC command MANA_QUERY_LINK_CONFIG to fetch the speed information from the hardware. Add support for mana_set_link_ksettings in MANA ethtool operation. A HWC command (MANA_SET_BW_CLAMP) is sent to hardware to se

Re: fbdev deferred I/O broken in some scenarios

2025-03-20 Thread Geert Uytterhoeven
Hi Michael, On Wed, 19 Mar 2025 at 21:29, Michael Kelley wrote: > From: Helge Deller Sent: Tuesday, March 18, 2025 1:16 AM > > On 3/18/25 03:05, Michael Kelley wrote: > > > I've been trying to get mmap() working with the hyperv_fb.c fbdev driver, > > > which > > > is for Linux guests running on

Re: [PATCH v2 3/3] vhost/vsock: use netns of process that opens the vhost-vsock-netns device

2025-03-20 Thread Stefano Garzarella
On Wed, Mar 19, 2025 at 10:09:44PM +0100, Paolo Abeni wrote: On 3/12/25 9:59 PM, Bobby Eshleman wrote: @@ -753,6 +783,8 @@ static int vhost_vsock_dev_release(struct inode *inode, struct file *file) virtio_vsock_skb_queue_purge(&vsock->send_pkt_queue); vhost_dev_cleanup(&vsock->

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

2025-03-20 Thread Naman Jain
On 3/19/2025 7:54 PM, Greg Kroah-Hartman wrote: On Wed, Mar 19, 2025 at 07:05:56PM +0530, Naman Jain wrote: On 3/18/2025 6:58 PM, Greg Kroah-Hartman wrote: +/* + * hv_create_ring_sysfs - create ring sysfs entry corresponding to ring buffers for a channel + */ Kerneldoc? Documentation of

Re: fbdev deferred I/O broken in some scenarios

2025-03-20 Thread Thomas Zimmermann
Hi Am 19.03.25 um 21:38 schrieb Michael Kelley: From: Thomas Zimmermann Sent: Tuesday, March 18, 2025 1:26 AM Am 18.03.25 um 03:05 schrieb Michael Kelley: I've been trying to get mmap() working with the hyperv_fb.c fbdev driver, which is for Linux guests running on Microsoft's Hyper-V hyperv