[SRU] [I/Unstable/OEM-5.13] [PATCH 00/10] Add AMD SMU stats support

Kai-Heng Feng kai.heng.feng at canonical.com
Mon Jul 26 13:14:59 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1934809

[Impact]
AMD RN and CZN SOC can collect extra debugging data for s0i3. This
information is useful for finding problems with IP blocks not going into
correct states.

[Fix]
The following patch series adds support for these stats and will be
included in 5.14.
https://patchwork.kernel.org/project/platform-driver-x86/patch/20210629084803.248498-2-Shyam-sundar.S-k@amd.com/

[Test]
Check for extra debugfs files on amd platform. Verify that s0i3 shows
successful enter (counter increases to non-zero).

[Where problems could occur]
The code is only used on amd platforms in s2idle. It would be specific
to those platforms and cases (where it is adding support for debugging).

Mario Limonciello (1):
  platform/x86: amd-pmc: Use return code on suspend

Shyam Sundar S K (8):
  platform/x86: amd-pmc: Fix command completion code
  platform/x86: amd-pmc: Fix SMU firmware reporting mechanism
  platform/x86: amd-pmc: call dump registers only once
  platform/x86: amd-pmc: Add support for logging SMU metrics
  platform/x86: amd-pmc: Add support for logging s0ix counters
  platform/x86: amd-pmc: Add support for ACPI ID AMDI0006
  platform/x86: amd-pmc: Add new acpi id for future PMC controllers
  platform/x86: amd-pmc: Fix undefined reference to __udivdi3

Yang Yingliang (1):
  platform/x86: amd-pmc: Fix missing unlock on error in
    amd_pmc_send_cmd()

 drivers/platform/x86/amd-pmc.c | 249 +++++++++++++++++++++++++++++----
 1 file changed, 225 insertions(+), 24 deletions(-)

-- 
2.31.1




More information about the kernel-team mailing list