[RFC PATCH v1 00/18] Provide a new two step DMA API mapping API
Leon Romanovsky
leon at kernel.org
Sun Jul 7 02:16:26 PDT 2024
On Sat, Jul 06, 2024 at 08:26:04AM +0200, Christoph Hellwig wrote:
> On Fri, Jul 05, 2024 at 10:53:06PM +0000, Chaitanya Kulkarni wrote:
> > I tried to reproduce this issue somehow it is not reproducible.
> >
> > I'll try again on Leon's setup on my Saturday night, to fix that
> > case.
>
> It is passthrough I/O from userspace. The address is not page aligned
> as seen in the printk. Forcing bounce buffering of all passthrough
> I/O makes it go away.
>
> The problem is the first mapped segment does not have to be aligned
> and we're missing the code to places it at the aligned offset into
> the IOVA space.
Thanks for the explanation.
More information about the Linux-nvme
mailing list