]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86/intel/pmc: Disable C1 auto-demotion during suspend
authorDavid E. Box <david.e.box@linux.intel.com>
Thu, 17 Oct 2024 21:04:38 +0000 (14:04 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 22 Oct 2024 08:50:58 +0000 (11:50 +0300)
commit7a797cc9f80915cc5f1a5aee46d14880eb444644
tree806b7bc648fd5fb25ee192531fbab50036c8f411
parent9fe43c8020a60b9c9ff44c4a9914e7e7df63084e
platform/x86/intel/pmc: Disable C1 auto-demotion during suspend

On some platforms, aggressive C1 auto-demotion may lead to failure to enter
the deepest C-state during suspend-to-idle, causing high power consumption.
To prevent this, disable C1 auto-demotion during suspend and re-enable on
resume.

Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20241017210439.3449324-2-david.e.box@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/pmc/cnp.c