Re: [PATCH v2 4/4] vdpa_sim: Implement stop vdpa op

2022-05-24 Thread Jason Wang
On Wed, May 25, 2022 at 1:06 AM Eugenio Pérez wrote: > > Implement stop operation for vdpa_sim devices, so vhost-vdpa will offer > that backend feature and userspace can effectively stop the device. > > This is a must before get virtqueue indexes (base) for live migration, > since the device

Re: [PATCH v2 3/4] vhost-vdpa: uAPI to stop the device

2022-05-24 Thread Jason Wang
On Wed, May 25, 2022 at 1:06 AM Eugenio Pérez wrote: > > The ioctl adds support for stop the device from userspace. > > Signed-off-by: Eugenio Pérez > --- > drivers/vhost/vdpa.c | 18 ++ > include/uapi/linux/vhost.h | 3 +++ > 2 files changed, 21 insertions(+) > > diff

Re: [PATCH v2 0/4] Implement vdpasim stop operation

2022-05-24 Thread Jason Wang
On Wed, May 25, 2022 at 1:06 AM Eugenio Pérez wrote: > > Implement stop operation for vdpa_sim devices, so vhost-vdpa will offer > that backend feature and userspace can effectively stop the device. > > This is a must before get virtqueue indexes (base) for live migration, > since the device

Re: [PATCH] Docs/ABI/testing: Add VDUSE sysfs interface ABI document

2022-05-24 Thread Jason Wang
On Tue, May 24, 2022 at 7:51 PM Xie Yongji wrote: > > This adds missing documentation for VDUSE sysfs interface ABI > under Documentation/ABI/testing. > > Signed-off-by: Xie Yongji Acked-by: Jason Wang > --- > Documentation/ABI/testing/sysfs-class-vduse | 33 + >

Re: [PATCH V5 0/9] rework on the IRQ hardening of virtio

2022-05-24 Thread Jason Wang
On Wed, May 25, 2022 at 12:28 AM Halil Pasic wrote: > > On Mon, 23 May 2022 10:53:23 +0200 > Halil Pasic wrote: > > > On Wed, 18 May 2022 11:59:42 +0800 > > Jason Wang wrote: > > > > > Hi All: > > > > Sorry for being slow on this one. I'm pretty much under water. Will try > > to get some

Re: Re: [PATCH 3/3] virtio_balloon: Introduce memory recover

