Re: simplify gendisk and request_queue allocation for blk-mq based drivers

2021-06-04 Thread Konrad Rzeszutek Wilk
On Wed, Jun 02, 2021 at 09:53:15AM +0300, Christoph Hellwig wrote: > Hi all, Hi! You wouldn't have a nice git repo to pull so one can test it easily? Thank you! Cc-ing Boris/Juergen - pls see below xen. > > this series is the scond part of cleaning up lifetimes and allocation of > the gendisk

Re: [PATCH] vdp/mlx5: Fix setting the correct dma_device

2021-06-04 Thread Leon Romanovsky
On Fri, Jun 04, 2021 at 10:35:59AM +0800, Jason Wang wrote: > > 在 2021/6/3 下午7:22, Eli Cohen 写道: > > Before SF support was introduced, the DMA device was equal to > > mdev->device which was in essence equal to pdev->dev; > > With SF introduction this is no longer true. It has already been > > hand

Re: [RFC PATCH 0/7] Untrusted device support for virtio

2021-06-04 Thread Konrad Rzeszutek Wilk
On 4/29/21 12:16 AM, Jason Wang wrote: 在 2021/4/29 上午5:06, Konrad Rzeszutek Wilk 写道: On Wed, Apr 21, 2021 at 11:21:10AM +0800, Jason Wang wrote: Hi All: Sometimes, the driver doesn't trust the device. This is usually happens for the encrtpyed VM or VDUSE[1]. In both cases, technology like swi

Re: [PATCH v10 04/18] af_vsock: implement SEQPACKET receive loop

2021-06-04 Thread Stefano Garzarella
On Thu, May 20, 2021 at 10:16:08PM +0300, Arseny Krasnov wrote: Add receive loop for SEQPACKET. It looks like receive loop for STREAM, but there are differences: 1) It doesn't call notify callbacks. 2) It doesn't care about 'SO_SNDLOWAT' and 'SO_RCVLOWAT' values, because there is no sense for t

Re: [PATCH v10 11/18] virtio/vsock: dequeue callback for SOCK_SEQPACKET

2021-06-04 Thread Stefano Garzarella
On Fri, Jun 04, 2021 at 04:12:23PM +0300, Arseny Krasnov wrote: On 03.06.2021 17:45, Stefano Garzarella wrote: On Thu, May 20, 2021 at 10:17:58PM +0300, Arseny Krasnov wrote: Callback fetches RW packets from rx queue of socket until whole record is copied(if user's buffer is full, user is not

Re: [PATCH] vdpa: mandate 1.0 device

2021-06-04 Thread Stefano Garzarella
On Fri, Jun 04, 2021 at 01:02:51PM +0800, Jason Wang wrote: This patch mandates 1.0 for vDPA devices. The plan is never to support transitional devices for vDPA devices in the future. The reasons are: - To have the semantic of normative statement in the virtio spec and eliminate the burden of