Skip to content

Commit

Permalink
Documentation: x86: Remove cdpl2 unspported statement and fix capital…
Browse files Browse the repository at this point in the history
…isation

"L2 cache does not support code and data prioritization". This isn't
true, elsewhere the document says it can be enabled with the cdpl2
mount option.

While we're here, these sample strings have lower-case code/data,
which isn't how the kernel exports them.

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
  • Loading branch information
James Morse authored and Jonathan Corbet committed Jun 20, 2019
1 parent eb8ed28 commit 7c7a499
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Documentation/x86/resctrl_ui.rst
Original file line number Diff line number Diff line change
Expand Up @@ -418,16 +418,22 @@ L3 schemata file details (CDP enabled via mount option to resctrl)
When CDP is enabled L3 control is split into two separate resources
so you can specify independent masks for code and data like this::

L3data:<cache_id0>=<cbm>;<cache_id1>=<cbm>;...
L3code:<cache_id0>=<cbm>;<cache_id1>=<cbm>;...
L3DATA:<cache_id0>=<cbm>;<cache_id1>=<cbm>;...
L3CODE:<cache_id0>=<cbm>;<cache_id1>=<cbm>;...

L2 schemata file details
------------------------
L2 cache does not support code and data prioritization, so the
schemata format is always::
CDP is supported at L2 using the 'cdpl2' mount option. The schemata
format is either::

L2:<cache_id0>=<cbm>;<cache_id1>=<cbm>;...

or

L2DATA:<cache_id0>=<cbm>;<cache_id1>=<cbm>;...
L2CODE:<cache_id0>=<cbm>;<cache_id1>=<cbm>;...


Memory bandwidth Allocation (default mode)
------------------------------------------

Expand Down

0 comments on commit 7c7a499

Please sign in to comment.