Skip to content

Commit 166df51

Browse files
dhananjay-AMDrafaeljw
authored andcommitted
powercap/intel_rapl: Add support for AMD family 1Ah
AMD Family 1Ah's RAPL MSRs are identical to Family 19h's, extend Family 19h's support to Family 1Ah. Signed-off-by: Dhananjay Ugwekar <[email protected]> Reviewed-by: Gautham R. Shenoy <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 8400291 commit 166df51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/powercap/intel_rapl_common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,6 +1285,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
12851285

12861286
X86_MATCH_VENDOR_FAM(AMD, 0x17, &rapl_defaults_amd),
12871287
X86_MATCH_VENDOR_FAM(AMD, 0x19, &rapl_defaults_amd),
1288+
X86_MATCH_VENDOR_FAM(AMD, 0x1A, &rapl_defaults_amd),
12881289
X86_MATCH_VENDOR_FAM(HYGON, 0x18, &rapl_defaults_amd),
12891290
{}
12901291
};

0 commit comments

Comments
 (0)