Re: [PATCH] openrisc: Use do_kernel_power_off()

2024-04-15 Thread Stafford Horne
On Sun, Apr 14, 2024 at 07:52:03PM +0200, Sebastian Reichel wrote: > Hi, > > On Sun, Mar 31, 2024 at 08:02:28AM +0100, Stafford Horne wrote: > > After commit 14c5678720bd ("power: reset: syscon-poweroff: Use > > devm_register_sys_off_handler(POWER_OFF)") setting up of pm_power_off > > was removed

Re: [PATCH] openrisc: Use do_kernel_power_off()

2024-04-14 Thread Sebastian Reichel
Hi, On Sun, Mar 31, 2024 at 08:02:28AM +0100, Stafford Horne wrote: > After commit 14c5678720bd ("power: reset: syscon-poweroff: Use > devm_register_sys_off_handler(POWER_OFF)") setting up of pm_power_off > was removed from the driver, this causes OpenRISC platforms using > syscon-poweroff to no l

[PATCH] openrisc: Use do_kernel_power_off()

2024-03-31 Thread Stafford Horne
After commit 14c5678720bd ("power: reset: syscon-poweroff: Use devm_register_sys_off_handler(POWER_OFF)") setting up of pm_power_off was removed from the driver, this causes OpenRISC platforms using syscon-poweroff to no longer shutdown. The kernel now supports chained power-off handlers. Use do_k