Re: [PATCH v8 09/10] vduse: Introduce VDUSE - vDPA Device in Userspace

2021-06-21 Thread Jason Wang
在 2021/6/21 下午6:41, Yongji Xie 写道: On Mon, Jun 21, 2021 at 5:14 PM Jason Wang wrote: 在 2021/6/15 下午10:13, Xie Yongji 写道: This VDUSE driver enables implementing vDPA devices in userspace. The vDPA device's control path is handled in kernel and the data path is handled in userspace. A message

Re: Patches that were reviewed

2021-06-21 Thread Michael S. Tsirkin
On Mon, Jun 21, 2021 at 03:52:37PM +0300, Eli Cohen wrote: > Hi Michael, > > There have been several patches that were sent and reviewed during the > last few weeks. I can't find them in your linux-next branch and we're > already in 5.13-rc7. > > Can you advice how I can track which patches you i

Re: [External] Re: [RFC v1 3/6] vhost/vsock: add support for vhost dgram.

2021-06-21 Thread Jiang Wang .
On Fri, Jun 18, 2021 at 3:14 AM Stefano Garzarella wrote: > > We should use le16_to_cpu when accessing pkt->hdr fields. OK. Will do. > On Wed, Jun 09, 2021 at 11:24:55PM +, Jiang Wang wrote: > >This patch supports dgram on vhost side, including > >tx and rx. The vhost send packets asynchrono

Re: [External] Re: [RFC v1 6/6] virtio/vsock: add sysfs for rx buf len for dgram

2021-06-21 Thread Jiang Wang .
On Fri, Jun 18, 2021 at 3:04 AM Stefano Garzarella wrote: > > On Wed, Jun 09, 2021 at 11:24:58PM +, Jiang Wang wrote: > >Make rx buf len configurable via sysfs > > > >Signed-off-by: Jiang Wang > >--- > > net/vmw_vsock/virtio_transport.c | 37 +++-- > > 1 file ch

Re: [External] Re: [RFC v1 5/6] vhost/vsock: add kconfig for vhost dgram support

2021-06-21 Thread Jiang Wang .
On Fri, Jun 18, 2021 at 2:54 AM Stefano Garzarella wrote: > > On Wed, Jun 09, 2021 at 11:24:57PM +, Jiang Wang wrote: > >Also change number of vqs according to the config > > > >Signed-off-by: Jiang Wang > >--- > > drivers/vhost/Kconfig | 8 > > drivers/vhost/vsock.c | 11 ---

Re: [PATCH V3 1/3] gpio: Add virtio-gpio driver

2021-06-21 Thread Bjorn Andersson
On Wed 16 Jun 10:52 CDT 2021, Enrico Weigelt, metux IT consult wrote: > On 16.06.21 05:30, Bjorn Andersson wrote: > > > Combined with the virtio-i2c effort this could provide an alternative by > > simply tunneling the busses and GPIOs into Linux and use standard iio > > drivers, for cases where t

Re: [External] Re: [RFC v1 1/6] virtio/vsock: add VIRTIO_VSOCK_F_DGRAM feature bit

2021-06-21 Thread Jiang Wang .
On Fri, Jun 18, 2021 at 2:40 AM Stefano Garzarella wrote: > > On Wed, Jun 09, 2021 at 11:24:53PM +, Jiang Wang wrote: > >When this feature is enabled, allocate 5 queues, > >otherwise, allocate 3 queues to be compatible with > >old QEMU versions. > > > >Signed-off-by: Jiang Wang > >--- > > dri

Re: [External] Re: [RFC v1 0/6] virtio/vsock: introduce SOCK_DGRAM support

2021-06-21 Thread Jiang Wang .
On Fri, Jun 18, 2021 at 2:35 AM Stefano Garzarella wrote: > > On Wed, Jun 09, 2021 at 11:24:52PM +, Jiang Wang wrote: > >This patchset implements support of SOCK_DGRAM for virtio > >transport. > > > >Datagram sockets are connectionless and unreliable. To avoid unfair > >contention > >with str

