Re: [PATCH] iov_iter: Fix direct I/O across compatible device pgmaps
From: Christoph Hellwig
Date: Mon Nov 30 2026 - 08:18:25 EST
On Sun, Nov 29, 2026 at 11:32:20AM +0100, David Hildenbrand (Arm) wrote:
> Yeah, can we rename the function while moving it? in bio.h the "bio" context was
> quite clear. In memremap.h it's a bit weird.
>
> If this is all about bios, I'd squeeze that into the filename and make it
> clearer for *what* they are compatible.
This is not about bios at all. And despite the extremely misleading
subject it also has nothing to do with direct I/O at all. Fundamentally
is is about dma mapping, as each incompatible pgmap or pgmap vs non-pgmap
pages can't be mapped in the same IOMMU transaction.