]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: amd-pmc: Use correct IP block table for AMD 1Ah M80H SoC
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Tue, 7 Jul 2026 12:28:52 +0000 (17:58 +0530)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 7 Jul 2026 17:10:13 +0000 (20:10 +0300)
commit2726b5758f80a546a4ddeec5019e72035a7fa166
treee986d759dfddaf467a07083f2da2181076251391
parentcdadb298b182d4615521380a520eb2c7cb762843
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 043af31c8d30 ("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: 043af31c8d30 ("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>
drivers/platform/x86/amd/pmc/pmc.c