Skip to content

Commit aa55d5a

Browse files
Fenghua YuKAGA-KOKO
authored andcommitted
x86/intel_rdt: Add L2CDP support in documentation
L2 and L3 Code and Data Prioritization (CDP) can be enabled separately. The existing mount parameter "cdp" is only for enabling L3 CDP and will be kept for backwards compability. Add a new mount parameter 'cdpl2' for L2 CDP. [ tglx: Made changelog readable ] Signed-off-by: Fenghua Yu <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: "Ravi V Shankar" <[email protected]> Cc: "Tony Luck" <[email protected]> Cc: Vikas" <[email protected]> Cc: Sai Praneeth" <[email protected]> Cc: Reinette" <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 0ff8e08 commit aa55d5a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Documentation/x86/intel_rdt_ui.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,21 @@ This feature is enabled by the CONFIG_INTEL_RDT Kconfig and the
1010
X86 /proc/cpuinfo flag bits:
1111
RDT (Resource Director Technology) Allocation - "rdt_a"
1212
CAT (Cache Allocation Technology) - "cat_l3", "cat_l2"
13-
CDP (Code and Data Prioritization ) - "cdp_l3"
13+
CDP (Code and Data Prioritization ) - "cdp_l3", "cdp_l2"
1414
CQM (Cache QoS Monitoring) - "cqm_llc", "cqm_occup_llc"
1515
MBM (Memory Bandwidth Monitoring) - "cqm_mbm_total", "cqm_mbm_local"
1616
MBA (Memory Bandwidth Allocation) - "mba"
1717

1818
To use the feature mount the file system:
1919

20-
# mount -t resctrl resctrl [-o cdp] /sys/fs/resctrl
20+
# mount -t resctrl resctrl [-o cdp[,cdpl2]] /sys/fs/resctrl
2121

2222
mount options are:
2323

2424
"cdp": Enable code/data prioritization in L3 cache allocations.
25+
"cdpl2": Enable code/data prioritization in L2 cache allocations.
26+
27+
L2 and L3 CDP are controlled seperately.
2528

2629
RDT features are orthogonal. A particular system may support only
2730
monitoring, only control, or both monitoring and control.

0 commit comments

Comments
 (0)