Sam bobroff | 26c88f9 | 2014-05-21 16:32:39 +1000 | [diff] [blame] | 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) |