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

Leon Romanovsky
2024-07-07T09:16:30Z

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.