lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-1d9f3e20a56d33e55748552aeec597f58542f92d@git.kernel.org>
Date:   Sat, 9 Jun 2018 07:18:54 -0700
From:   tip-bot for Tony Luck <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     tglx@...utronix.de, hpa@...or.com, tony.luck@...el.com,
        vikas.shivappa@...ux.intel.com, fenghua.yu@...el.com,
        mingo@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip:x86/urgent] x86/intel_rdt: Enable CMT and MBM on new Skylake
 stepping

Commit-ID:  1d9f3e20a56d33e55748552aeec597f58542f92d
Gitweb:     https://git.kernel.org/tip/1d9f3e20a56d33e55748552aeec597f58542f92d
Author:     Tony Luck <tony.luck@...el.com>
AuthorDate: Fri, 8 Jun 2018 09:07:32 -0700
Committer:  Thomas Gleixner <tglx@...utronix.de>
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.

Signed-off-by: Tony Luck <tony.luck@...el.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Fenghua Yu <fenghua.yu@...el.com>
Cc: stable@...r.kernel.org # v4.14
Cc: Vikas Shivappa <vikas.shivappa@...ux.intel.com>
Link: https://lkml.kernel.org/r/20180608160732.9842-1-tony.luck@intel.com

---
 arch/x86/kernel/cpu/intel_rdt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/x86/kernel/cpu/intel_rdt.c b/arch/x86/kernel/cpu/intel_rdt.c
index 589b948e6e01..316a8875bd90 100644
--- a/arch/x86/kernel/cpu/intel_rdt.c
+++ b/arch/x86/kernel/cpu/intel_rdt.c
@@ -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");
 	}
 }
 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