Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755785AbbBCK5c (ORCPT ); Tue, 3 Feb 2015 05:57:32 -0500 Received: from mail-wg0-f42.google.com ([74.125.82.42]:62000 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753115AbbBCK5a (ORCPT ); Tue, 3 Feb 2015 05:57:30 -0500 Date: Tue, 3 Feb 2015 10:57:27 +0000 From: Matt Fleming To: Vikas Shivappa Cc: linux-kernel@vger.kernel.org, vikas.shivappa@intel.com, hpa@zytor.com, tglx@linutronix.de, mingo@kernel.org, tj@kernel.org, peterz@infradead.org, matt.fleming@intel.com, will.auld@intel.com Subject: Re: [PATCH 1/6] x86/intel_cat: Intel Cache Allocation Technology detection Message-ID: <20150203105727.GB6461@codeblueprint.co.uk> References: <1422403209-15533-1-git-send-email-vikas.shivappa@linux.intel.com> <1422403209-15533-2-git-send-email-vikas.shivappa@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1422403209-15533-2-git-send-email-vikas.shivappa@linux.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1616 Lines: 35 On Tue, 27 Jan, at 04:00:04PM, Vikas Shivappa wrote: > This patch adds support for the new Cache Allocation Technology (CAT) > feature found in future Intel Xeon processors. It includes CPUID > enumeration routines for CAT and new values to track CAT resources to > the cpuinfo_x86 structure. > > Cache Allocation Technology(CAT) provides a way for the Software > (OS/VMM) to restrict cache allocation to a defined 'subset' of cache > which may be overlapping with other 'subsets'. This feature is used > when allocating a line in cache ie when pulling new data into the cache. > The programming of the h/w is done via programming MSRs. > > More information about CAT be found in the Intel (R) x86 Architecture > Software Developer Manual, section 17.15. > > Signed-off-by: Vikas Shivappa > --- > arch/x86/include/asm/cpufeature.h | 6 ++++- > arch/x86/include/asm/processor.h | 3 +++ > arch/x86/kernel/cpu/Makefile | 1 + > arch/x86/kernel/cpu/common.c | 16 ++++++++++++ > arch/x86/kernel/cpu/intel_cat.c | 51 +++++++++++++++++++++++++++++++++++++++ > init/Kconfig | 11 +++++++++ > 6 files changed, 87 insertions(+), 1 deletion(-) > create mode 100644 arch/x86/kernel/cpu/intel_cat.c Acked-by: Matt Fleming -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/