diff options
author | Robert Zieba <robertzieba@google.com> | 2023-02-02 17:28:32 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-02-16 18:47:43 +0000 |
commit | 2b46c0135d4e7c51bf648da476c442d8e6398b8b (patch) | |
tree | 49d8aac9f72e823555022547a38aba9714482913 /zephyr/Kconfig | |
parent | 35159ec25d0dbb7b4dad8bb11d97808c5a016be0 (diff) | |
download | chrome-ec-2b46c0135d4e7c51bf648da476c442d8e6398b8b.tar.gz |
power/amd_x86: Add support for STB dumping
Skyrim supports dumping the contents of the SoCs smart-trace buffer
when triggered externally. The contents of the STB can be useful in
debugging S0i3 suspend failures. Add support for triggering an STB dump
when the SoC hangs during S0i3 entry/exit.
BRANCH=none
BUG=b:246770811
TEST=Ran on skyrim DUT
Change-Id: Ie18c6072a77f6dd306a46d7f76bd345b4f9e75a7
Signed-off-by: Robert Zieba <robertzieba@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4220248
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r-- | zephyr/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig index 38e2efe751..9ebabe1fad 100644 --- a/zephyr/Kconfig +++ b/zephyr/Kconfig @@ -823,6 +823,17 @@ config PLATFORM_EC_AMD_SB_RMI perform tasks such as managing power consumption and power limits of the CPU socket. +config PLATFORM_EC_AMD_STB_DUMP + bool "Enable STB dumping feature" + help + Enable STB dumping when AP hangs during suspend/resume. + +config PLATFORM_EC_AMD_STB_DUMP_CMD + bool "Enable `amdstbdump` console command" + depends on PLATFORM_EC_AMD_STB_DUMP + help + Enables the `amdstbdump` command to manually trigger an STB dump. + config PLATFORM_EC_AMD_STT bool "Enable driver for AMD STT interface" depends on PLATFORM_EC_AMD_SB_RMI |