Skip to content

Commit a3c4f33

Browse files
Perry Yuanbp3tk0v
authored andcommitted
x86/msr-index: Add AMD workload classification MSRs
Introduce new MSR registers for AMD hardware feedback support. They provide workload classification and configuration capabilities. Signed-off-by: Perry Yuan <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Gautham R. Shenoy <[email protected]> Acked-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/[email protected]
1 parent 31b294e commit a3c4f33

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

arch/x86/include/asm/msr-index.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,11 @@
732732
#define MSR_AMD64_PERF_CNTR_GLOBAL_CTL 0xc0000301
733733
#define MSR_AMD64_PERF_CNTR_GLOBAL_STATUS_CLR 0xc0000302
734734

735+
/* AMD Hardware Feedback Support MSRs */
736+
#define MSR_AMD_WORKLOAD_CLASS_CONFIG 0xc0000500
737+
#define MSR_AMD_WORKLOAD_CLASS_ID 0xc0000501
738+
#define MSR_AMD_WORKLOAD_HRST 0xc0000502
739+
735740
/* AMD Last Branch Record MSRs */
736741
#define MSR_AMD64_LBR_SELECT 0xc000010e
737742

0 commit comments

Comments
 (0)