xref: /linux/Documentation/ABI/stable/sysfs-devices-system-cpu (revision f81c2b81508c4f479f2cf1ac0dbb138927dc6188)
1 26c88f93SSam bobroffWhat: 		/sys/devices/system/cpu/dscr_default
2 26c88f93SSam bobroffDate:		13-May-2014
3 26c88f93SSam bobroffKernelVersion:	v3.15.0
4 26c88f93SSam bobroffContact:
5 26c88f93SSam bobroffDescription:	Writes are equivalent to writing to
6 26c88f93SSam bobroff		/sys/devices/system/cpu/cpuN/dscr on all CPUs.
7 26c88f93SSam bobroff		Reads return the last written value or 0.
8 26c88f93SSam bobroff		This value is not a global default: it is a way to set
9 26c88f93SSam bobroff		all per-CPU defaults at the same time.
10 26c88f93SSam bobroffValues:		64 bit unsigned integer (bit field)
11 26c88f93SSam bobroff
12 26c88f93SSam bobroffWhat: 		/sys/devices/system/cpu/cpu[0-9]+/dscr
13 26c88f93SSam bobroffDate:		13-May-2014
14 26c88f93SSam bobroffKernelVersion:	v3.15.0
15 26c88f93SSam bobroffContact:
16 26c88f93SSam bobroffDescription:	Default value for the Data Stream Control Register (DSCR) on
17 26c88f93SSam bobroff		a CPU.
18 26c88f93SSam bobroff		This default value is used when the kernel is executing and
19 26c88f93SSam bobroff		for any process that has not set the DSCR itself.
20 26c88f93SSam bobroff		If a process ever sets the DSCR (via direct access to the
21 26c88f93SSam bobroff		SPR) that value will be persisted for that process and used
22 26c88f93SSam bobroff		on any CPU where it executes (overriding the value described
23 26c88f93SSam bobroff		here).
24 26c88f93SSam bobroff		If set by a process it will be inherited by child processes.
25 26c88f93SSam bobroffValues:		64 bit unsigned integer (bit field)
26 05a463ecSTian Tao
27 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/die_id
28 05a463ecSTian TaoDescription:    the CPU die ID of cpuX. Typically it is the hardware platform's
29 05a463ecSTian Tao                identifier (rather than the kernel's). The actual value is
30 05a463ecSTian Tao                architecture and platform dependent.
31 05a463ecSTian TaoValues:         integer
32 05a463ecSTian Tao
33 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/core_id
34 05a463ecSTian TaoDescription:    the CPU core ID of cpuX. Typically it is the hardware platform's
35 05a463ecSTian Tao                identifier (rather than the kernel's). The actual value is
36 05a463ecSTian Tao                architecture and platform dependent.
37 05a463ecSTian TaoValues:         integer
38 05a463ecSTian Tao
39 *c5e22fefSJonathan CameronWhat:           /sys/devices/system/cpu/cpuX/topology/cluster_id
40 *c5e22fefSJonathan CameronDescription:    the cluster ID of cpuX.  Typically it is the hardware platform's
41 *c5e22fefSJonathan Cameron                identifier (rather than the kernel's). The actual value is
42 *c5e22fefSJonathan Cameron                architecture and platform dependent.
43 *c5e22fefSJonathan CameronValues:         integer
44 *c5e22fefSJonathan Cameron
45 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/book_id
46 05a463ecSTian TaoDescription:    the book ID of cpuX. Typically it is the hardware platform's
47 05a463ecSTian Tao                identifier (rather than the kernel's). The actual value is
48 05a463ecSTian Tao                architecture and platform dependent. it's only used on s390.
49 05a463ecSTian TaoValues:         integer
50 05a463ecSTian Tao
51 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/drawer_id
52 05a463ecSTian TaoDescription:    the drawer ID of cpuX. Typically it is the hardware platform's
53 05a463ecSTian Tao                identifier (rather than the kernel's). The actual value is
54 05a463ecSTian Tao                architecture and platform dependent. it's only used on s390.
55 05a463ecSTian TaoValues:         integer
56 05a463ecSTian Tao
57 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/core_cpus
58 05a463ecSTian TaoDescription:    internal kernel map of CPUs within the same core.
59 05a463ecSTian Tao                (deprecated name: "thread_siblings")
60 05a463ecSTian TaoValues:         hexadecimal bitmask.
61 05a463ecSTian Tao
62 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/core_cpus_list
63 05a463ecSTian TaoDescription:    human-readable list of CPUs within the same core.
64 05a463ecSTian Tao                The format is like 0-3, 8-11, 14,17.
65 05a463ecSTian Tao                (deprecated name: "thread_siblings_list").
66 05a463ecSTian TaoValues:         decimal list.
67 05a463ecSTian Tao
68 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/package_cpus
69 05a463ecSTian TaoDescription:    internal kernel map of the CPUs sharing the same physical_package_id.
70 05a463ecSTian Tao                (deprecated name: "core_siblings").
71 05a463ecSTian TaoValues:         hexadecimal bitmask.
72 05a463ecSTian Tao
73 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/package_cpus_list
74 05a463ecSTian TaoDescription:    human-readable list of CPUs sharing the same physical_package_id.
75 05a463ecSTian Tao                The format is like 0-3, 8-11, 14,17.
76 05a463ecSTian Tao                (deprecated name: "core_siblings_list")
77 05a463ecSTian TaoValues:         decimal list.
78 05a463ecSTian Tao
79 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/die_cpus
80 05a463ecSTian TaoDescription:    internal kernel map of CPUs within the same die.
81 05a463ecSTian TaoValues:         hexadecimal bitmask.
82 05a463ecSTian Tao
83 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/die_cpus_list
84 05a463ecSTian TaoDescription:    human-readable list of CPUs within the same die.
85 05a463ecSTian Tao                The format is like 0-3, 8-11, 14,17.
86 05a463ecSTian TaoValues:         decimal list.
87 05a463ecSTian Tao
88 *c5e22fefSJonathan CameronWhat:           /sys/devices/system/cpu/cpuX/topology/cluster_cpus
89 *c5e22fefSJonathan CameronDescription:    internal kernel map of CPUs within the same cluster.
90 *c5e22fefSJonathan CameronValues:         hexadecimal bitmask.
91 *c5e22fefSJonathan Cameron
92 *c5e22fefSJonathan CameronWhat:           /sys/devices/system/cpu/cpuX/topology/cluster_cpus_list
93 *c5e22fefSJonathan CameronDescription:    human-readable list of CPUs within the same cluster.
94 *c5e22fefSJonathan Cameron                The format is like 0-3, 8-11, 14,17.
95 *c5e22fefSJonathan CameronValues:         decimal list.
96 *c5e22fefSJonathan Cameron
97 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/book_siblings
98 05a463ecSTian TaoDescription:    internal kernel map of cpuX's hardware threads within the same
99 05a463ecSTian Tao                book_id. it's only used on s390.
100 05a463ecSTian TaoValues:         hexadecimal bitmask.
101 05a463ecSTian Tao
102 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/book_siblings_list
103 05a463ecSTian TaoDescription:    human-readable list of cpuX's hardware threads within the same
104 05a463ecSTian Tao                book_id.
105 05a463ecSTian Tao                The format is like 0-3, 8-11, 14,17. it's only used on s390.
106 05a463ecSTian TaoValues:         decimal list.
107 05a463ecSTian Tao
108 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/drawer_siblings
109 05a463ecSTian TaoDescription:    internal kernel map of cpuX's hardware threads within the same
110 05a463ecSTian Tao                drawer_id. it's only used on s390.
111 05a463ecSTian TaoValues:         hexadecimal bitmask.
112 05a463ecSTian Tao
113 05a463ecSTian TaoWhat:           /sys/devices/system/cpu/cpuX/topology/drawer_siblings_list
114 05a463ecSTian TaoDescription:    human-readable list of cpuX's hardware threads within the same
115 05a463ecSTian Tao                drawer_id.
116 05a463ecSTian Tao                The format is like 0-3, 8-11, 14,17. it's only used on s390.
117 05a463ecSTian TaoValues:         decimal list.
118