Merge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jikos...
[sfrench/cifs-2.6.git] / Documentation / x86 / intel_rdt_ui.txt
index 4d8848e4e224a8eb8207c8fb7469be57340f1671..6851854cf69dd8334d61cd55d2b02bd13b32daeb 100644 (file)
@@ -87,6 +87,17 @@ with the following files:
                        bytes) at which a previously used LLC_occupancy
                        counter can be considered for re-use.
 
+Finally, in the top level of the "info" directory there is a file
+named "last_cmd_status". This is reset with every "command" issued
+via the file system (making new directories or writing to any of the
+control files). If the command was successful, it will read as "ok".
+If the command failed, it will provide more information that can be
+conveyed in the error returns from file operations. E.g.
+
+       # echo L3:0=f7 > schemata
+       bash: echo: write error: Invalid argument
+       # cat info/last_cmd_status
+       mask f7 has non-consecutive 1-bits
 
 Resource alloc and monitor groups
 ---------------------------------