From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757383AbcIGKgy (ORCPT ); Wed, 7 Sep 2016 06:36:54 -0400 Received: from merlin.infradead.org ([205.233.59.134]:46518 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751038AbcIGKgt (ORCPT ); Wed, 7 Sep 2016 06:36:49 -0400 Date: Wed, 7 Sep 2016 12:36:41 +0200 From: Peter Zijlstra To: Borislav Petkov Cc: X86 ML , LKML , Thomas Gleixner Subject: Re: [PATCH] x86/topology: Document cpu_llc_id Message-ID: <20160907103641.GO10138@twins.programming.kicks-ass.net> References: <20160907092219.5523-1-bp@alien8.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160907092219.5523-1-bp@alien8.de> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 07, 2016 at 11:22:19AM +0200, Borislav Petkov wrote: > From: Borislav Petkov > > 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 > --- > Documentation/x86/topology.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/x86/topology.txt b/Documentation/x86/topology.txt > index 06afac252f5b..7a5485730476 100644 > --- a/Documentation/x86/topology.txt > +++ b/Documentation/x86/topology.txt > @@ -63,6 +63,12 @@ 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 containing the Last Level Cache. And there are no AMD parts where there are multiple LLCs on a Node? Like where there isn't an L3 and the L2 is only per cluster?