]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ACPI: processor idle: Allow playing dead in C3 state
authorRichard Gong <richard.gong@amd.com>
Wed, 22 Sep 2021 13:31:16 +0000 (08:31 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 24 Sep 2021 16:26:27 +0000 (18:26 +0200)
commitd6b88ce2eb9d2698eb24451eb92c0a1649b17bb1
tree3deb3a67e2ea94aca3bc09a50563c6693530a34e
parente4e737bb5c170df6135a127739a9e6148ee3da82
ACPI: processor idle: Allow playing dead in C3 state

When some cores are disabled on AMD platforms, the system will no longer
be able to enter suspend-to-idle s0ix.

Update to allow playing dead in C3 state so that the CPUs can enter the
deepest state on AMD platforms.

BugLink: https://gitlab.freedesktop.org/drm/amd/-/issues/1708
Suggested-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Richard Gong <richard.gong@amd.com>
[ rjw: Fixed coding style ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_idle.c