Skip to content

Commit df84849

Browse files
committed
x86/msr-index: Add AMD workload classification MSRs
JIRA: https://issues.redhat.com/browse/RHEL-107081 commit a3c4f33 Author: Perry Yuan <perry.yuan@amd.com> Date: Mon Jun 9 15:05:08 2025 -0500 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 <perry.yuan@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com> Acked-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/20250609200518.3616080-4-superm1@kernel.org Signed-off-by: Steve Best <sbest@redhat.com>
1 parent 7d1200c commit df84849

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
@@ -728,6 +728,11 @@
728728
#define MSR_AMD64_PERF_CNTR_GLOBAL_CTL 0xc0000301
729729
#define MSR_AMD64_PERF_CNTR_GLOBAL_STATUS_CLR 0xc0000302
730730

731+
/* AMD Hardware Feedback Support MSRs */
732+
#define MSR_AMD_WORKLOAD_CLASS_CONFIG 0xc0000500
733+
#define MSR_AMD_WORKLOAD_CLASS_ID 0xc0000501
734+
#define MSR_AMD_WORKLOAD_HRST 0xc0000502
735+
731736
/* AMD Last Branch Record MSRs */
732737
#define MSR_AMD64_LBR_SELECT 0xc000010e
733738

0 commit comments

Comments
 (0)