Re: [PATCH v3 07/13] mm: introduce io_remap_pfn_range_[prepare, complete]()
From: Pedro Falcato
Date: Wed Sep 17 2025 - 07:12:41 EST
On Tue, Sep 16, 2025 at 03:11:53PM +0100, Lorenzo Stoakes wrote:
> We introduce the io_remap*() equivalents of remap_pfn_range_prepare() and
> remap_pfn_range_complete() to allow for I/O remapping via mmap_prepare.
>
> We have to make some architecture-specific changes for those architectures
> which define customised handlers.
>
> It doesn't really make sense to make this internal-only as arches specify
> their version of these functions so we declare these in mm.h.
Similar question to the remap_pfn_range patch.
>
> Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
Looks ok, but again, i'm no expert on this.
Acked-by: Pedro Falcato <pfalcato@xxxxxxx>
--
Pedro