[PATCH v1 1/4] PM: hibernate: Add arch specific hooks for hibernate_map/unmap_page

Vincent Donnefort vdonnefort at google.com
Mon Nov 30 08:31:00 PST 2026


On Tue, Sep 22, 2026 at 08:55:03AM +0300, Mike Rapoport wrote:
> Hi Vincent,
> 
> On Fri, Sep 18, 2026 at 02:16:53PM +0100, Vincent Donnefort wrote:
> > hibernate_map_page() is called from an atomic context. This is
> > problematic for Arm BBML3 systems where the linear map may contain
> > blocks and is allowed to split as splitting is a sleepable operation.
> > 
> > Add arch hook so arm64 can define its own implementation without relying
> > on the direct map.
> 
> I posted patches that remove set_direct_map usage from hibernation:
> 
> https://lore.kernel.org/all/20260917-hibernation-v1-0-7f7dfae3dbe0@kernel.org
>  
> So I really hope this patch won't be needed :)

I see this was queued. So I will drop the first two commits of this series.

-- 
Vincent

[...]



More information about the linux-arm-kernel mailing list