Skip to contentSkip to conversation

x86/intel_rdt: Classify /proc/cpuinfo flag bits and add missing bits in documentation

PATCH In review Fenghua Yu 1 participant 2 messages Dec 9, 2017 – Dec 11, 2017 1 message not in the archive Documentation

lore
Share & tools
lore

Fenghua Yu

author
#0 lore raw

PATCH 1/1 x86/intel_rdt: Classify /proc/cpuinfo flag bits and add missing bits in documentation

From: Fenghua Yu <[email protected]>

With more flag bits in /proc/cpuinfo for RDT, it's better to classify the bits for readability.

Some previously missing bits are added as well.

---
 Documentation/x86/intel_rdt_ui.txt | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Documentation/x86/intel_rdt_ui.txt +6 -1
index 6851854..9b62738 100644
@@ -7,7 +7,12 @@ Tony Luck <[email protected]>
 Vikas Shivappa <[email protected]>
 
 This feature is enabled by the CONFIG_INTEL_RDT Kconfig and the
-X86 /proc/cpuinfo flag bits "rdt", "cqm", "cat_l3" and "cdp_l3".
+X86 /proc/cpuinfo flag bits:
+RDT (Resource Director Technology) Allocation - "rdt_a"
+CAT (Cache Allocation Technology) - "cat_l3", "cdp_l3", "cat_l2"
+CQM (Cache QoS Monitoring) - "cqm_llc", "cqm_occup_llc"
+MBM (Memory Bandwidth Monitoring) - "cqm_mbm_total", "cqm_mbm_local"
+MBA (Memory Bandwidth Allocation) - "mba"
 
 To use the feature mount the file system:
 
Signature · 1 line
1.8.3.1

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#2 lore raw
Quoted 20 lines · Brice Goglin

Le 09/12/2017 à 01:25, Fenghua Yu a écrit :

Quoted 19 lines

From: Fenghua Yu <[email protected]>

With more flag bits in /proc/cpuinfo for RDT, it's better to classify the bits for readability.

Some previously missing bits are added as well.

---
 Documentation/x86/intel_rdt_ui.txt | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Documentation/x86/intel_rdt_ui.txt +0 -0
index 6851854..9b62738 100644
@@ -7,7 +7,12 @@ Tony Luck <[email protected]>
 Vikas Shivappa <[email protected]>
 
Quoted 7 lines

Documentation/x86/intel_rdt_ui.txt Tony Luck <[email protected]> · line 12

Quoted 5 lines
Documentation/x86/intel_rdt_ui.txt +3 -1
 This feature is enabled by the CONFIG_INTEL_RDT Kconfig and the
-X86 /proc/cpuinfo flag bits "rdt", "cqm", "cat_l3" and "cdp_l3".
+X86 /proc/cpuinfo flag bits:
+RDT (Resource Director Technology) Allocation - "rdt_a"
+CAT (Cache Allocation Technology) - "cat_l3", "cdp_l3", "cat_l2"

Why not "Code and Data Prioritization" for cdp_l3?

CDP is an extension of CAT. So I just put cdp_l3 into the CAT class.

Thanks.

-Fenghua