From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933208AbcKQJqF (ORCPT ); Thu, 17 Nov 2016 04:46:05 -0500 Received: from mail.skyhub.de ([78.46.96.112]:39800 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753898AbcKQJqB (ORCPT ); Thu, 17 Nov 2016 04:46:01 -0500 Date: Thu, 17 Nov 2016 10:45:57 +0100 From: Borislav Petkov To: Peter Zijlstra Cc: X86 ML , LKML , Thomas Gleixner , Yazen Ghannam Subject: [PATCH -v1.1] x86/topology: Document cpu_llc_id Message-ID: <20161117094557.jm6hwzdd52h7iwnj@pd.tnic> References: <20160907092219.5523-1-bp@alien8.de> <20160907103641.GO10138@twins.programming.kicks-ass.net> <20161114062901.il4ucv5muw4ksfsv@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20161114062901.il4ucv5muw4ksfsv@pd.tnic> User-Agent: NeoMutt/20161014 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: Thomas Gleixner Cc: Yazen Ghannam --- Documentation/x86/topology.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/x86/topology.txt b/Documentation/x86/topology.txt index 06afac252f5b..f3e9d7e9ed6c 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: -- 2.10.0 -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.