^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/devices/system/cpu/dscr_default
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: 13-May-2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: v3.15.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description: Writes are equivalent to writing to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) /sys/devices/system/cpu/cpuN/dscr on all CPUs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) Reads return the last written value or 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) This value is not a global default: it is a way to set
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) all per-CPU defaults at the same time.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Values: 64 bit unsigned integer (bit field)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) What: /sys/devices/system/cpu/cpu[0-9]+/dscr
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Date: 13-May-2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) KernelVersion: v3.15.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Contact:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Description: Default value for the Data Stream Control Register (DSCR) on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) a CPU.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) This default value is used when the kernel is executing and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) for any process that has not set the DSCR itself.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) If a process ever sets the DSCR (via direct access to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) SPR) that value will be persisted for that process and used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) on any CPU where it executes (overriding the value described
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) here).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) If set by a process it will be inherited by child processes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Values: 64 bit unsigned integer (bit field)