[PATCH v9] um: Enable preemption in UML

2024-04-02 Thread anton . ivanov
From: Anton Ivanov 1. Preemption requires saving/restoring FPU state. This patch adds support for it using GCC intrinsics as well as appropriate storage space in the thread structure. We reuse the space which is already allocated for the userspace threads in the thread_info structure. 2. irq cri

Re: [PATCH vhost v7 4/6] virtio: vring_create_virtqueue: pass struct instead of multi parameters

2024-04-02 Thread Halil Pasic
On Thu, 28 Mar 2024 16:03:46 +0800 Xuan Zhuo wrote: > --- a/drivers/s390/virtio/virtio_ccw.c > +++ b/drivers/s390/virtio/virtio_ccw.c > @@ -503,6 +503,7 @@ static struct virtqueue *virtio_ccw_setup_vq(struct > virtio_device *vdev, >struct virtio_vq_con

Re: [PATCH vhost v7 3/6] virtio: find_vqs: pass struct instead of multi parameters

2024-04-02 Thread Halil Pasic
On Thu, 28 Mar 2024 16:03:45 +0800 Xuan Zhuo wrote: > --- a/drivers/s390/virtio/virtio_ccw.c > +++ b/drivers/s390/virtio/virtio_ccw.c > @@ -499,9 +499,8 @@ static void virtio_ccw_del_vqs(struct virtio_device *vdev) > } > > static struct virtqueue *virtio_ccw_setup_vq(struct virtio_device *vde

Re: [PATCH v2 24/25] fuse: virtio: drop owner assignment

2024-04-02 Thread Stefan Hajnoczi
On Sun, Mar 31, 2024 at 10:44:11AM +0200, Krzysztof Kozlowski wrote: > virtio core already sets the .owner, so driver does not need to. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Depends on the first patch. > --- > fs/fuse/virtio_fs.c | 1 - > 1 file changed, 1 deletion(-) Reviewed-by

Re: [PATCH v2 23/25] scsi: virtio: drop owner assignment

2024-04-02 Thread Stefan Hajnoczi
On Sun, Mar 31, 2024 at 10:44:10AM +0200, Krzysztof Kozlowski wrote: > virtio core already sets the .owner, so driver does not need to. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Depends on the first patch. > --- > drivers/scsi/virtio_scsi.c | 1 - > 1 file changed, 1 deletion(-) Revi

Re: [PATCH v2 19/25] vsock/virtio: drop owner assignment

2024-04-02 Thread Stefan Hajnoczi
On Sun, Mar 31, 2024 at 10:44:06AM +0200, Krzysztof Kozlowski wrote: > virtio core already sets the .owner, so driver does not need to. > > Acked-by: Stefano Garzarella > Signed-off-by: Krzysztof Kozlowski > --- > > Depends on the first patch. > --- > net/vmw_vsock/virtio_transport.c | 1 - >

Re: [PATCH v2 06/25] virtio_blk: drop owner assignment

2024-04-02 Thread Stefan Hajnoczi
On Sun, Mar 31, 2024 at 10:43:53AM +0200, Krzysztof Kozlowski wrote: > virtio core already sets the .owner, so driver does not need to. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Depends on the first patch. > --- > drivers/block/virtio_blk.c | 1 - > 1 file changed, 1 deletion(-) Revi

Re: [PATCH vhost v7 2/6] virtio: remove support for names array entries being null.

2024-04-02 Thread Halil Pasic
On Thu, 28 Mar 2024 16:03:44 +0800 Xuan Zhuo wrote: > --- a/drivers/s390/virtio/virtio_ccw.c > +++ b/drivers/s390/virtio/virtio_ccw.c > @@ -659,7 +659,7 @@ static int virtio_ccw_find_vqs(struct virtio_device > *vdev, unsigned nvqs, > { > struct virtio_ccw_device *vcdev = to_vc_device(vdev