Re: [PATCH v2 08/13] soc: aspeed: convert LPC and P2A control mmap hooks to mmap_prepare
From: Arnd Bergmann
Date: Tue Nov 24 2026 - 13:53:58 EST
On Tue, Nov 24, 2026, at 15:02, 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.
>
> Acked-by: Andrew Jeffery <andrew@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx>
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>