Re: [External] Re: [RFC PATCH v1] vsock: add mergeable rx buffer description

2021-06-21 Thread Jiang Wang .
On Thu, Jun 10, 2021 at 11:17 PM Jason Wang wrote: > > > 在 2021/6/11 上午2:39, Jiang Wang 写道: > > Mergeable rx buffer is already supported by virtio-net, and > > it can save memory for big packets. It will also be beneficial > > for the vsock devices, so add it to the spec. > > > A lot of duplicatio

Re: [PATCH v7 0/2] x86/sev: Fixes for SEV-ES Guest Support

2021-06-21 Thread Joerg Roedel
On Mon, Jun 21, 2021 at 03:13:18PM +0200, Peter Zijlstra wrote: > On Fri, Jun 18, 2021 at 01:54:07PM +0200, Joerg Roedel wrote: > > Joerg Roedel (2): > > x86/sev: Make sure IRQs are disabled while GHCB is active > > x86/sev: Split up runtime #VC handler for correct state tracking > > Acked-by:

Re: [PATCH 7/9] vhost: allow userspace to create workers

2021-06-21 Thread Stefan Hajnoczi
On Thu, Jun 17, 2021 at 09:49:07PM -0500, Mike Christie wrote: > Again it's io_uring. Check out fs/io_uring.c:__io_account_mem(). For > RLIMIT_MEMLOCK > it just does the check and increments the user's counter itself. It's simple > like > option 2, and it handles the issue where the process doing

Re: [PATCH v7 0/2] x86/sev: Fixes for SEV-ES Guest Support

2021-06-21 Thread Peter Zijlstra
On Fri, Jun 18, 2021 at 01:54:07PM +0200, Joerg Roedel wrote: > Joerg Roedel (2): > x86/sev: Make sure IRQs are disabled while GHCB is active > x86/sev: Split up runtime #VC handler for correct state tracking Acked-by: Peter Zijlstra (Intel) ___ Vir

Re: [PATCH v7 1/2] x86/sev: Make sure IRQs are disabled while GHCB is active

2021-06-21 Thread Borislav Petkov
On Fri, Jun 18, 2021 at 01:54:08PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > The #VC handler only cares about IRQs being disabled while the GHCB is > active, as it must not be interrupted by something which could cause > another #VC while it holds the GHCB (NMI is the exception for whic

Re: [MASSMAIL KLMS] Re: [PATCH v11 11/18] virtio/vsock: dequeue callback for SOCK_SEQPACKET

2021-06-21 Thread Stefano Garzarella
On Mon, Jun 21, 2021 at 09:55:13AM +0300, Arseny Krasnov wrote: On 18.06.2021 19:26, Arseny Krasnov wrote: On 18.06.2021 19:25, Stefano Garzarella wrote: On Fri, Jun 18, 2021 at 07:08:30PM +0300, Arseny Krasnov wrote: On 18.06.2021 18:55, Stefano Garzarella wrote: On Fri, Jun 18, 2021 at 06:

Re: [PATCH] remove "#include"

2021-06-21 Thread Jason Wang
在 2021/6/21 下午3:49, Cai Huoqing 写道: virtio_config.h already includes virtio.h. so remove it Signed-off-by: Cai Huoqing I think we should not depend on such dependency. Thanks --- drivers/vdpa/virtio_pci/vp_vdpa.c | 1 - drivers/virtio/virtio.c| 1 - drivers/virtio/virti

Re: [PATCH v8 09/10] vduse: Introduce VDUSE - vDPA Device in Userspace

2021-06-21 Thread Jason Wang
在 2021/6/15 下午10:13, Xie Yongji 写道: This VDUSE driver enables implementing vDPA devices in userspace. The vDPA device's control path is handled in kernel and the data path is handled in userspace. A message mechnism is used by VDUSE driver to forward some control messages such as starting/stopp