microblaze: reset: Call POWER_OFF handlers

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 <linux@weissschuh.net>
Acked-by: David Gow <david@davidgow.net>
Link: https://patch.msgid.link/20260914-kunit-microblaze-v2-3-7d5756e858f8@weissschuh.net
Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
Thomas Weißschuh 2026-09-14 01:50:10 +02:00 committed by Michal Simek
parent b9eababe8c
commit 4ebcbacb0b

View File

@ -28,6 +28,7 @@ void machine_halt(void)
void machine_power_off(void)
{
pr_notice("Machine power off...\n");
do_kernel_power_off();
while (1)
;
}