| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | axm5516-cpus.dtsi | 13 cpu-map { 16 cpu = <&CPU0>; 19 cpu = <&CPU1>; 22 cpu = <&CPU2>; 25 cpu = <&CPU3>; 30 cpu = <&CPU4>; 33 cpu = <&CPU5>; 36 cpu = <&CPU6>; 39 cpu = <&CPU7>; 44 cpu = <&CPU8>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/intel/axm/ |
| D | axm5516-cpus.dtsi | 13 cpu-map { 16 cpu = <&CPU0>; 19 cpu = <&CPU1>; 22 cpu = <&CPU2>; 25 cpu = <&CPU3>; 30 cpu = <&CPU4>; 33 cpu = <&CPU5>; 36 cpu = <&CPU6>; 39 cpu = <&CPU7>; 44 cpu = <&CPU8>; [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/cpu-hotplug/ |
| D | cpu-on-off-test.sh | 26 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then 27 echo $msg cpu hotplug is not supported >&2 31 echo "CPU online/offline summary:" 32 online_cpus=`cat $SYSFS/devices/system/cpu/online` 36 echo "$msg: since there is only one cpu: $online_cpus" 40 present_cpus=`cat $SYSFS/devices/system/cpu/present` 46 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 62 for cpu in $SYSFS/devices/system/cpu/cpu*; do 63 if [ -f $cpu/online ] && grep -q $state $cpu/online; then 64 echo ${cpu##/*/cpu} [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/cpu/ |
| D | cpu-topology.txt | 2 CPU topology binding description 20 For instance in a system where CPUs support SMT, "cpu" nodes represent all 22 In systems where SMT is not supported "cpu" nodes represent all cores present 25 CPU topology bindings allow one to associate cpu nodes with hierarchical groups 29 Currently, only ARM/RISC-V intend to use this cpu topology binding but it may be 32 The cpu nodes, as per bindings defined in [4], represent the devices that 35 A topology description containing phandles to cpu nodes that are not compliant 39 2 - cpu-map node 42 The ARM/RISC-V CPU topology is defined within the cpu-map node, which is a direct 46 - cpu-map node [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/cpu/ |
| D | cpu-topology.txt | 2 CPU topology binding description 20 For instance in a system where CPUs support SMT, "cpu" nodes represent all 22 In systems where SMT is not supported "cpu" nodes represent all cores present 25 CPU topology bindings allow one to associate cpu nodes with hierarchical groups 29 Currently, only ARM/RISC-V intend to use this cpu topology binding but it may be 32 The cpu nodes, as per bindings defined in [4], represent the devices that 35 A topology description containing phandles to cpu nodes that are not compliant 39 2 - cpu-map node 42 The ARM/RISC-V CPU topology is defined within the cpu-map node, which is a direct 46 - cpu-map node [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-meson/ |
| D | platsmp.c | 38 static struct reset_control *meson_smp_get_core_reset(int cpu) in meson_smp_get_core_reset() argument 40 struct device_node *np = of_get_cpu_node(cpu, 0); in meson_smp_get_core_reset() 45 static void meson_smp_set_cpu_ctrl(int cpu, bool on_off) in meson_smp_set_cpu_ctrl() argument 50 val |= BIT(cpu); in meson_smp_set_cpu_ctrl() 52 val &= ~BIT(cpu); in meson_smp_set_cpu_ctrl() 116 static void meson_smp_begin_secondary_boot(unsigned int cpu) in meson_smp_begin_secondary_boot() argument 119 * Set the entry point before powering on the CPU through the SCU. This in meson_smp_begin_secondary_boot() 120 * is needed if the CPU is in "warm" state (= after rebooting the in meson_smp_begin_secondary_boot() 121 * system without power-cycling, or when taking the CPU offline and in meson_smp_begin_secondary_boot() 125 sram_base + MESON_SMP_SRAM_CPU_CTRL_ADDR_REG(cpu)); in meson_smp_begin_secondary_boot() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-meson/ |
| D | platsmp.c | 38 static struct reset_control *meson_smp_get_core_reset(int cpu) in meson_smp_get_core_reset() argument 40 struct device_node *np = of_get_cpu_node(cpu, 0); in meson_smp_get_core_reset() 45 static void meson_smp_set_cpu_ctrl(int cpu, bool on_off) in meson_smp_set_cpu_ctrl() argument 50 val |= BIT(cpu); in meson_smp_set_cpu_ctrl() 52 val &= ~BIT(cpu); in meson_smp_set_cpu_ctrl() 116 static void meson_smp_begin_secondary_boot(unsigned int cpu) in meson_smp_begin_secondary_boot() argument 119 * Set the entry point before powering on the CPU through the SCU. This in meson_smp_begin_secondary_boot() 120 * is needed if the CPU is in "warm" state (= after rebooting the in meson_smp_begin_secondary_boot() 121 * system without power-cycling, or when taking the CPU offline and in meson_smp_begin_secondary_boot() 125 sram_base + MESON_SMP_SRAM_CPU_CTRL_ADDR_REG(cpu)); in meson_smp_begin_secondary_boot() [all …]
|
| /kernel/linux/linux-6.6/drivers/cpufreq/ |
| D | intel_pstate.c | 20 #include <linux/cpu.h> 30 #include <asm/cpu.h> 97 * to account for cpu idle period 133 * Stores the per cpu model P state limits and current P state. 190 * struct cpudata - Per CPU instance data storage 191 * @cpu: CPU number for this instance data 197 * @pstate: Stores P state limits for this CPU 198 * @vid: Stores VID limits for this CPU 221 * @sched_flags: Store scheduler flags for possible cross CPU update 226 * This structure stores per CPU instance data for all CPUs. [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/s390/cf_z16/ |
| D | crypto6.json | 3 "Unit": "CPU-M-CF", 7 …counter counts the total number of the pseudorandom-number-generation functions issued by the CPU." 10 "Unit": "CPU-M-CF", 14 …al number of CPU cycles when the DEA/AES/SHA coprocessor is busy performing the pseudorandom- numb… 17 "Unit": "CPU-M-CF", 21 …that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy performing … 24 "Unit": "CPU-M-CF", 28 …CPU cycles blocked for the pseudorandom-number-generation functions issued by the CPU because the … 31 "Unit": "CPU-M-CF", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/s390/cf_z15/ |
| D | crypto6.json | 3 "Unit": "CPU-M-CF", 7 …counter counts the total number of the pseudorandom-number-generation functions issued by the CPU." 10 "Unit": "CPU-M-CF", 14 …al number of CPU cycles when the DEA/AES/SHA coprocessor is busy performing the pseudorandom- numb… 17 "Unit": "CPU-M-CF", 21 …that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy performing … 24 "Unit": "CPU-M-CF", 28 …CPU cycles blocked for the pseudorandom-number-generation functions issued by the CPU because the … 31 "Unit": "CPU-M-CF", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/cavium/ |
| D | thunder-88xx.dtsi | 65 cpu@0 { 66 device_type = "cpu"; 71 cpu@1 { 72 device_type = "cpu"; 77 cpu@2 { 78 device_type = "cpu"; 83 cpu@3 { 84 device_type = "cpu"; 89 cpu@4 { 90 device_type = "cpu"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/cavium/ |
| D | thunder-88xx.dtsi | 65 cpu@0 { 66 device_type = "cpu"; 71 cpu@1 { 72 device_type = "cpu"; 77 cpu@2 { 78 device_type = "cpu"; 83 cpu@3 { 84 device_type = "cpu"; 89 cpu@4 { 90 device_type = "cpu"; [all …]
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z196/ |
| D | crypto.json | 3 "Unit": "CPU-M-CF", 7 "PublicDescription": "Total number of the PRNG functions issued by the CPU" 10 "Unit": "CPU-M-CF", 14 …Description": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing PRNG fun… 17 "Unit": "CPU-M-CF", 21 …s that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy performing a … 24 "Unit": "CPU-M-CF", 28 …r of CPU cycles blocked for the PRNG functions issued by the CPU because the DEA/AES coprocessor i… 31 "Unit": "CPU-M-CF", 35 "PublicDescription": "Total number of SHA functions issued by the CPU" [all …]
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_zec12/ |
| D | crypto.json | 3 "Unit": "CPU-M-CF", 7 "PublicDescription": "Total number of the PRNG functions issued by the CPU" 10 "Unit": "CPU-M-CF", 14 …Description": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing PRNG fun… 17 "Unit": "CPU-M-CF", 21 …s that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy performing a … 24 "Unit": "CPU-M-CF", 28 …r of CPU cycles blocked for the PRNG functions issued by the CPU because the DEA/AES coprocessor i… 31 "Unit": "CPU-M-CF", 35 "PublicDescription": "Total number of SHA functions issued by the CPU" [all …]
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z15/ |
| D | crypto.json | 3 "Unit": "CPU-M-CF", 7 "PublicDescription": "Total number of the PRNG functions issued by the CPU" 10 "Unit": "CPU-M-CF", 14 …Description": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing PRNG fun… 17 "Unit": "CPU-M-CF", 21 …s that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy performing a … 24 "Unit": "CPU-M-CF", 28 …r of CPU cycles blocked for the PRNG functions issued by the CPU because the DEA/AES coprocessor i… 31 "Unit": "CPU-M-CF", 35 "PublicDescription": "Total number of SHA functions issued by the CPU" [all …]
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z13/ |
| D | crypto.json | 3 "Unit": "CPU-M-CF", 7 "PublicDescription": "Total number of the PRNG functions issued by the CPU" 10 "Unit": "CPU-M-CF", 14 …Description": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing PRNG fun… 17 "Unit": "CPU-M-CF", 21 …s that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy performing a … 24 "Unit": "CPU-M-CF", 28 …r of CPU cycles blocked for the PRNG functions issued by the CPU because the DEA/AES coprocessor i… 31 "Unit": "CPU-M-CF", 35 "PublicDescription": "Total number of SHA functions issued by the CPU" [all …]
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z14/ |
| D | crypto.json | 3 "Unit": "CPU-M-CF", 7 "PublicDescription": "Total number of the PRNG functions issued by the CPU" 10 "Unit": "CPU-M-CF", 14 …Description": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing PRNG fun… 17 "Unit": "CPU-M-CF", 21 …s that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy performing a … 24 "Unit": "CPU-M-CF", 28 …r of CPU cycles blocked for the PRNG functions issued by the CPU because the DEA/AES coprocessor i… 31 "Unit": "CPU-M-CF", 35 "PublicDescription": "Total number of SHA functions issued by the CPU" [all …]
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z10/ |
| D | crypto.json | 3 "Unit": "CPU-M-CF", 7 "PublicDescription": "Total number of the PRNG functions issued by the CPU" 10 "Unit": "CPU-M-CF", 14 …Description": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing PRNG fun… 17 "Unit": "CPU-M-CF", 21 …s that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy performing a … 24 "Unit": "CPU-M-CF", 28 …r of CPU cycles blocked for the PRNG functions issued by the CPU because the DEA/AES coprocessor i… 31 "Unit": "CPU-M-CF", 35 "PublicDescription": "Total number of SHA functions issued by the CPU" [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-tegra/ |
| D | platsmp.c | 36 static void tegra_secondary_init(unsigned int cpu) in tegra_secondary_init() argument 38 cpumask_set_cpu(cpu, &tegra_cpu_init_mask); in tegra_secondary_init() 42 static int tegra20_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra20_boot_secondary() argument 44 cpu = cpu_logical_map(cpu); in tegra20_boot_secondary() 47 * Force the CPU into reset. The CPU must remain in reset when in tegra20_boot_secondary() 49 * flow controller to stop driving reset if the CPU has been in tegra20_boot_secondary() 51 * effect on first boot of the CPU since it should already be in tegra20_boot_secondary() 54 tegra_put_cpu_in_reset(cpu); in tegra20_boot_secondary() 57 * Unhalt the CPU. If the flow controller was used to in tegra20_boot_secondary() 58 * power-gate the CPU this will cause the flow controller to in tegra20_boot_secondary() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-tegra/ |
| D | platsmp.c | 36 static void tegra_secondary_init(unsigned int cpu) in tegra_secondary_init() argument 38 cpumask_set_cpu(cpu, &tegra_cpu_init_mask); in tegra_secondary_init() 42 static int tegra20_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra20_boot_secondary() argument 44 cpu = cpu_logical_map(cpu); in tegra20_boot_secondary() 47 * Force the CPU into reset. The CPU must remain in reset when in tegra20_boot_secondary() 49 * flow controller to stop driving reset if the CPU has been in tegra20_boot_secondary() 51 * effect on first boot of the CPU since it should already be in tegra20_boot_secondary() 54 tegra_put_cpu_in_reset(cpu); in tegra20_boot_secondary() 57 * Unhalt the CPU. If the flow controller was used to in tegra20_boot_secondary() 58 * power-gate the CPU this will cause the flow controller to in tegra20_boot_secondary() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/cpu-hotplug/ |
| D | cpu-on-off-test.sh | 27 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then 28 echo $msg cpu hotplug is not supported >&2 32 echo "CPU online/offline summary:" 33 online_cpus=`cat $SYSFS/devices/system/cpu/online` 37 echo "$msg: since there is only one cpu: $online_cpus" 41 present_cpus=`cat $SYSFS/devices/system/cpu/present` 47 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 63 for cpu in $SYSFS/devices/system/cpu/cpu*; do 64 if [ -f $cpu/online ] && grep -q $state $cpu/online; then 65 echo ${cpu##/*/cpu} [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-devices-system-cpu | 1 What: /sys/devices/system/cpu/ 5 A collection of both global and individual CPU attributes 7 Individual CPU attributes are contained in subdirectories 8 named by the kernel's logical CPU number, e.g.: 10 /sys/devices/system/cpu/cpu#/ 12 What: /sys/devices/system/cpu/kernel_max 13 /sys/devices/system/cpu/offline 14 /sys/devices/system/cpu/online 15 /sys/devices/system/cpu/possible 16 /sys/devices/system/cpu/present [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/kernel/ |
| D | smp.c | 23 #include <linux/cpu.h> 40 #include <asm/cpu.h> 83 static void ipi_setup(int cpu); 86 static void ipi_teardown(int cpu); 87 static int op_cpu_kill(unsigned int cpu); 89 static inline int op_cpu_kill(unsigned int cpu) in op_cpu_kill() argument 97 * Boot a secondary CPU, and assign it the specified idle task. 98 * This also gives us the initial stack to use for this CPU. 100 static int boot_secondary(unsigned int cpu, struct task_struct *idle) in boot_secondary() argument 102 const struct cpu_operations *ops = get_cpu_ops(cpu); in boot_secondary() [all …]
|
| /kernel/linux/linux-6.6/drivers/base/ |
| D | arch_topology.c | 3 * Arch specific cpu topology information 11 #include <linux/cpu.h> 63 int cpu; in topology_set_scale_freq_source() local 74 for_each_cpu(cpu, cpus) { in topology_set_scale_freq_source() 75 sfd = rcu_dereference(*per_cpu_ptr(&sft_data, cpu)); in topology_set_scale_freq_source() 79 rcu_assign_pointer(per_cpu(sft_data, cpu), data); in topology_set_scale_freq_source() 80 cpumask_set_cpu(cpu, &scale_freq_counters_mask); in topology_set_scale_freq_source() 94 int cpu; in topology_clear_scale_freq_source() local 98 for_each_cpu(cpu, cpus) { in topology_clear_scale_freq_source() 99 sfd = rcu_dereference(*per_cpu_ptr(&sft_data, cpu)); in topology_clear_scale_freq_source() [all …]
|
| /kernel/linux/linux-5.10/tools/power/x86/intel-speed-select/ |
| D | isst-core.c | 9 int isst_write_pm_config(int cpu, int cp_state) in isst_write_pm_config() argument 19 ret = isst_send_mbox_command(cpu, WRITE_PM_CONFIG, PM_FEATURE, 0, req, in isst_write_pm_config() 24 debug_printf("cpu:%d WRITE_PM_CONFIG resp:%x\n", cpu, resp); in isst_write_pm_config() 29 int isst_read_pm_config(int cpu, int *cp_state, int *cp_cap) in isst_read_pm_config() argument 34 ret = isst_send_mbox_command(cpu, READ_PM_CONFIG, PM_FEATURE, 0, 0, in isst_read_pm_config() 39 debug_printf("cpu:%d READ_PM_CONFIG resp:%x\n", cpu, resp); in isst_read_pm_config() 47 int isst_get_ctdp_levels(int cpu, struct isst_pkg_ctdp *pkg_dev) in isst_get_ctdp_levels() argument 52 ret = isst_send_mbox_command(cpu, CONFIG_TDP, in isst_get_ctdp_levels() 63 debug_printf("cpu:%d CONFIG_TDP_GET_LEVELS_INFO resp:%x\n", cpu, resp); in isst_get_ctdp_levels() 74 int isst_get_ctdp_control(int cpu, int config_index, in isst_get_ctdp_control() argument [all …]
|