Re: [PATCH vhost 02/22] virtio_ring: introduce virtqueue_dma_[un]map_page_attrs

2023-10-18 Thread Xuan Zhuo
On Wed, 18 Oct 2023 05:13:44 -0400, "Michael S. Tsirkin" wrote: > On Wed, Oct 18, 2023 at 04:57:21PM +0800, Xuan Zhuo wrote: > > On Wed, 18 Oct 2023 04:44:24 -0400, "Michael S. Tsirkin" > > wrote: > > > On Wed, Oct 18, 2023 at 04:00:22PM +0800, Xuan Zhuo wrote: > > > > On Wed, 18 Oct 2023

Re: [PATCH vhost 02/22] virtio_ring: introduce virtqueue_dma_[un]map_page_attrs

2023-10-18 Thread Michael S. Tsirkin
On Wed, Oct 18, 2023 at 04:57:21PM +0800, Xuan Zhuo wrote: > On Wed, 18 Oct 2023 04:44:24 -0400, "Michael S. Tsirkin" > wrote: > > On Wed, Oct 18, 2023 at 04:00:22PM +0800, Xuan Zhuo wrote: > > > On Wed, 18 Oct 2023 03:59:03 -0400, "Michael S. Tsirkin" > > > wrote: > > > > On Wed, Oct 18, 2023

Re: [PATCH vhost 02/22] virtio_ring: introduce virtqueue_dma_[un]map_page_attrs

2023-10-18 Thread Xuan Zhuo
On Wed, 18 Oct 2023 04:44:24 -0400, "Michael S. Tsirkin" wrote: > On Wed, Oct 18, 2023 at 04:00:22PM +0800, Xuan Zhuo wrote: > > On Wed, 18 Oct 2023 03:59:03 -0400, "Michael S. Tsirkin" > > wrote: > > > On Wed, Oct 18, 2023 at 03:53:00PM +0800, Xuan Zhuo wrote: > > > > Hi Michael, > > > > > >

Re: [PATCH vhost 02/22] virtio_ring: introduce virtqueue_dma_[un]map_page_attrs

2023-10-18 Thread Michael S. Tsirkin
On Wed, Oct 18, 2023 at 04:00:22PM +0800, Xuan Zhuo wrote: > On Wed, 18 Oct 2023 03:59:03 -0400, "Michael S. Tsirkin" > wrote: > > On Wed, Oct 18, 2023 at 03:53:00PM +0800, Xuan Zhuo wrote: > > > Hi Michael, > > > > > > Do you think it's appropriate to push the first two patches of this patch >

Re: [PATCH vhost 02/22] virtio_ring: introduce virtqueue_dma_[un]map_page_attrs

2023-10-18 Thread Xuan Zhuo
On Wed, 18 Oct 2023 03:59:03 -0400, "Michael S. Tsirkin" wrote: > On Wed, Oct 18, 2023 at 03:53:00PM +0800, Xuan Zhuo wrote: > > Hi Michael, > > > > Do you think it's appropriate to push the first two patches of this patch > > set to > > linux 6.6? > > > > Thanks. > > I generally treat

Re: [PATCH vhost 02/22] virtio_ring: introduce virtqueue_dma_[un]map_page_attrs

2023-10-18 Thread Michael S. Tsirkin
On Wed, Oct 18, 2023 at 03:53:00PM +0800, Xuan Zhuo wrote: > Hi Michael, > > Do you think it's appropriate to push the first two patches of this patch set > to > linux 6.6? > > Thanks. I see this is with the eye towards merging this gradually. However, I want the patchset to be ready first,

Re: [PATCH vhost 02/22] virtio_ring: introduce virtqueue_dma_[un]map_page_attrs

2023-10-18 Thread Michael S. Tsirkin
On Wed, Oct 18, 2023 at 03:53:00PM +0800, Xuan Zhuo wrote: > Hi Michael, > > Do you think it's appropriate to push the first two patches of this patch set > to > linux 6.6? > > Thanks. I generally treat patchsets as a whole unless someone asks me to do otherwise. Why do you want this? -- MST

Re: [PATCH vhost 02/22] virtio_ring: introduce virtqueue_dma_[un]map_page_attrs

2023-10-18 Thread Xuan Zhuo
Hi Michael, Do you think it's appropriate to push the first two patches of this patch set to linux 6.6? Thanks. On Wed, 11 Oct 2023 17:27:08 +0800, Xuan Zhuo wrote: > Introduce virtqueue_dma_[un]map_page_attrs() to do dma/unmap for pages. > > Signed-off-by: Xuan Zhuo > --- >

[PATCH vhost 02/22] virtio_ring: introduce virtqueue_dma_[un]map_page_attrs

2023-10-11 Thread Xuan Zhuo
Introduce virtqueue_dma_[un]map_page_attrs() to do dma/unmap for pages. Signed-off-by: Xuan Zhuo --- drivers/virtio/virtio_ring.c | 52 include/linux/virtio.h | 7 + 2 files changed, 59 insertions(+) diff --git a/drivers/virtio/virtio_ring.c