diff options
author | Josh Triplett <josh@joshtriplett.org> | 2020-02-11 15:38:06 -0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-02-13 23:36:23 +0100 |
commit | a1b93e890d4f3e8c134095b52954bfbccaea29a6 (patch) | |
tree | b07606f1c4948f1f668931f44ae4afa979d8c166 /drivers/acpi/tables.c | |
parent | ac1cc6b4856ffa7ecb818b3ceb82bfc43597d613 (diff) |
ACPI: Add new tiny-power-button driver to directly signal init
Virtual machines often use an ACPI power button event to tell the
machine to shut down gracefully.
Provide an extremely lightweight "tiny power button" driver to handle
this event by signaling init directly, rather than running a separate
daemon (such as acpid or systemd-logind) that adds to startup time and
VM image complexity.
The kernel configuration defines the default signal to send init, and
userspace can change this signal via a module parameter.
Suggested-by: "Rafael J. Wysocki" <rafael@kernel.org>
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/tables.c')
0 files changed, 0 insertions, 0 deletions