xref: /linux/Documentation/ABI/stable/sysfs-devices-system-cpu (revision fd7d598270724cc787982ea48bbe17ad383a8b7f)
1What: 		/sys/devices/system/cpu/dscr_default
2Date:		13-May-2014
3KernelVersion:	v3.15.0
4Contact:
5Description:	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.
10Values:		64 bit unsigned integer (bit field)
11
12What: 		/sys/devices/system/cpu/cpu[0-9]+/dscr
13Date:		13-May-2014
14KernelVersion:	v3.15.0
15Contact:
16Description:	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.
25Values:		64 bit unsigned integer (bit field)
26
27What:           /sys/devices/system/cpu/cpuX/topology/physical_package_id
28Description:    physical package id of cpuX. Typically corresponds to a physical
29                socket number, but the actual value is architecture and platform
30                dependent.
31Values:         integer
32
33What:           /sys/devices/system/cpu/cpuX/topology/die_id
34Description:    the CPU die ID of cpuX. Typically it is the hardware platform's
35                identifier (rather than the kernel's). The actual value is
36                architecture and platform dependent.
37Values:         integer
38
39What:           /sys/devices/system/cpu/cpuX/topology/core_id
40Description:    the CPU core ID of cpuX. Typically it is the hardware platform's
41                identifier (rather than the kernel's). The actual value is
42                architecture and platform dependent.
43Values:         integer
44
45What:           /sys/devices/system/cpu/cpuX/topology/cluster_id
46Description:    the cluster ID of cpuX.  Typically it is the hardware platform's
47                identifier (rather than the kernel's). The actual value is
48                architecture and platform dependent.
49Values:         integer
50
51What:           /sys/devices/system/cpu/cpuX/topology/book_id
52Description:    the book ID of cpuX. Typically it is the hardware platform's
53                identifier (rather than the kernel's). The actual value is
54                architecture and platform dependent. it's only used on s390.
55Values:         integer
56
57What:           /sys/devices/system/cpu/cpuX/topology/drawer_id
58Description:    the drawer ID of cpuX. Typically it is the hardware platform's
59                identifier (rather than the kernel's). The actual value is
60                architecture and platform dependent. it's only used on s390.
61Values:         integer
62
63What:           /sys/devices/system/cpu/cpuX/topology/core_cpus
64Description:    internal kernel map of CPUs within the same core.
65                (deprecated name: "thread_siblings")
66Values:         hexadecimal bitmask.
67
68What:           /sys/devices/system/cpu/cpuX/topology/core_cpus_list
69Description:    human-readable list of CPUs within the same core.
70                The format is like 0-3, 8-11, 14,17.
71                (deprecated name: "thread_siblings_list").
72Values:         decimal list.
73
74What:           /sys/devices/system/cpu/cpuX/topology/package_cpus
75Description:    internal kernel map of the CPUs sharing the same physical_package_id.
76                (deprecated name: "core_siblings").
77Values:         hexadecimal bitmask.
78
79What:           /sys/devices/system/cpu/cpuX/topology/package_cpus_list
80Description:    human-readable list of CPUs sharing the same physical_package_id.
81                The format is like 0-3, 8-11, 14,17.
82                (deprecated name: "core_siblings_list")
83Values:         decimal list.
84
85What:           /sys/devices/system/cpu/cpuX/topology/die_cpus
86Description:    internal kernel map of CPUs within the same die.
87Values:         hexadecimal bitmask.
88
89What:           /sys/devices/system/cpu/cpuX/topology/ppin
90Description:    per-socket protected processor inventory number
91Values:         hexadecimal.
92
93What:           /sys/devices/system/cpu/cpuX/topology/die_cpus_list
94Description:    human-readable list of CPUs within the same die.
95                The format is like 0-3, 8-11, 14,17.
96Values:         decimal list.
97
98What:           /sys/devices/system/cpu/cpuX/topology/cluster_cpus
99Description:    internal kernel map of CPUs within the same cluster.
100Values:         hexadecimal bitmask.
101
102What:           /sys/devices/system/cpu/cpuX/topology/cluster_cpus_list
103Description:    human-readable list of CPUs within the same cluster.
104                The format is like 0-3, 8-11, 14,17.
105Values:         decimal list.
106
107What:           /sys/devices/system/cpu/cpuX/topology/book_siblings
108Description:    internal kernel map of cpuX's hardware threads within the same
109                book_id. it's only used on s390.
110Values:         hexadecimal bitmask.
111
112What:           /sys/devices/system/cpu/cpuX/topology/book_siblings_list
113Description:    human-readable list of cpuX's hardware threads within the same
114                book_id.
115                The format is like 0-3, 8-11, 14,17. it's only used on s390.
116Values:         decimal list.
117
118What:           /sys/devices/system/cpu/cpuX/topology/drawer_siblings
119Description:    internal kernel map of cpuX's hardware threads within the same
120                drawer_id. it's only used on s390.
121Values:         hexadecimal bitmask.
122
123What:           /sys/devices/system/cpu/cpuX/topology/drawer_siblings_list
124Description:    human-readable list of cpuX's hardware threads within the same
125                drawer_id.
126                The format is like 0-3, 8-11, 14,17. it's only used on s390.
127Values:         decimal list.
128