Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1478113 > unrolled thread

[PATCH] x86/topology: Document cpu_llc_id

Started byBorislav Petkov <bp@alien8.de>
First post2016-09-07 11:40 +0200
Last post2016-09-07 12:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] x86/topology: Document cpu_llc_id Borislav Petkov <bp@alien8.de> - 2016-09-07 11:40 +0200
    Re: [PATCH] x86/topology: Document cpu_llc_id Peter Zijlstra <peterz@infradead.org> - 2016-09-07 12:40 +0200

#1478113 — [PATCH] x86/topology: Document cpu_llc_id

FromBorislav Petkov <bp@alien8.de>
Date2016-09-07 11:40 +0200
Subject[PATCH] x86/topology: Document cpu_llc_id
Message-ID<seHuN-6ml-9@gated-at.bofh.it>
From: Borislav Petkov <bp@suse.de>

It means different things on Intel and AMD so write it down so that
there's no confusion.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
 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.
 
 * Cores:
 
-- 
2.10.0

[toc] | [next] | [standalone]


#1478164

FromPeter Zijlstra <peterz@infradead.org>
Date2016-09-07 12:40 +0200
Message-ID<seIqT-6Zc-49@gated-at.bofh.it>
In reply to#1478113
On Wed, Sep 07, 2016 at 11:22:19AM +0200, Borislav Petkov wrote:
> From: Borislav Petkov <bp@suse.de>
> 
> It means different things on Intel and AMD so write it down so that
> there's no confusion.
> 
> Signed-off-by: Borislav Petkov <bp@suse.de>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> ---
>  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?

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web