Re: [RFC PATCH v1 00/18] Provide a new two step DMA API mapping API

Christoph Hellwig
2024-07-06T06:26:09Z

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.