Re: [PATCH 2/5] get_driver_features from virito registers

2023-04-24 Thread Zhu, Lingshan
On 4/24/2023 12:50 PM, Michael S. Tsirkin wrote: subj typo: virtio will fix in V2, thanks! On Sat, Apr 01, 2023 at 04:48:51AM +0800, Zhu Lingshan wrote: This commit implements a new function ifcvf_get_driver_feature() which read driver_features from virtio registers. To be less ambiguous,

Re: [PATCH 0/5] vDPA/ifcvf: implement immediate initialization mechanism

2023-04-24 Thread Zhu, Lingshan
On 4/24/2023 12:51 PM, Michael S. Tsirkin wrote: On Sat, Apr 01, 2023 at 04:48:49AM +0800, Zhu Lingshan wrote: Formerly, ifcvf driver has implemented a lazy-initialization mechanism for the virtqueues and other config space contents, it would store all configurations that passed down from the

Re: [PATCH 0/5] vDPA/ifcvf: implement immediate initialization mechanism

2023-04-24 Thread Michael S. Tsirkin
On Mon, Apr 24, 2023 at 01:20:12PM +0800, Jason Wang wrote: > On Mon, Apr 24, 2023 at 12:53 PM Michael S. Tsirkin wrote: > > > > On Mon, Apr 24, 2023 at 11:50:20AM +0800, Jason Wang wrote: > > > On Thu, Apr 20, 2023 at 5:17 PM Zhu, Lingshan > > > wrote: > > > > > > > > > > > > > > > > On 4/3/202

Re: [EXT] [RFC PATCH 0/3] Introduce a PCIe endpoint virtio console

2023-04-24 Thread Shunsuke Mie
2023年4月19日(水) 1:42 Frank Li : > > > > > -Original Message- > > From: Shunsuke Mie > > Sent: Tuesday, April 18, 2023 5:31 AM > > To: Frank Li ; Lorenzo Pieralisi > > Cc: Krzysztof Wilczyński ; Manivannan Sadhasivam > > ; Kishon Vijay Abraham I ; Bjorn > > Helgaas ; Michael S. Tsirkin ; > >

Re: [PATCH v6 0/3] Add sync object UAPI support to VirtIO-GPU driver

2023-04-24 Thread Gurchetan Singh
On Wed, Apr 19, 2023 at 2:22 PM Dmitry Osipenko wrote: > > Hello Gurchetan, > > On 4/18/23 02:17, Gurchetan Singh wrote: > > On Sun, Apr 16, 2023 at 4:53 AM Dmitry Osipenko < > > dmitry.osipe...@collabora.com> wrote: > > > >> We have multiple Vulkan context types that are awaiting for the addition

Re: [PATCH] can: virtio-can: cleanups

2023-04-24 Thread Michael S. Tsirkin
On Mon, Apr 24, 2023 at 09:47:58PM +0200, Marc Kleine-Budde wrote: > Address the topics raised in > > https://lore.kernel.org/20230424-footwear-daily-9339bd0ec428-...@pengutronix.de > > Signed-off-by: Marc Kleine-Budde given base patch is rfc this should be too? > ---

Re: [GIT PULL] fork: user workers & vhost

2023-04-24 Thread pr-tracker-bot
The pull request you sent on Fri, 21 Apr 2023 15:37:12 +0200: > g...@gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux > tags/v6.4/kernel.user_worker has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3323ddce085cdb1c2c1bb7a88233023566a9 Thank you! -- Deet

Re: [PATCH 2/3] vhost: support PACKED when setting-getting vring_base

2023-04-24 Thread Shannon Nelson via Virtualization
On 4/22/23 11:36 PM, Jason Wang wrote: On Sat, Apr 22, 2023 at 3:57 AM Shannon Nelson wrote: Use the right structs for PACKED or split vqs when setting and getting the vring base. Signed-off-by: Shannon Nelson --- drivers/vhost/vhost.c | 18 +- 1 file changed, 13 insertion

[GIT PULL] virtio,vhost,vdpa: features, fixes, cleanups

