diff options
author | Evan Green <evgreen@chromium.org> | 2021-11-17 14:02:42 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-01 19:02:21 +0000 |
commit | 5d6dfc1e5f91583c7e26d27073a6401224fe32c5 (patch) | |
tree | 2c1e0c906f3c7d6d9fc8b71a8666a54b575d1fc1 /zephyr/Kconfig.powerseq | |
parent | d89e49b2016c69d1762fae2e2786d4867934b4d6 (diff) | |
download | chrome-ec-5d6dfc1e5f91583c7e26d27073a6401224fe32c5.tar.gz |
Add EC feature flag for S4 residency
On systems with Intel Key Locker, the AP must hibernate to S4 in order
to preserve active Key Locker state. Until recently, the EC did not
support camping out in S4. Add a feature bit so the AP can distinguish
EC versions which are capable of going to S4 from those that are not.
BRANCH=None
BUG=b:204947672
TEST=hiberman hibernate --test-keys on volteer
Signed-off-by: Evan Green <evgreen@chromium.org>
Change-Id: I9d01c689e90cd479d8d3f06a224ef7f9ed309fc4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3290310
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.powerseq')
-rw-r--r-- | zephyr/Kconfig.powerseq | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/zephyr/Kconfig.powerseq b/zephyr/Kconfig.powerseq index 27abd68e7c..d35caf6900 100644 --- a/zephyr/Kconfig.powerseq +++ b/zephyr/Kconfig.powerseq @@ -109,6 +109,16 @@ config PLATFORM_EC_POWERSEQ_S0IX option, Intel's low-power idle sleep state, also known as "modern sleep". +config PLATFORM_EC_POWERSEQ_S4 + bool "Advertise S4 residency" + depends on PLATFORM_EC_ESPI_VW_SLP_S5 + default y if AP_X86_INTEL_TGL + default y if AP_X86_INTEL_ADL + help + Advertise S4 residency capabilities to the AP. This is required for + AP hibernate (suspend-to-disk) on Intel platforms with Key Locker + support (TGL+) + config PLATFORM_EC_POWERSEQ_COMETLAKE bool "Use common Comet Lake code for power sequencing" depends on AP_X86_INTEL_CML |