[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0iRhHuw=AdTj1G_D17L1uvO280UhCZChgs8Xax=Uw9ZgA@mail.gmail.com>
Date: Thu, 13 Feb 2020 23:43:12 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Josh Triplett <josh@...htriplett.org>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
Arjan van de Ven <arjan@...ux.intel.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/2] ACPI: Tiny power button driver
On Wed, Feb 12, 2020 at 12:36 AM Josh Triplett <josh@...htriplett.org> wrote:
>
> 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.
>
> I originally proposed a change to the ACPI power button driver to
> introduce an optional path to signal init, but Rafael expressed a
> preference to have this as a separate, mutually exclusive driver
> instead. The result did come out much simpler, conceptually, with the
> added benefit of being able to disable CONFIG_INPUT entirely for a
> kernel that exclusively targets cloud/VM systems.
>
> The first patch in the series just moves HID definitions to
> acpi/button.h in preparation for sharing them with the tiny-power-button
> driver. The second patch provides the driver itself.
>
> Josh Triplett (2):
> acpi: button: move HIDs to acpi/button.h
> acpi: Add new tiny-power-button driver to directly signal init
Applied as 5.7 material, thanks!
Powered by blists - more mailing lists