/linux/arch/arm64/boot/dts/hisilicon/ |
H A D | hip07.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 compatible = "hisilicon,hip07-d05"; 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 17 compatible = "arm,psci-0.2"; 22 #address-cells = <1>; 23 #size-cells = <0>; 25 cpu-map { [all …]
|
H A D | hip06.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 compatible = "hisilicon,hip06-d03"; 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 17 compatible = "arm,psci-0.2"; 22 #address-cells = <1>; 23 #size-cells = <0>; 25 cpu-map { [all …]
|
/linux/arch/arm/boot/dts/hisilicon/ |
H A D | hip04.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013-2014 HiSilicon Ltd. 6 * Copyright (C) 2013-2014 Linaro Ltd. 12 /* memory bus is 64-bit */ 13 #address-cells = <2>; 14 #size-cells = <2>; 21 compatible = "hisilicon,hip04-bootwrapper"; 22 boot-method = <0x10c00000 0x10000>, <0xe0000100 0x1000>; 26 #address-cells = <1>; 27 #size-cells = <0>; [all …]
|
/linux/Documentation/core-api/ |
H A D | cpu_hotplug.rst | 2 CPU hotplug in the Kernel 19 insertion and removal require support for CPU hotplug. 22 provisioning reasons, or for RAS purposes to keep an offending CPU off 23 system execution path. Hence the need for CPU hotplug support in the 26 A more novel use of CPU-hotplug support is its use today in suspend resume 27 support for SMP. Dual-core and HT support makes even a laptop run SMP kernels 53 CPU maps 66 after a CPU is available for kernel scheduling and ready to receive 67 interrupts from devices. Its cleared when a CPU is brought down using 69 migrated to another target CPU. [all …]
|
H A D | workqueue.rst | 32 worker thread per CPU and a single threaded (ST) wq had one worker 33 thread system-wide. A single MT wq needed to keep around the same 35 wq users over the years and with the number of CPU cores continuously 42 worker pool. An MT wq could provide only one execution context per CPU 60 * Use per-CPU unified worker pools shared by all wq to provide 85 worker-pools. 87 The cmwq design differentiates between the user-facing workqueues that 89 which manages worker-pools and processes the queued work items. 91 There are two worker-pools, one for normal work items and the other 92 for high priority ones, for each possible CPU and some extra [all …]
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | cpu_hotplug.rst | 1 .. include:: ../disclaimer-zh_CN.rst 3 :Original: Documentation/core-api/cpu_hotplug.rst 79 hot-add/hot-remove。目前还没有定死规定。典型的用法是在启动时启动拓扑结构,这时 95 $ ls -lh /sys/devices/system/cpu 97 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu0 98 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu1 99 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu2 100 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu3 101 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu4 102 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu5 [all …]
|
H A D | workqueue.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. include:: ../disclaimer-zh_CN.rst 4 :Original: Documentation/core-api/workqueue.rst 109 每个与实际CPU绑定的worker-pool通过钩住调度器来实现并发管理。每当 139 参数 - ``@name`` , ``@flags`` 和 ``@max_active`` 。 148 --------- 202 -------------- 234 0 w0 starts and burns CPU 236 15 w0 wakes up and burns CPU 238 20 w1 starts and burns CPU [all …]
|
/linux/arch/arm64/boot/dts/cavium/ |
H A D | thunder-88xx.dtsi | 2 * Cavium Thunder DTS file - Thunder SoC description 6 * This file is dual-licensed: you can use it either under the terms 24 * MA 02110-1301 USA 51 compatible = "cavium,thunder-88xx"; 52 interrupt-parent = <&gic0>; 53 #address-cells = <2>; 54 #size-cells = <2>; 57 compatible = "arm,psci-0.2"; 62 #address-cells = <2>; 63 #size-cells = <0>; [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 collection of features that give more granular control over CPU performance. 14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic… 15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha… 19 dynamically without pre-configuring via BIOS setup options. This dynamic 29 intel-speed-select configuration tool 32 Most Linux distribution packages may include the "intel-speed-select" tool. If not, 38 # cd tools/power/x86/intel-speed-select/ 43 ------------ 47 # intel-speed-select --help [all …]
|
/linux/arch/arm64/kernel/ |
H A D | cpufeature.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Contains CPU feature definitions 9 * there's a little bit of over-abstraction that tends to obscure what's going 14 * user-visible instructions are available only on a subset of the available 16 * boot CPU and comparing these with the feature registers of each secondary 17 * CPU when bringing them up. If there is a mismatch, then we update the 18 * snapshot state to indicate the lowest-common denominator of the feature, 27 * may prevent a CPU from being onlined at all. 31 * - Mismatched features are *always* sanitised to a "safe" value, which 34 * - A mismatched feature marked with FTR_STRICT will cause a "SANITY CHECK" [all …]
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | subcore.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include <linux/cpu.h> 32 * A core can be in one of three states, unsplit, 2-way split, and 4-way split. 37 * ------------|------------------ 39 * 2-way split | 2 40 * 4-way split | 4 46 * ---------------------------- 48 * ---------------------------- 49 * Thread | 0 1 2 3 4 5 6 7 | 50 * ---------------------------- [all …]
|
/linux/arch/arm/boot/dts/calxeda/ |
H A D | highbank.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2011-2012 Calxeda, Inc. 6 /dts-v1/; 8 /* First 4KB has pen for secondary cores. */ 14 #address-cells = <1>; 15 #size-cells = <1>; 18 #address-cells = <1>; 19 #size-cells = <0>; 21 cpu@900 { 22 compatible = "arm,cortex-a9"; [all …]
|
H A D | ecx-2000.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2011-2012 Calxeda, Inc. 6 /dts-v1/; 8 /* First 4KB has pen for secondary cores. */ 12 model = "Calxeda ECX-2000"; 13 compatible = "calxeda,ecx-2000"; 14 #address-cells = <2>; 15 #size-cells = <2>; 18 #address-cells = <1>; 19 #size-cells = <0>; [all …]
|
/linux/Documentation/admin-guide/ |
H A D | cputopology.rst | 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) [all …]
|
/linux/tools/perf/tests/ |
H A D | cpumap.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include "util/synthetic-events.h" 19 struct perf_record_cpu_map *map_event = &event->cpu_map; in process_event_mask() 24 data = &map_event->data; in process_event_mask() 26 TEST_ASSERT_VAL("wrong type", data->type == PERF_CPU_MAP__MASK); in process_event_mask() 28 long_size = data->mask32_data.long_size; in process_event_mask() 30 TEST_ASSERT_VAL("wrong long_size", long_size == 4 || long_size == 8); in process_event_mask() 32 TEST_ASSERT_VAL("wrong nr", data->mask32_data.nr == 1); in process_event_mask() 34 TEST_ASSERT_VAL("wrong cpu", perf_record_cpu_map_data__test_bit(0, data)); in process_event_mask() 35 TEST_ASSERT_VAL("wrong cpu", !perf_record_cpu_map_data__test_bit(1, data)); in process_event_mask() [all …]
|
/linux/drivers/irqchip/ |
H A D | irq-gic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * o There is one CPU Interface per CPU, which sends interrupts sent 12 * associated CPU. The base address of the CPU interface is usually 14 * on the CPU it is accessed from. 16 * Note that IRQs 0-31 are special - they are local to each CPU. 18 * registers are banked per-cpu for these sources. 27 #include <linux/cpu.h> 42 #include <linux/irqchip/arm-gic.h> 50 #include "irq-gic-common.h" 80 u32 saved_spi_target[DIV_ROUND_UP(1020, 4)]; [all …]
|
/linux/include/linux/irqchip/ |
H A D | irq-bcm2836.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 * The low 2 bits identify the CPU that the GPU IRQ goes to, and the 13 * next 2 bits identify the CPU that the GPU FIQ goes to. 16 /* When setting bits 0-3, enables PMU interrupts on that CPU. */ 18 /* When setting bits 0-3, disables PMU interrupts on that CPU. */ 21 * The low 4 bits of this are the CPU's timer IRQ enables, and the 22 * next 4 bits are the CPU's timer FIQ enables (which override the IRQ 27 * The low 4 bits of this are the CPU's per-mailbox IRQ enables, and 28 * the next 4 bits are the CPU's per-mailbox FIQ enables (which 33 * The CPU's interrupt status register. Bits are defined by the [all …]
|
/linux/arch/powerpc/boot/dts/ |
H A D | iss4xx-mpic.dts | 15 /dts-v1/; 20 #address-cells = <2>; 21 #size-cells = <1>; 22 model = "ibm,iss-4xx"; 23 compatible = "ibm,iss-4xx"; 24 dcr-parent = <&{/cpus/cpu@0}>; 31 #address-cells = <1>; 32 #size-cells = <0>; 34 cpu@0 { 35 device_type = "cpu"; [all …]
|
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | uncore-io.json | 34 "Counter": "4", 182 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 190 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 247 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 4", 255 …plugged in to Lane 0/1/2/3, Or x8 card plugged in to Lane 0/1, Or x4 card is plugged in to slot 4", 362 "BriefDescription": "PCIe Completion Buffer Occupancy : Part 4", 414 "BriefDescription": "Read request for 4 bytes made by the CPU to IIO Part0-7", 426 "BriefDescription": "Read request for 4 bytes made by the CPU to IIO Part0", 433 …"PublicDescription": "Data requested by the CPU : Core reading from Card's MMIO space : Number of … 438 "BriefDescription": "Read request for 4 bytes made by the CPU to IIO Part1", [all …]
|
/linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
H A D | uncore-io.json | 34 "Counter": "4", 182 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 190 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 247 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 4", 255 …plugged in to Lane 0/1/2/3, Or x8 card plugged in to Lane 0/1, Or x4 card is plugged in to slot 4", 362 "BriefDescription": "PCIe Completion Buffer Occupancy : Part 4", 414 "BriefDescription": "Read request for 4 bytes made by the CPU to IIO Part0-7", 426 "BriefDescription": "Read request for 4 bytes made by the CPU to IIO Part0", 433 …"PublicDescription": "Data requested by the CPU : Core reading from Card's MMIO space : Number of … 438 "BriefDescription": "Read request for 4 bytes made by the CPU to IIO Part1", [all …]
|
/linux/arch/x86/ |
H A D | Kconfig.cpu | 1 # SPDX-License-Identifier: GPL-2.0 2 # Put here option for CPU selection and depending optimization 8 This is the processor type of your CPU. This information is 10 that can run on all supported x86 CPU types (albeit not 15 UMC 486SX-S and the NexGen Nx586. 22 - "486" for the AMD/Cyrix/IBM/Intel 486DX/DX2/DX4 or 24 - "586" for generic Pentium CPUs lacking the TSC 26 - "Pentium-Classic" for the Intel Pentium. 27 - "Pentium-MMX" for the Intel Pentium MMX. 28 - "Pentium-Pro" for the Intel Pentium Pro. [all …]
|
/linux/drivers/clk/mvebu/ |
H A D | kirkwood.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Gregory CLEMENT <gregory.clement@free-electrons.com> 15 #include <linux/clk-provider.h> 24 * Kirkwood PLL sample-at-reset configuration 27 * SAR0[4:3,22,1] : CPU frequency (6281,6292,6282) 28 * 4 = 600 MHz 38 * SAR0[19,10:9] : CPU to L2 Clock divider ratio (6281,6292,6282) 39 * 1 = (1/2) * CPU 40 * 3 = (1/3) * CPU 41 * 5 = (1/4) * CPU [all …]
|
/linux/drivers/cpufreq/ |
H A D | p4-clockmod.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Pentium 4/Xeon CPU on demand clock modulation/speed scaling 4 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de> 12 * software is provided AS-IS with no warranties. 33 #include "speedstep-lib.h" 50 static unsigned int cpufreq_p4_get(unsigned int cpu); 52 static int cpufreq_p4_setdc(unsigned int cpu, unsigned int newstate) in cpufreq_p4_setdc() argument 57 return -EINVAL; in cpufreq_p4_setdc() 59 rdmsr_on_cpu(cpu, MSR_IA32_THERM_STATUS, &l, &h); in cpufreq_p4_setdc() 62 pr_debug("CPU#%d currently thermal throttled\n", cpu); in cpufreq_p4_setdc() [all …]
|
/linux/arch/arm/boot/dts/arm/ |
H A D | vexpress-v2p-ca15_a7.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 * Cortex-A15_A7 MPCore (V2P-CA15_A7) 8 * HBI-0249A 11 /dts-v1/; 12 #include "vexpress-v2m-rs1.dtsi" 15 model = "V2P-CA15_CA7"; 18 compatible = "arm,vexpress,v2p-ca15_a7", "arm,vexpress"; 19 interrupt-parent = <&gic>; 20 #address-cells = <2>; 21 #size-cells = <2>; [all …]
|
/linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
H A D | uncore-io.json | 13 …"PublicDescription": "Data requested of the CPU : Card reading from DRAM : Number of DWs (4 bytes)… 14 "ScaleUnit": "4Bytes", 29 …"PublicDescription": "Data requested of the CPU : Card writing to DRAM : Number of DWs (4 bytes) t… 30 "ScaleUnit": "4Bytes", 66 "Counter": "4", 145 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 152 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 205 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 4", 212 …plugged in to Lane 0/1/2/3, Or x8 card plugged in to Lane 0/1, Or x4 card is plugged in to slot 4", 253 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", [all …]
|