Re: [PATCH 09/14] soc: aspeed: convert LPC and P2A control mmap hooks to mmap_prepare

From: Andrew Jeffery

Date: Mon Nov 09 2026 - 00:22:24 EST


On Thu, 2026-11-05 at 21:05 +0000, Lorenzo Stoakes (ARM) wrote:
> Move from the deprecated mmap hook to the new mmap_prepare hook for both
> the LPC control and P2A control drivers.
>
> Both remap a range of their reserved memory region, so use the PFN remap
> mmap action to do so, retaining the -EAGAIN error on failure via the action
> error override.
>
> Signed-off-by: Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx>

Acked-by: Andrew Jeffery <andrew@xxxxxxxxxxxxxxxxxxxx>