From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762250AbcLSLgK (ORCPT ); Mon, 19 Dec 2016 06:36:10 -0500 Received: from terminus.zytor.com ([198.137.202.10]:59800 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754764AbcLSLgJ (ORCPT ); Mon, 19 Dec 2016 06:36:09 -0500 Date: Mon, 19 Dec 2016 03:34:59 -0800 From: tip-bot for Borislav Petkov Message-ID: Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@kernel.org, yazen.ghannam@amd.com, bp@suse.de, hpa@zytor.com, peterz@infradead.org, bp@alien8.de Reply-To: mingo@kernel.org, yazen.ghannam@amd.com, bp@suse.de, tglx@linutronix.de, bp@alien8.de, peterz@infradead.org, hpa@zytor.com, linux-kernel@vger.kernel.org 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: dbf12ae564c022a741a6983b2bb4aeea5b8c0efd 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: dbf12ae564c022a741a6983b2bb4aeea5b8c0efd Gitweb: http://git.kernel.org/tip/dbf12ae564c022a741a6983b2bb4aeea5b8c0efd Author: Borislav Petkov AuthorDate: Thu, 17 Nov 2016 10:45:57 +0100 Committer: Thomas Gleixner CommitDate: Mon, 19 Dec 2016 12:27:53 +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 --- 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: