From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753668AbdHXQ12 (ORCPT ); Thu, 24 Aug 2017 12:27:28 -0400 Received: from mga06.intel.com ([134.134.136.31]:59836 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752940AbdHXQ10 (ORCPT ); Thu, 24 Aug 2017 12:27:26 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,422,1498546800"; d="scan'208";a="1007291682" From: "Luck, Tony" To: Thomas Gleixner Cc: Tony Luck , Vikas Shivappa , x86@kernel.org, linux-kernel@vger.kernel.org, "H. Peter Anvin" , "Peter Zijlstra" , "Shankar, Ravi V" , "Yu, Fenghua" , "Andi Kleen" , "Stephane Eranian" , "David Carrillo-Cisneros" Subject: [PATCH 0/3] Provide mechanism to disable select RDT features & use for Skylake Date: Thu, 24 Aug 2017 09:26:49 -0700 Message-Id: X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tony Luck Some of the RDT features are affected by errata on Skylake. Make sure unsuspecting users do not accidentally use these. To do this we add a CPU model quirk mechanism that disables the features affected by the errata by default. But also add a command line mechanism for users to turn them back on again for cases where the use case still works despite the issue. First patch establishes the CPU quirk mechanism and uses it for the existing Haswell probe code. Second sets up the command line arguments. Last adds the code for Skylake model to disable features affected by errata. Tony Luck (3): x86/intel_rdt: Move special case code for Haswell to a quirk function x86/intel_rdt: Add command line options for resource director technology x86/intel_rdt: Turn off most RDT features on Skylake Documentation/admin-guide/kernel-parameters.rst | 1 + Documentation/admin-guide/kernel-parameters.txt | 6 + arch/x86/kernel/cpu/intel_rdt.c | 147 +++++++++++++++++++----- 3 files changed, 123 insertions(+), 31 deletions(-) -- 2.11.0