ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 10 May 2022 13:11:36 +0000 (08:11 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 12 May 2022 14:56:58 +0000 (16:56 +0200)
commitd52848620de00cde4a3a5df908e231b8c8868250
tree8fe1dc83e2295518de2f7141e329011b678b1d5f
parent6dd4a29d26200d303d354ee8fc806113b5fcc882
ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default

ASUS B1400CEAE fails to resume from suspend to idle by default.  This was
bisected back to commit df4f9bc4fb9c ("nvme-pci: add support for ACPI
StorageD3Enable property") but this is a red herring to the problem.

Before this commit the system wasn't getting into deepest sleep state.
Presumably this commit is allowing entry into deepest sleep state as
advertised by firmware, but there are some other problems related to
the wakeup.

As it is confirmed the system works properly with S3, set the default for
this system to S3.

Reported-by: Jian-Hong Pan <jhp@endlessos.org>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=215742
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Tested-by: Jian-Hong Pan <jhp@endlessos.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/sleep.c