Documentation/ABI/stable/sysfs-devices-system-cpu

Source file repositories/reference/linux-study-clean/Documentation/ABI/stable/sysfs-devices-system-cpu

File Facts

System
Linux kernel
Corpus path
Documentation/ABI/stable/sysfs-devices-system-cpu
Extension
[no extension]
Size
5368 bytes
Lines
118
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: Documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

What: 		/sys/devices/system/cpu/dscr_default
Date:		13-May-2014
KernelVersion:	v3.15.0
Contact:
Description:	Writes are equivalent to writing to
		/sys/devices/system/cpu/cpuN/dscr on all CPUs.
		Reads return the last written value or 0.
		This value is not a global default: it is a way to set
		all per-CPU defaults at the same time.
Values:		64 bit unsigned integer (bit field)

What: 		/sys/devices/system/cpu/cpu[0-9]+/dscr
Date:		13-May-2014
KernelVersion:	v3.15.0
Contact:
Description:	Default value for the Data Stream Control Register (DSCR) on
		a CPU.
		This default value is used when the kernel is executing and
		for any process that has not set the DSCR itself.
		If a process ever sets the DSCR (via direct access to the
		SPR) that value will be persisted for that process and used
		on any CPU where it executes (overriding the value described
		here).
		If set by a process it will be inherited by child processes.
Values:		64 bit unsigned integer (bit field)

What:           /sys/devices/system/cpu/cpuX/topology/die_id
Description:    the CPU die ID of cpuX. Typically it is the hardware platform's
                identifier (rather than the kernel's). The actual value is
                architecture and platform dependent.
Values:         integer

What:           /sys/devices/system/cpu/cpuX/topology/core_id
Description:    the CPU core ID of cpuX. Typically it is the hardware platform's
                identifier (rather than the kernel's). The actual value is
                architecture and platform dependent.
Values:         integer

What:           /sys/devices/system/cpu/cpuX/topology/cluster_id
Description:    the cluster ID of cpuX.  Typically it is the hardware platform's
                identifier (rather than the kernel's). The actual value is
                architecture and platform dependent.
Values:         integer

What:           /sys/devices/system/cpu/cpuX/topology/book_id
Description:    the book ID of cpuX. Typically it is the hardware platform's
                identifier (rather than the kernel's). The actual value is
                architecture and platform dependent. it's only used on s390.
Values:         integer

What:           /sys/devices/system/cpu/cpuX/topology/drawer_id
Description:    the drawer ID of cpuX. Typically it is the hardware platform's
                identifier (rather than the kernel's). The actual value is
                architecture and platform dependent. it's only used on s390.
Values:         integer

What:           /sys/devices/system/cpu/cpuX/topology/core_cpus
Description:    internal kernel map of CPUs within the same core.
                (deprecated name: "thread_siblings")
Values:         hexadecimal bitmask.

What:           /sys/devices/system/cpu/cpuX/topology/core_cpus_list
Description:    human-readable list of CPUs within the same core.
                The format is like 0-3, 8-11, 14,17.
                (deprecated name: "thread_siblings_list").
Values:         decimal list.

What:           /sys/devices/system/cpu/cpuX/topology/package_cpus
Description:    internal kernel map of the CPUs sharing the same physical_package_id.
                (deprecated name: "core_siblings").

Annotation

Implementation Notes