Skip to content

Commit d56593e

Browse files
aeglKAGA-KOKO
authored andcommitted
x86/intel_rdt: Turn off most RDT features on Skylake
Errata list is included in this document: https://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/6th-gen-x-series-spec-update.pdf with more details in: https://www.intel.com/content/www/us/en/processors/xeon/scalable/xeon-scalable-spec-update.html But the tl;dr summary (using tags from first of the documents) is: SKZ4 MBM does not accurately track write bandwidth SKZ17 CMT counters may not count accurately SKZ18 CAT may not restrict cacheline allocation under certain conditions SKZ19 MBM counters may undercount Disable all these features on Skylake models. Users who understand the errata may re-enable using boot command line options. Signed-off-by: Tony Luck <[email protected]> Cc: Fenghua" <[email protected]> Cc: Ravi V" <[email protected]> Cc: "Peter Zijlstra" <[email protected]> Cc: "Stephane Eranian" <[email protected]> Cc: "Andi Kleen" <[email protected]> Cc: "David Carrillo-Cisneros" <[email protected]> Cc: Vikas Shivappa <[email protected]> Link: http://lkml.kernel.org/r/3aea0a3bae219062c812668bd9b7b8f1a25003ba.1503512900.git.tony.luck@intel.com Signed-off-by: Thomas Gleixner <[email protected]>
1 parent 1d9807f commit d56593e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/x86/kernel/cpu/intel_rdt.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,9 @@ static __init void rdt_quirks(void)
769769
if (!rdt_options[RDT_FLAG_L3_CAT].force_off)
770770
cache_alloc_hsw_probe();
771771
break;
772+
case INTEL_FAM6_SKYLAKE_X:
773+
if (boot_cpu_data.x86_mask <= 4)
774+
set_rdt_options("!cmt,!mbmtotal,!mbmlocal,!l3cat");
772775
}
773776
}
774777

0 commit comments

Comments
 (0)