Lines Matching +full:4 +full:- +full:cpu
2 How CPU topology info is exported via sysfs
5 CPU topology info is exported via sysfs. Items (attributes) are similar
7 /sys/devices/system/cpu/cpuX/topology/. Please refer to the ABI file:
8 Documentation/ABI/stable/sysfs-devices-system-cpu.
10 Architecture-neutral, drivers/base/topology.c, exports these attributes.
16 these macros in include/asm-XXX/topology.h::
18 #define topology_physical_package_id(cpu)
19 #define topology_die_id(cpu)
20 #define topology_cluster_id(cpu)
21 #define topology_core_id(cpu)
22 #define topology_book_id(cpu)
23 #define topology_drawer_id(cpu)
24 #define topology_sibling_cpumask(cpu)
25 #define topology_core_cpumask(cpu)
26 #define topology_cluster_cpumask(cpu)
27 #define topology_die_cpumask(cpu)
28 #define topology_book_cpumask(cpu)
29 #define topology_drawer_cpumask(cpu)
38 not defined by include/asm-XXX/topology.h:
40 1) topology_physical_package_id: -1
41 2) topology_die_id: -1
42 3) topology_cluster_id: -1
43 4) topology_core_id: 0
44 5) topology_book_id: -1
45 6) topology_drawer_id: -1
46 7) topology_sibling_cpumask: just the given CPU
47 8) topology_core_cpumask: just the given CPU
48 9) topology_cluster_cpumask: just the given CPU
49 10) topology_die_cpumask: just the given CPU
50 11) topology_book_cpumask: just the given CPU
51 12) topology_drawer_cpumask: just the given CPU
53 Additionally, CPU topology information is provided under
54 /sys/devices/system/cpu and includes these files. The internal
58 kernel_max: the maximum CPU index allowed by the kernel configuration.
59 [NR_CPUS-1]
78 In this example, there are 64 CPUs in the system but cpus 32-63 exceed
80 being 32. Note also that CPUs 2 and 4-31 are not online but could be
84 offline: 2,4-31,32-63
85 online: 0-1,3
86 possible: 0-31
87 present: 0-31
90 started with possible_cpus=144. There are 4 CPUs in the system and cpu2
91 was manually taken offline (and is the only CPU that can be brought
95 offline: 2,4-127,128-143
96 online: 0-1,3
97 possible: 0-127
98 present: 0-3
100 See Documentation/core-api/cpu_hotplug.rst for the possible_cpus=NUM