Re: [PATCH 2/4] microblaze: reset: Call POWER_OFF handlers
David Gow <[email protected]> Wed, 5 Aug 2026 21:59:04 +0800
| Newsgroups | org.kernel.vger.linux-kselftest,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Le 04/08/2026 à 13:32, Thomas Weißschuh a écrit : > System power off might be implemented through sys_off handlers. > > Currently these are not respected on microblaze. > > On power_off call into the generic power off function which will execute > all regustered handlers. > > Signed-off-by: Thomas Weißschuh <[email protected]> > --- Seems sensible enough. Acked-by: David Gow <[email protected]> Cheers, -- David > arch/microblaze/kernel/reset.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/microblaze/kernel/reset.c b/arch/microblaze/kernel/reset.c > index 2f66c7963084..3612a20ca16d 100644 > --- a/arch/microblaze/kernel/reset.c > +++ b/arch/microblaze/kernel/reset.c > @@ -27,6 +27,7 @@ void machine_halt(void) > > void machine_power_off(void) > { > + do_kernel_power_off(); > pr_notice("Machine power off...\n"); > while (1) > ; >