linux/drivers/platform/x86/amd/pmc
Shyam Sundar S K 2726b5758f
platform/x86: amd-pmc: Use correct IP block table for AMD 1Ah M80H SoC
PMFW reports the S0i3 subsystem accounting per SoC, and the set of IP
blocks and their bit ordering differ across SoC generations. Family
1Ah, Model 80h accounts for a distinct set of 19 IP blocks, which does
not match the ordering in soc15_ip_blk[].

Commit 043af31c8d ("platform/x86/amd/pmc: Add PMC driver support for
AMD 1Ah M80H SoC") wired amd_1ah_m80_cpu_info to soc15_ip_blk[], so
M80H has been reporting incorrect S0i3 accounting via debugfs.

Add soc15_ip_blk_v3[] with the correct ordering and point
amd_1ah_m80_cpu_info at it.

Fixes: 043af31c8d ("platform/x86/amd/pmc: Add PMC driver support for AMD 1Ah M80H SoC")
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Link: https://patch.msgid.link/20260707122852.2066987-1-Shyam-sundar.S-k@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2026-07-07 20:10:13 +03:00
..
Kconfig x86/amd_nb: Move SMN access code to a new amd_node driver 2025-01-08 10:59:44 +01:00
Makefile platform/x86: amd: Use *-y instead of *-objs in Makefiles 2025-02-24 17:15:02 +02:00
mp1_stb.c Convert 'alloc_flex' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mp2_stb.c platform/x86/amd/pmc: Fix implicit declaration error on i386 2024-04-29 10:52:02 +02:00
pmc-quirks.c platform/x86/amd/pmc: Delay suspend for some Lenovo Laptops 2026-06-11 19:53:54 +03:00
pmc.c platform/x86: amd-pmc: Use correct IP block table for AMD 1Ah M80H SoC 2026-07-07 20:10:13 +03:00
pmc.h platform/x86/amd/pmc: Don't log during intermediate wakeups 2026-06-11 19:53:57 +03:00