Skip to contentSkip to conversation

x86/intel_rdt: Enable CMT and MBM on new Skylake stepping

PATCH New Tony Luck 2 participants 2 messages Jun 8, 2018 – Jun 9, 2018 x86

lore
Share & tools
lore

Tony Luck

author
#0 lore raw

PATCH 1/1 x86/intel_rdt: Enable CMT and MBM on new Skylake stepping

New stepping of Skylake has fixes for cache occupancy and memory bandwidth monitoring.

Update the code to enable these by default on newer steppings.

---
 arch/x86/kernel/cpu/intel_rdt.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/kernel/cpu/intel_rdt.c +2 -0
index 24bfa63e86cf..ec4754f81cbd 100644
@@ -845,6 +845,8 @@ static __init void rdt_quirks(void)
 	case INTEL_FAM6_SKYLAKE_X:
 		if (boot_cpu_data.x86_stepping <= 4)
 			set_rdt_options("!cmt,!mbmtotal,!mbmlocal,!l3cat");
+		else
+			set_rdt_options("!l3cat");
 	}
 }
 
Signature · 1 line
2.17.0
#1 lore raw
x86/intel_rdt: Enable CMT and MBM on new Skylake stepping
Commit-ID:  1d9f3e20a56d33e55748552aeec597f58542f92d
Gitweb:     https://git.kernel.org/tip/1d9f3e20a56d33e55748552aeec597f58542f92d
Author:     Tony Luck <[email protected]>
AuthorDate: Fri, 8 Jun 2018 09:07:32 -0700
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Sat, 9 Jun 2018 16:04:34 +0200

x86/intel_rdt: Enable CMT and MBM on new Skylake stepping

New stepping of Skylake has fixes for cache occupancy and memory bandwidth monitoring.

Update the code to enable these by default on newer steppings.

---
 arch/x86/kernel/cpu/intel_rdt.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/kernel/cpu/intel_rdt.c +2 -0
index 589b948e6e01..316a8875bd90 100644
@@ -821,6 +821,8 @@ static __init void rdt_quirks(void)
 	case INTEL_FAM6_SKYLAKE_X:
 		if (boot_cpu_data.x86_stepping <= 4)
 			set_rdt_options("!cmt,!mbmtotal,!mbmlocal,!l3cat");
+		else
+			set_rdt_options("!l3cat");
 	}
 }