]> Git Repo - linux.git/commitdiff
x86/intel_rdt: Enable CMT and MBM on new Skylake stepping
authorTony Luck <[email protected]>
Fri, 8 Jun 2018 16:07:32 +0000 (09:07 -0700)
committerThomas Gleixner <[email protected]>
Sat, 9 Jun 2018 14:04:34 +0000 (16:04 +0200)
New stepping of Skylake has fixes for cache occupancy and memory
bandwidth monitoring.

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

Signed-off-by: Tony Luck <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: [email protected] # v4.14
Cc: Vikas Shivappa <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
arch/x86/kernel/cpu/intel_rdt.c

index 589b948e6e01f01d7388cca456fbecd6019dbca4..316a8875bd9061207a22eb9de0658a03249a131d 100644 (file)
@@ -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");
        }
 }
 
This page took 0.063742 seconds and 4 git commands to generate.