Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / platform / x86 / amd / pmc / Kconfig
blob94f9563d8be78831a6add10744ff952e50b80a81
1 # SPDX-License-Identifier: GPL-2.0-only
3 # AMD PMC Driver
6 config AMD_PMC
7         tristate "AMD SoC PMC driver"
8         depends on ACPI && PCI && RTC_CLASS && AMD_NB
9         depends on SUSPEND
10         select SERIO
11         help
12           The driver provides support for AMD Power Management Controller
13           primarily responsible for S2Idle transactions that are driven from
14           a platform firmware running on SMU. This driver also provides a debug
15           mechanism to investigate the S2Idle transactions and failures.
17           Say Y or M here if you have a notebook powered by AMD RYZEN CPU/APU.
19           If you choose to compile this driver as a module the module will be
20           called amd-pmc.
22 config AMD_MP2_STB
23         bool "AMD SoC MP2 STB function"
24         depends on AMD_PMC
25         default AMD_PMC
26         help
27           AMD MP2 STB function provides a data buffer used to log debug
28           information about the system execution during S2Idle suspend/resume.
29           A data buffer known as the STB (Smart Trace Buffer) is a circular
30           buffer which is a low-level log for the SoC which is used to debug
31           any hangs/stalls during S2Idle suspend/resume.
33           Creates debugfs to get STB, a userspace daemon can access STB log of
34           last S2Idle suspend/resume which can help to debug if hangs/stalls
35           during S2Idle suspend/resume.