mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
microblaze is missing a generic architecture-wide power off mechanism. To enable KUnit for microblaze it is necessary for KUnit to shut down the machine in a way that QEMU will recognize. The machines emulated by QEMU do not provide machine-specific power off functionality which could be used. However at least the petalogix-s3adsp1800 machine will abort if an unaligned instruction is executed. An ugly message will be printed but that is not an issue for KUnit. Make use of this to provide a power off handler. Signed-off-by: Thomas Weißschuh <[email protected]> Tested-by: David Gow <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Michal Simek <[email protected]>