Re: [PATCH] iov_iter: Fix direct I/O across compatible device pgmaps

From: David Hildenbrand (Arm)

Date: Mon Nov 30 2026 - 08:27:54 EST


On 11/30/26 14:18, Christoph Hellwig wrote:
> 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.

Okay, then let's capture that in the comment and ideally the the function name.

--
Cheers,

David