linux/arch/m68k/virt
Kuan-Wei Chiu 56f295853f m68k: virt: Switch to qemu-virt-ctrl driver
Register the "qemu-virt-ctrl" platform device during board
initialization to utilize the new generic power/reset driver.

Consequently, remove the legacy reset and power-off implementations
specific to the virt machine. The platform's mach_reset callback is
updated to call do_kernel_restart(), bridging the legacy m68k reboot
path to the generic kernel restart handler framework for this machine.

To prevent any regressions in reboot or power-off functionality when
the driver is not built-in, explicitly select POWER_RESET and
POWER_RESET_QEMU_VIRT_CTRL for the VIRT machine in Kconfig.machine.

Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://patch.msgid.link/20260412211952.3564033-3-visitorckw@gmail.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2026-04-13 12:16:10 +02:00
..
config.c m68k: virt: Switch to qemu-virt-ctrl driver 2026-04-13 12:16:10 +02:00
ints.c m68k: Add common forward declaration for show_registers() 2022-07-12 10:48:21 +02:00
Makefile
platform.c m68k: virt: Switch to qemu-virt-ctrl driver 2026-04-13 12:16:10 +02:00