[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdV5oTde6bZEfGoP1vjG=nk_xm5VLibMwrL_VEnFAS7c9g@mail.gmail.com>
Date: Wed, 1 Jun 2022 12:31:23 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Dmitry Osipenko <dmitry.osipenko@...labora.com>
Cc: "Rafael J . Wysocki" <rafael@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1] kernel/reboot: Use static handler for register_platform_power_off()
Hi Dmitry,
On Wed, Jun 1, 2022 at 12:11 AM Dmitry Osipenko
<dmitry.osipenko@...labora.com> wrote:
> The register_platform_power_off() fails on m68k platform due to the
> memory allocation error that happens at a very early boot time when
> memory allocator isn't available yet. Fix it by using a static sys-off
> handler for the platform-level power-off handlers.
>
> Fixes: f0f7e5265b3b ("m68k: Switch to new sys-off handler API")
> Reported-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> Signed-off-by: Dmitry Osipenko <dmitry.osipenko@...labora.com>
Thank you, that fixes the issue.
Reviewed-by: Geert Uytterhoeven <geert@...ux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@...ux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists