[PATCH net-next 16/17] sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)

2023-06-16 Thread David Howells
Remove ->sendpage() and ->sendpage_locked(). sendmsg() with MSG_SPLICE_PAGES should be used instead. This allows multiple pages and multipage folios to be passed through. Signed-off-by: David Howells Acked-by: Marc Kleine-Budde # for net/can cc: "David S. Miller" cc: Eric Dumazet cc: Jakub

Re: [RFC PATCHES 00/17] IOMMUFD: Deliver IO page faults to user space

2023-06-16 Thread Jean-Philippe Brucker
Hi Baolu, On Tue, May 30, 2023 at 01:37:07PM +0800, Lu Baolu wrote: > - The timeout value for the pending page fault messages. Ideally we > should determine the timeout value from the device configuration, but > I failed to find any statement in the PCI specification (version 6.x). > A

[PATCH AUTOSEL 5.10 14/14] vhost_vdpa: tell vqs about the negotiated

2023-06-16 Thread Sasha Levin
From: Shannon Nelson [ Upstream commit 376daf317753ccb6b1ecbdece66018f7f6313a7f ] As is done in the net, iscsi, and vsock vhost support, let the vdpa vqs know about the features that have been negotiated. This allows vhost to more safely make decisions based on the features, such as when using

[PATCH AUTOSEL 5.15 16/16] vhost_net: revert upend_idx only on retriable error

2023-06-16 Thread Sasha Levin
From: Andrey Smetanin [ Upstream commit 1f5d2e3bab16369d5d4b4020a25db4ab1f4f082c ] Fix possible virtqueue used buffers leak and corresponding stuck in case of temporary -EIO from sendmsg() which is produced by tun driver while backend device is not up. In case of no-retriable error and zcopy

[PATCH AUTOSEL 5.15 15/16] vhost_vdpa: tell vqs about the negotiated

2023-06-16 Thread Sasha Levin
From: Shannon Nelson [ Upstream commit 376daf317753ccb6b1ecbdece66018f7f6313a7f ] As is done in the net, iscsi, and vsock vhost support, let the vdpa vqs know about the features that have been negotiated. This allows vhost to more safely make decisions based on the features, such as when using

[PATCH AUTOSEL 6.1 26/26] vhost_net: revert upend_idx only on retriable error

2023-06-16 Thread Sasha Levin
From: Andrey Smetanin [ Upstream commit 1f5d2e3bab16369d5d4b4020a25db4ab1f4f082c ] Fix possible virtqueue used buffers leak and corresponding stuck in case of temporary -EIO from sendmsg() which is produced by tun driver while backend device is not up. In case of no-retriable error and zcopy

[PATCH AUTOSEL 6.1 25/26] vhost_vdpa: tell vqs about the negotiated

2023-06-16 Thread Sasha Levin
From: Shannon Nelson [ Upstream commit 376daf317753ccb6b1ecbdece66018f7f6313a7f ] As is done in the net, iscsi, and vsock vhost support, let the vdpa vqs know about the features that have been negotiated. This allows vhost to more safely make decisions based on the features, such as when using

[PATCH AUTOSEL 6.3 29/30] vhost_vdpa: tell vqs about the negotiated

2023-06-16 Thread Sasha Levin
From: Shannon Nelson [ Upstream commit 376daf317753ccb6b1ecbdece66018f7f6313a7f ] As is done in the net, iscsi, and vsock vhost support, let the vdpa vqs know about the features that have been negotiated. This allows vhost to more safely make decisions based on the features, such as when using

[PATCH AUTOSEL 6.3 30/30] vhost_net: revert upend_idx only on retriable error

2023-06-16 Thread Sasha Levin
From: Andrey Smetanin [ Upstream commit 1f5d2e3bab16369d5d4b4020a25db4ab1f4f082c ] Fix possible virtqueue used buffers leak and corresponding stuck in case of temporary -EIO from sendmsg() which is produced by tun driver while backend device is not up. In case of no-retriable error and zcopy

[PATCH AUTOSEL 6.3 28/30] tools/virtio: Fix arm64 ringtest compilation error

2023-06-16 Thread Sasha Levin
From: Rong Tao [ Upstream commit 57380fd1249b20ef772549af2c58ef57b21faba7 ] Add cpu_relax() for arm64 instead of directly assert(), and add assert.h header file. Also, add smp_wmb and smp_mb for arm64. Compilation error as follows, avoid __always_inline undefined. $ make cc -Wall