2022-05-24 Thread zhenwei pi
On 5/25/22 03:35, Sean Christopherson wrote: On Fri, May 20, 2022, zhenwei pi wrote: @@ -59,6 +60,12 @@ enum virtio_balloon_config_read { VIRTIO_BALLOON_CONFIG_READ_CMD_ID = 0, }; +/* the request body to commucate with host side */ +struct __virtio_balloon_recover { +

Re: [PATCH] mm: fix a potential infinite loop in start_isolate_page_range().

2022-05-24 Thread Andrew Morton
On Tue, 24 May 2022 15:47:56 -0400 Zi Yan wrote: > From: Zi Yan > > In isolate_single_pageblock() called by start_isolate_page_range(), > there are some pageblock isolation issues causing a potential > infinite loop when isolating a page range. This is reported by Qian Cai. > > 1. the

Re: [PATCH 0/3] recover hardware corrupted page by virtio balloon

2022-05-24 Thread David Hildenbrand
On 20.05.22 09:06, zhenwei pi wrote: > Hi, > > I'm trying to recover hardware corrupted page by virtio balloon, the > workflow of this feature like this: > > Guest 5.MF -> 6.RVQ FE10.Unpoison page > / \/ >

Re: [PATCH V2 5/7] dt-bindings: Add xen, dev-domid property description for xen-grant DMA ops

2022-05-24 Thread Stefano Stabellini
On Tue, 24 May 2022, Oleksandr wrote: > > On Mon, 23 May 2022, Oleksandr wrote: > > > > > On Thu, 19 May 2022, Oleksandr wrote: > > > > > > > On Wed, May 18, 2022 at 5:06 PM Oleksandr > > > > > > > wrote: > > > > > > > > On 18.05.22 17:32, Arnd Bergmann wrote: > > > > > > > > > On Sat, May 7,

Re: [PATCH V5 6/9] virtio-ccw: implement synchronize_cbs()

2022-05-24 Thread Halil Pasic
On Wed, 18 May 2022 11:59:48 +0800 Jason Wang wrote: > This patch tries to implement the synchronize_cbs() for ccw. For the > vring_interrupt() that is called via virtio_airq_handler(), the > synchronization is simply done via the airq_info's lock. For the > vring_interrupt() that is called via

Re: [PATCH V5 0/9] rework on the IRQ hardening of virtio

2022-05-24 Thread Halil Pasic
On Mon, 23 May 2022 10:53:23 +0200 Halil Pasic wrote: > On Wed, 18 May 2022 11:59:42 +0800 > Jason Wang wrote: > > > Hi All: > > Sorry for being slow on this one. I'm pretty much under water. Will try > to get some regression-testing done till tomorrow end of day. > Did some testing with

Re: [PATCH V2 5/7] dt-bindings: Add xen,dev-domid property description for xen-grant DMA ops

2022-05-24 Thread Rob Herring
+Saravana On Mon, May 23, 2022 at 06:58:13PM -0700, Stefano Stabellini wrote: > On Mon, 23 May 2022, Oleksandr wrote: > > > > On Thu, 19 May 2022, Oleksandr wrote: > > > > > > On Wed, May 18, 2022 at 5:06 PM Oleksandr > > > > > > wrote: > > > > > > > On 18.05.22 17:32, Arnd Bergmann wrote: > >

Re: [RFC PATCH v2 0/5] TUN/VirtioNet USO features support.

2022-05-24 Thread Andrew Melnichenko
Hi all, The issue is that host segments packets between guests on the same host. Tests show that it happens because SKB_GSO_DODGY skb offload in virtio_net_hdr_from_skb(). To do segmentation you need to remove SKB_GSO_DODGY or add SKB_GSO_PARTIAL The solution with DODGY/PARTIAL offload looks like

Re: [PATCH 1/4] vdpa: Add stop operation

2022-05-24 Thread Stefano Garzarella
On Tue, May 24, 2022 at 09:42:06AM +0200, Eugenio Perez Martin wrote: On Tue, May 24, 2022 at 9:09 AM Stefano Garzarella wrote: On Mon, May 23, 2022 at 09:20:14PM +0200, Eugenio Perez Martin wrote: >On Sat, May 21, 2022 at 12:13 PM Si-Wei Liu wrote: >> >> >> >> On 5/20/2022 10:23 AM, Eugenio

Re: [RFC PATCH v1 0/8] virtio/vsock: experimental zerocopy receive

2022-05-24 Thread Stefano Garzarella
On Fri, May 20, 2022 at 11:09:11AM +, Arseniy Krasnov wrote: Hello Stefano, On 19.05.2022 10:42, Stefano Garzarella wrote: On Wed, May 18, 2022 at 11:04:30AM +, Arseniy Krasnov wrote: Hello Stefano, On 17.05.2022 18:14, Stefano Garzarella wrote: Hi Arseniy, On Thu, May 12, 2022 at

Re: [PATCH 1/4] vdpa: Add stop operation

2022-05-24 Thread Stefano Garzarella
On Mon, May 23, 2022 at 09:20:14PM +0200, Eugenio Perez Martin wrote: On Sat, May 21, 2022 at 12:13 PM Si-Wei Liu wrote: On 5/20/2022 10:23 AM, Eugenio Pérez wrote: > This operation is optional: It it's not implemented, backend feature bit > will not be exposed. > > Signed-off-by: Eugenio

Re: [PATCH] virtio-crypto: Fix an error handling path in virtio_crypto_alg_skcipher_close_session()

2022-05-24 Thread Jason Wang
On Sun, May 22, 2022 at 9:07 PM Christophe JAILLET wrote: > > Now that a private buffer is allocated (see commit in the Fixes tag), > it must be released in all error handling paths. > > Add the missing goto to avoid a leak in the error handling path. > > Fixes: 42e6ac99e417 ("virtio-crypto: use