Re: [PATCH v3 1/2] power: reset: Add QEMU virt-ctrl driver
Geert Uytterhoeven <[email protected]>
| Newsgroups | org.kernel.vger.linux-m68k,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm |
|---|---|
| Message-ID | <CAMuHMdUSTdrv9Dswez-QrcFTPwnnFy7m5gc-ScMwBfQLDayQZQ@mail.gmail.com> |
On Thu, 2 Apr 2026 at 23:52, Sebastian Reichel <[email protected]> wrote: > On Sun, Feb 22, 2026 at 05:32:24PM +0000, Kuan-Wei Chiu wrote: > > Add a new driver for the 'virt-ctrl' device found on QEMU virt machines > > (e.g. m68k). This device provides a simple interface for system reset > > and power off [1]. > > > > This driver utilizes the modern system-off API to register callbacks > > for both system restart and power off. It also registers a reboot > > notifier to catch SYS_HALT events, ensuring that LINUX_REBOOT_CMD_HALT > > is properly handled. It is designed to be generic and can be reused by > > other architectures utilizing this QEMU device. > > > > Link: https://gitlab.com/qemu-project/qemu/-/blob/v10.2.0/hw/misc/virt_ctrl.c [1] > > Signed-off-by: Kuan-Wei Chiu <[email protected]> > > --- > > I think this should be merged with the second patch via the m68k > tree: > > Acked-by: Sebastian Reichel <[email protected]> Thanks, will queue in the m68k tree for v7.2. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds