Re: [PATCH vhost v13 04/12] virtio_ring: support add premapped buf

2024-06-06 Thread Alexander Potapenko
On Thu, Jun 6, 2024 at 10:27 AM Xuan Zhuo wrote: > > On Thu, 6 Jun 2024 10:20:21 +0200, Alexander Potapenko > wrote: > > > Could you try this? > > > > Hi Xuan, > > > > What kernel revision does this patch apply to? I tried it against > > v6.10-rc2, and only the first hunk applied. > > However th

Re: [PATCH vhost v13 04/12] virtio_ring: support add premapped buf

2024-06-06 Thread Xuan Zhuo
On Thu, 6 Jun 2024 10:20:21 +0200, Alexander Potapenko wrote: > > Could you try this? > > Hi Xuan, > > What kernel revision does this patch apply to? I tried it against > v6.10-rc2, and only the first hunk applied. > However this seems to fix the problem, at least the kernel boots without > warni

Re: [PATCH vhost v13 04/12] virtio_ring: support add premapped buf

2024-06-06 Thread Alexander Potapenko
> > Could you try this? (resending without HTML, sorry for inconvenience). Hi Xuan, What kernel revision does this patch apply to? I tried it against v6.10-rc2, and only the first hunk applied. However this seems to fix the problem, at least the kernel boots without warnings now. > Thanks. > > d

Re: [PATCH vhost v13 04/12] virtio_ring: support add premapped buf

2024-06-05 Thread Xuan Zhuo
On Tue, 04 Jun 2024 18:07:44 +0200, Ilya Leoshkevich wrote: > On Thu, 2023-08-10 at 20:30 +0800, Xuan Zhuo wrote: > > If the vq is the premapped mode, use the sg_dma_address() directly. > > > > Signed-off-by: Xuan Zhuo > > --- > >  drivers/virtio/virtio_ring.c | 19 +-- > >  1 file

Re: [PATCH vhost v13 04/12] virtio_ring: support add premapped buf

2024-06-05 Thread Ilya Leoshkevich
On Tue, 2024-06-04 at 18:17 +0200, Alexander Potapenko wrote: > On Tue, Jun 4, 2024 at 6:07 PM Ilya Leoshkevich > wrote: > > > > On Thu, 2023-08-10 at 20:30 +0800, Xuan Zhuo wrote: > > > If the vq is the premapped mode, use the sg_dma_address() > > > directly. > > > > > > Signed-off-by: Xuan Zhu

Re: [PATCH vhost v13 04/12] virtio_ring: support add premapped buf

2024-06-04 Thread Alexander Potapenko
On Tue, Jun 4, 2024 at 6:07 PM Ilya Leoshkevich wrote: > > On Thu, 2023-08-10 at 20:30 +0800, Xuan Zhuo wrote: > > If the vq is the premapped mode, use the sg_dma_address() directly. > > > > Signed-off-by: Xuan Zhuo > > --- > > drivers/virtio/virtio_ring.c | 19 +-- > > 1 file ch

Re: [PATCH vhost v13 04/12] virtio_ring: support add premapped buf

2024-06-04 Thread Ilya Leoshkevich
On Thu, 2023-08-10 at 20:30 +0800, Xuan Zhuo wrote: > If the vq is the premapped mode, use the sg_dma_address() directly. > > Signed-off-by: Xuan Zhuo > --- >  drivers/virtio/virtio_ring.c | 19 +-- >  1 file changed, 17 insertions(+), 2 deletions(-) > > diff --git a/drivers/virti