diff options
author | Sam bobroff <sam.bobroff@au1.ibm.com> | 2014-05-21 02:32:39 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-05-27 23:35:40 -0400 |
commit | 26c88f930141f0d9e7673af2332ada67b7e8865a (patch) | |
tree | b4493946d83798a9fccabca88fdadedb6b7864b7 | |
parent | 1739ea9e13e636590dd56c2f4ca85e783da512e7 (diff) |
powerpc: Document sysfs DSCR interface
Add some documentation about ...
/sys/devices/system/cpu/dscr_default
/sys/devices/system/cpu/cpuN/dscr
... to Documentation/ABI/stable.
Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | Documentation/ABI/stable/sysfs-devices-system-cpu | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/ABI/stable/sysfs-devices-system-cpu b/Documentation/ABI/stable/sysfs-devices-system-cpu new file mode 100644 index 000000000000..33c133e2a631 --- /dev/null +++ b/Documentation/ABI/stable/sysfs-devices-system-cpu | |||
@@ -0,0 +1,25 @@ | |||
1 | What: /sys/devices/system/cpu/dscr_default | ||
2 | Date: 13-May-2014 | ||
3 | KernelVersion: v3.15.0 | ||
4 | Contact: | ||
5 | Description: Writes are equivalent to writing to | ||
6 | /sys/devices/system/cpu/cpuN/dscr on all CPUs. | ||
7 | Reads return the last written value or 0. | ||
8 | This value is not a global default: it is a way to set | ||
9 | all per-CPU defaults at the same time. | ||
10 | Values: 64 bit unsigned integer (bit field) | ||
11 | |||
12 | What: /sys/devices/system/cpu/cpu[0-9]+/dscr | ||
13 | Date: 13-May-2014 | ||
14 | KernelVersion: v3.15.0 | ||
15 | Contact: | ||
16 | Description: Default value for the Data Stream Control Register (DSCR) on | ||
17 | a CPU. | ||
18 | This default value is used when the kernel is executing and | ||
19 | for any process that has not set the DSCR itself. | ||
20 | If a process ever sets the DSCR (via direct access to the | ||
21 | SPR) that value will be persisted for that process and used | ||
22 | on any CPU where it executes (overriding the value described | ||
23 | here). | ||
24 | If set by a process it will be inherited by child processes. | ||
25 | Values: 64 bit unsigned integer (bit field) | ||