From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934063AbcLTJfn (ORCPT ); Tue, 20 Dec 2016 04:35:43 -0500 Received: from terminus.zytor.com ([198.137.202.10]:41638 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934039AbcLTJfk (ORCPT ); Tue, 20 Dec 2016 04:35:40 -0500 Date: Tue, 20 Dec 2016 01:34:37 -0800 From: tip-bot for Borislav Petkov Message-ID: Cc: bp@suse.de, linux-kernel@vger.kernel.org, yazen.ghannam@amd.com, peterz@infradead.org, hpa@zytor.com, bp@alien8.de, tglx@linutronix.de, mingo@kernel.org Reply-To: peterz@infradead.org, linux-kernel@vger.kernel.org, yazen.ghannam@amd.com, hpa@zytor.com, bp@suse.de, mingo@kernel.org, tglx@linutronix.de, bp@alien8.de In-Reply-To: <20161117094557.jm6hwzdd52h7iwnj@pd.tnic> References: <20161117094557.jm6hwzdd52h7iwnj@pd.tnic> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86/topology: Document cpu_llc_id Git-Commit-ID: a268b5f1d6e4639fa6d78fc8bdddaebaa032ab24 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: a268b5f1d6e4639fa6d78fc8bdddaebaa032ab24 Gitweb: http://git.kernel.org/tip/a268b5f1d6e4639fa6d78fc8bdddaebaa032ab24 Author: Borislav Petkov AuthorDate: Thu, 17 Nov 2016 10:45:57 +0100 Committer: Ingo Molnar CommitDate: Tue, 20 Dec 2016 09:36:29 +0100 x86/topology: Document cpu_llc_id It means different things on Intel and AMD so write it down so that there's no confusion. Signed-off-by: Borislav Petkov Cc: Peter Zijlstra Cc: Yazen Ghannam Link: http://lkml.kernel.org/r/20161117094557.jm6hwzdd52h7iwnj@pd.tnic Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- Documentation/x86/topology.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/x86/topology.txt b/Documentation/x86/topology.txt index 06afac2..f3e9d7e 100644 --- a/Documentation/x86/topology.txt +++ b/Documentation/x86/topology.txt @@ -63,6 +63,15 @@ The topology of a system is described in the units of: The maximum possible number of packages in the system. Helpful for per package facilities to preallocate per package information. + - cpu_llc_id: + + A per-CPU variable containing: + - On Intel, the first APIC ID of the list of CPUs sharing the Last Level + Cache + + - On AMD, the Node ID or Core Complex ID containing the Last Level + Cache. In general, it is a number identifying an LLC uniquely on the + system. * Cores: