Re: [PATCH] ACPICA: Enable sleep button on ACPI legacy wake

From: Miguel Ojeda
Date: Fri Nov 01 2019 - 18:39:58 EST


On Fri, Nov 1, 2019 at 10:25 PM Anchal Agarwal <anchalag@xxxxxxxxxx> wrote:
>
> Currently we do not see sleep_enable bit set after guest resumes
> from hibernation. Hibernation is triggered in guest on receiving
> a sleep trigger from the hypervisor(S4 state). We see that power
> button is enabled on wake up from S4 state however sleep button
> isn't. This causes subsequent invocation of sleep state to fail
> in the guest. Any environment going through acpi_hw_legacy_wake()
> won't have sleep button enabled.
>
> Signed-off-by: Anchal Agarwal <anchalag@xxxxxxxxxx>
> Reviewed-by: Balbir Singh <sblbir@xxxxxxxxxx>
> Reviewed-by: Frank van der Linden <fllinden@xxxxxxxxxx>

Somehow this does not have recipients listed, CC'ing lkml.

Cheers,
Miguel