2023-04-24 Thread Michael S. Tsirkin
Most exciting stuff this time around has to do with performance. The following changes since commit 6a8f57ae2eb07ab39a6f0ccad60c760743051026: Linux 6.3-rc7 (2023-04-16 15:23:53 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/

Re: [PATCH 3/3] vhost_vdpa: support PACKED when setting-getting vring_base

2023-04-24 Thread Shannon Nelson via Virtualization
On 4/22/23 11:40 PM, Jason Wang wrote: On Sat, Apr 22, 2023 at 3:57 AM Shannon Nelson wrote: Use the right structs for PACKED or split vqs when setting and getting the vring base. Signed-off-by: Shannon Nelson --- drivers/vhost/vdpa.c | 19 +++ 1 file changed, 15 insertion

[PATCH v2 2/3] vhost: support PACKED when setting-getting vring_base

2023-04-24 Thread Shannon Nelson via Virtualization
Use the right structs for PACKED or split vqs when setting and getting the vring base. Signed-off-by: Shannon Nelson --- drivers/vhost/vhost.c | 18 +- drivers/vhost/vhost.h | 8 ++-- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/drivers/vhost/vhost.c b/dri

[PATCH v2 1/3] vhost_vdpa: tell vqs about the negotiated

2023-04-24 Thread Shannon Nelson via Virtualization
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 PACKED vs split queues. Signed-off-by: Shannon Nelson Acked-by: Jason Wang --- dr

[PATCH v2 3/3] vhost_vdpa: support PACKED when setting-getting vring_base

2023-04-24 Thread Shannon Nelson via Virtualization
Use the right structs for PACKED or split vqs when setting and getting the vring base. Signed-off-by: Shannon Nelson --- drivers/vhost/vdpa.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c index 599b8cc238c7.

[PATCH v2 0/3] vhost_vdpa: better PACKED support

2023-04-24 Thread Shannon Nelson via Virtualization
While testing our vDPA driver with QEMU we found that vhost_vdpa was missing some support for PACKED VQs. Adding these helped us get further in our testing. The first patch makes sure that the vhost_vdpa vqs are given the feature flags, as done in other vhost variants. The second and third patch

Re: [PATCH net-next] xsk: introduce xsk_dma_ops

2023-04-24 Thread Xuan Zhuo
On Mon, 24 Apr 2023 17:28:01 +0200, Alexander Lobakin wrote: > From: Jakub Kicinski > Date: Fri, 21 Apr 2023 06:50:59 -0700 > > > On Fri, 21 Apr 2023 15:31:04 +0800 Xuan Zhuo wrote: > >> I am not particularly familiar with dma-bufs. I want to know if this > >> mechanism > >> can solve the probl

Re: [PATCH v2 2/3] vhost: support PACKED when setting-getting vring_base

2023-04-24 Thread Jason Wang
On Tue, Apr 25, 2023 at 6:50 AM Shannon Nelson wrote: > > Use the right structs for PACKED or split vqs when setting and > getting the vring base. > > Signed-off-by: Shannon Nelson Acked-by: Jason Wang Thanks > --- > drivers/vhost/vhost.c | 18 +- > drivers/vhost/vhost.h | 8

Re: [PATCH v2 3/3] vhost_vdpa: support PACKED when setting-getting vring_base

2023-04-24 Thread Jason Wang
On Tue, Apr 25, 2023 at 6:50 AM Shannon Nelson wrote: > > Use the right structs for PACKED or split vqs when setting and > getting the vring base. > > Signed-off-by: Shannon Nelson Acked-by: Jason Wang Thanks > --- > drivers/vhost/vdpa.c | 21 + > 1 file changed, 17 inser

Re: [PATCH v2 0/3] vhost_vdpa: better PACKED support

2023-04-24 Thread Michael S. Tsirkin
On Mon, Apr 24, 2023 at 03:50:28PM -0700, Shannon Nelson wrote: > While testing our vDPA driver with QEMU we found that vhost_vdpa was > missing some support for PACKED VQs. Adding these helped us get further > in our testing. The first patch makes sure that the vhost_vdpa vqs are > given the fea