| /linux/arch/arm/boot/dts/intel/axm/ |
| H A 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 …]
|
| /linux/drivers/cpufreq/ |
| H A D | intel_pstate.c | 21 #include <linux/cpu.h> 33 #include <asm/cpu.h> 100 * to account for cpu idle period 136 * Stores the per cpu model P state limits and current P state. 191 * struct cpudata - Per CPU instance data storage 192 * @cpu: CPU number for this instance data 198 * @pstate: Stores P state limits for this CPU 199 * @vid: Stores VID limits for this CPU 221 * @sched_flags: Store scheduler flags for possible cross CPU updat 230 int cpu; global() member 362 intel_pstate_set_itmt_prio(int cpu) intel_pstate_set_itmt_prio() argument 405 intel_pstate_get_cppc_guaranteed(int cpu) intel_pstate_get_cppc_guaranteed() argument 420 intel_pstate_cppc_get_scaling(int cpu) intel_pstate_cppc_get_scaling() argument 437 intel_pstate_set_itmt_prio(int cpu) intel_pstate_set_itmt_prio() argument 444 struct cpudata *cpu; intel_pstate_init_acpi_perf_limits() local 500 struct cpudata *cpu; intel_pstate_exit_perf_limits() local 524 intel_pstate_get_cppc_guaranteed(int cpu) intel_pstate_get_cppc_guaranteed() argument 529 intel_pstate_cppc_get_scaling(int cpu) intel_pstate_cppc_get_scaling() argument 535 intel_pstate_freq_to_hwp_rel(struct cpudata * cpu,int freq,unsigned int relation) intel_pstate_freq_to_hwp_rel() argument 554 intel_pstate_freq_to_hwp(struct cpudata * cpu,int freq) intel_pstate_freq_to_hwp() argument 570 struct cpudata *cpu = all_cpu_data[0]; min_perf_pct_min() local 672 intel_pstate_set_epp(struct cpudata * cpu,u32 epp) intel_pstate_set_epp() argument 749 struct cpudata *cpu = all_cpu_data[policy->cpu]; store_energy_performance_preference() local 834 struct cpudata *cpu = all_cpu_data[policy->cpu]; show_base_frequency() local 869 hybrid_get_cpu_type(unsigned int cpu) hybrid_get_cpu_type() argument 905 hybrid_has_l3(unsigned int cpu) hybrid_has_l3() argument 942 hybrid_register_perf_domain(unsigned int cpu) hybrid_register_perf_domain() argument 972 unsigned int cpu; hybrid_register_all_perf_domains() local 978 hybrid_update_perf_domain(struct cpudata * cpu) hybrid_update_perf_domain() argument 984 hybrid_register_perf_domain(unsigned int cpu) hybrid_register_perf_domain() argument 986 hybrid_update_perf_domain(struct cpudata * cpu) hybrid_update_perf_domain() argument 989 hybrid_set_cpu_capacity(struct cpudata * cpu) hybrid_set_cpu_capacity() argument 1009 hybrid_get_capacity_perf(struct cpudata * cpu) hybrid_get_capacity_perf() argument 1026 struct cpudata *cpu = all_cpu_data[cpunum]; hybrid_set_capacity_of_cpus() local 1040 struct cpudata *cpu = all_cpu_data[cpunum]; hybrid_update_cpu_capacity_scaling() local 1146 intel_pstate_update_freq_limits(struct cpudata * cpu) intel_pstate_update_freq_limits() argument 1162 __intel_pstate_get_hwp_cap(struct cpudata * cpu) __intel_pstate_get_hwp_cap() argument 1172 intel_pstate_get_hwp_cap(struct cpudata * cpu) intel_pstate_get_hwp_cap() argument 1178 hybrid_update_capacity(struct cpudata * cpu) hybrid_update_capacity() argument 1223 intel_pstate_hwp_set(unsigned int cpu) intel_pstate_hwp_set() argument 1287 intel_pstate_hwp_offline(struct cpudata * cpu) intel_pstate_hwp_offline() argument 1375 intel_pstate_hwp_reenable(struct cpudata * cpu) intel_pstate_hwp_reenable() argument 1383 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_pstate_suspend() local 1397 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_pstate_resume() local 1423 int cpu; intel_pstate_update_policies() local 1443 intel_pstate_update_max_freq(int cpu) intel_pstate_update_max_freq() argument 1465 int cpu; intel_pstate_update_limits_for_all() local 1515 struct cpudata *cpu; show_turbo_pct() local 1537 struct cpudata *cpu; show_num_pstates() local 1595 struct cpudata *cpu = all_cpu_data[0]; store_no_turbo() local 1611 update_cpu_qos_request(int cpu,enum freq_qos_req_type type) update_cpu_qos_request() argument 2119 core_get_min_pstate(int cpu) core_get_min_pstate() argument 2127 core_get_max_pstate_physical(int cpu) core_get_max_pstate_physical() argument 2135 core_get_tdp_ratio(int cpu,u64 plat_info) core_get_tdp_ratio() argument 2168 core_get_max_pstate(int cpu) core_get_max_pstate() argument 2203 core_get_turbo_pstate(int cpu) core_get_turbo_pstate() argument 2226 knl_get_turbo_pstate(int cpu) knl_get_turbo_pstate() argument 2239 hwp_get_cpu_scaling(int cpu) hwp_get_cpu_scaling() argument 2264 intel_pstate_get_hwp_pstates(struct cpudata * cpu) intel_pstate_get_hwp_pstates() argument 2313 intel_pstate_get_cpu_pstates(struct cpudata * cpu) intel_pstate_get_cpu_pstates() argument 2346 intel_pstate_hwp_boost_up(struct cpudata * cpu) intel_pstate_hwp_boost_up() argument 2393 intel_pstate_hwp_boost_down(struct cpudata * cpu) intel_pstate_hwp_boost_down() argument 2409 intel_pstate_update_util_hwp_local(struct cpudata * cpu,u64 time) intel_pstate_update_util_hwp_local() argument 2441 struct cpudata *cpu = container_of(data, struct cpudata, update_util); intel_pstate_update_util_hwp() local 2449 intel_pstate_calc_avg_perf(struct cpudata * cpu) intel_pstate_calc_avg_perf() argument 2456 intel_pstate_sample(struct cpudata * cpu,u64 time) intel_pstate_sample() argument 2498 get_avg_frequency(struct cpudata * cpu) get_avg_frequency() argument 2503 get_avg_pstate(struct cpudata * cpu) get_avg_pstate() argument 2509 get_target_pstate(struct cpudata * cpu) get_target_pstate() argument 2544 intel_pstate_prepare_request(struct cpudata * cpu,int pstate) intel_pstate_prepare_request() argument 2552 intel_pstate_update_pstate(struct cpudata * cpu,int pstate) intel_pstate_update_pstate() argument 2561 intel_pstate_adjust_pstate(struct cpudata * cpu) intel_pstate_adjust_pstate() argument 2587 struct cpudata *cpu = container_of(data, struct cpudata, update_util); intel_pstate_update_util() local 2722 struct cpudata *cpu; intel_pstate_init_cpu() local 2764 struct cpudata *cpu = all_cpu_data[cpu_num]; intel_pstate_set_update_util_hook() local 2781 intel_pstate_clear_update_util_hook(unsigned int cpu) intel_pstate_clear_update_util_hook() argument 2793 intel_pstate_get_max_freq(struct cpudata * cpu) intel_pstate_get_max_freq() argument 2799 intel_pstate_update_perf_limits(struct cpudata * cpu,unsigned int policy_min,unsigned int policy_max) intel_pstate_update_perf_limits() argument 2862 intel_pstate_set_pstate(struct cpudata * cpu,int pstate) intel_pstate_set_pstate() argument 2878 struct cpudata *cpu; intel_pstate_set_policy() local 2935 intel_pstate_adjust_policy_max(struct cpudata * cpu,struct cpufreq_policy_data * policy) intel_pstate_adjust_policy_max() argument 2947 intel_pstate_verify_cpu_policy(struct cpudata * cpu,struct cpufreq_policy_data * policy) intel_pstate_verify_cpu_policy() argument 2971 intel_pstate_set_min_pstate(struct cpudata * cpu) intel_pstate_set_min_pstate() argument 2978 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_cpu_offline() local 3005 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_pstate_cpu_online() local 3041 struct cpudata *cpu; __intel_pstate_cpu_init() local 3068 struct cpudata *cpu; intel_pstate_cpu_init() local 3105 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_verify_policy() local 3129 intel_cpufreq_trace(struct cpudata * cpu,unsigned int trace_type,int old_pstate) intel_cpufreq_trace() argument 3151 intel_cpufreq_hwp_update(struct cpudata * cpu,u32 min,u32 max,u32 desired,bool fast_switch) intel_cpufreq_hwp_update() argument 3175 intel_cpufreq_perf_ctl_update(struct cpudata * cpu,u32 target_pstate,bool fast_switch) intel_cpufreq_perf_ctl_update() argument 3189 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_update_pstate() local 3215 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_target() local 3237 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_fast_switch() local 3253 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_adjust_perf() local 3302 struct cpudata *cpu; intel_cpufreq_cpu_init() local 3395 struct cpudata *cpu = all_cpu_data[policy->cpu]; intel_cpufreq_suspend() local 3431 unsigned int cpu; intel_pstate_driver_cleanup() local [all...] |
| /linux/arch/arm/mach-meson/ |
| H A 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 …]
|
| /linux/drivers/base/ |
| H A D | arch_topology.c | 3 * Arch specific cpu topology information 12 #include <linux/cpu.h> 74 int cpu; in topology_set_scale_freq_source() local 85 for_each_cpu(cpu, cpus) { in topology_set_scale_freq_source() 86 sfd = rcu_dereference(*per_cpu_ptr(&sft_data, cpu)); in topology_set_scale_freq_source() 90 rcu_assign_pointer(per_cpu(sft_data, cpu), data); in topology_set_scale_freq_source() 91 cpumask_set_cpu(cpu, &scale_freq_counters_mask); in topology_set_scale_freq_source() 105 int cpu; in topology_clear_scale_freq_source() local 109 for_each_cpu(cpu, cpus) { in topology_clear_scale_freq_source() 110 sfd = rcu_dereference(*per_cpu_ptr(&sft_data, cpu)); in topology_clear_scale_freq_source() 185 int cpu; topology_update_hw_pressure() local 245 int cpu; topology_normalize_cpu_scale() local 269 topology_parse_cpu_capacity(struct device_node * cpu_node,int cpu) topology_parse_cpu_capacity() argument 320 freq_inv_set_max_ratio(int cpu,u64 max_rate) freq_inv_set_max_ratio() argument 331 int cpu; topology_init_cpu_capacity_cppc() local 395 int cpu; init_cpu_capacity_callback() local 483 int cpu; get_cpu_for_node() local 506 int cpu; parse_core() local 661 int cpu; parse_dt_topology() local 705 cpu_coregroup_mask(int cpu) cpu_coregroup_mask() argument 732 cpu_clustergroup_mask(int cpu) cpu_clustergroup_mask() argument 748 int cpu, ret; update_siblings_masks() local 785 clear_cpu_topology(int cpu) clear_cpu_topology() argument 803 unsigned int cpu; reset_cpu_topology() local 817 remove_cpu_topology(unsigned int cpu) remove_cpu_topology() argument 839 acpi_cpu_is_threaded(int cpu) acpi_cpu_is_threaded() argument 863 int cpu, topology_id; parse_acpi_topology() local 935 int cpu, ret; init_cpu_topology() local [all...] |
| H A D | cacheinfo.c | 5 * Based on arch/x86/kernel/cpu/intel_cacheinfo.c 15 #include <linux/cpu.h> 25 /* pointer to per cpu cacheinfo */ 27 #define ci_cacheinfo(cpu) (&per_cpu(ci_cpu_cacheinfo, cpu)) argument 28 #define cache_leaves(cpu) (ci_cacheinfo(cpu)->num_leaves) argument 29 #define per_cpu_cacheinfo(cpu) (ci_cacheinfo(cpu)->info_list) argument 30 #define per_cpu_cacheinfo_idx(cpu, idx) \ argument 31 (per_cpu_cacheinfo(cpu) + (idx)) 36 struct cpu_cacheinfo *get_cpu_cacheinfo(unsigned int cpu) in get_cpu_cacheinfo() argument 38 return ci_cacheinfo(cpu); in get_cpu_cacheinfo() [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z16/ |
| H A 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 …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z15/ |
| H A 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 …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z17/ |
| H A 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 …]
|
| /linux/arch/arm64/kernel/ |
| H A D | smp.c | 23 #include <linux/cpu.h> 43 #include <asm/cpu.h> 84 static void ipi_setup(int cpu); 87 static void ipi_teardown(int cpu); 88 static int op_cpu_kill(unsigned int cpu); 90 static inline int op_cpu_kill(unsigned int cpu) in op_cpu_kill() argument 98 * Boot a secondary CPU, and assign it the specified idle task. 99 * This also gives us the initial stack to use for this CPU. 101 static int boot_secondary(unsigned int cpu, struct task_struct *idle) in boot_secondary() argument 103 const struct cpu_operations *ops = get_cpu_ops(cpu); in boot_secondary() [all …]
|
| /linux/tools/perf/tests/ |
| H A D | topology.c | 76 struct perf_cpu cpu; in check_cpu_topology() 88 * cpu is a NULL pointer. in check_cpu_topology() 90 * CPU 0 is on core_id 0 and physical_package_id 6 in check_cpu_topology() 91 * CPU 1 is on core_id 1 and physical_package_id 3 in check_cpu_topology() 94 * dependent and might have higher numbers than the CPU id. in check_cpu_topology() 108 if (!env->cpu && e_machine != EM_S390 && e_machine != EM_AARCH64) in check_cpu_topology() 115 * test if physical_package_id returns -1 for cpu from perf_cpu_map. in check_cpu_topology() 122 TEST_ASSERT_VAL("Session header CPU map not set", env->cpu); in check_cpu_topology() 125 cpu in check_cpu_topology() 72 struct perf_cpu cpu; check_cpu_topology() local [all...] |
| /linux/arch/arm/mach-tegra/ |
| H A 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 …]
|
| /linux/include/linux/ |
| H A D | cpumask.h | 7 * set of CPUs in a system, one bit position per CPU number. In general, 85 * cpu_possible_mask- has bit 'cpu' set iff cpu is populatable 86 * cpu_present_mask - has bit 'cpu' set iff cpu is populated 87 * cpu_enabled_mask - has bit 'cpu' set iff cpu can be brought online 88 * cpu_online_mask - has bit 'cpu' set iff cpu available to scheduler 89 * cpu_active_mask - has bit 'cpu' set iff cpu available to migration 93 * The cpu_possible_mask is fixed at boot time, as the set of CPU IDs 109 * assumption that their single CPU is online. The UP 115 * only one CPU. 144 static __always_inline void cpu_max_bits_warn(unsigned int cpu, unsigned int bits) in cpu_max_bits_warn() argument [all …]
|
| /linux/tools/testing/selftests/cpu-hotplug/ |
| H A D | cpu-on-off-test.sh | 27 if ! ls $SYSFS/devices/system/cpu/cpu*/online > /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/cp [all...] |
| /linux/tools/perf/pmu-events/arch/s390/cf_z14/ |
| H A D | crypto.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 …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z13/ |
| H A D | crypto.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 …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z10/ |
| H A D | crypto.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 …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_zec12/ |
| H A D | crypto.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 …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z196/ |
| H A D | crypto.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 …]
|
| /linux/arch/um/kernel/ |
| H A D | smp.c | 16 #include <linux/cpu.h> 33 void arch_smp_send_reschedule(int cpu) in arch_smp_send_reschedule() 35 os_send_ipi(cpu, UML_IPI_RES); in arch_smp_send_reschedule() 38 void arch_send_call_function_single_ipi(int cpu) in arch_send_call_function_single_ipi() 40 os_send_ipi(cpu, UML_IPI_CALL_SINGLE); in arch_send_call_function_single_ipi() 45 int cpu; in arch_send_call_function_ipi_mask() 47 for_each_cpu(cpu, mask) in arch_send_call_function_ipi_mask() 48 os_send_ipi(cpu, UML_IPI_CALL); in arch_send_call_function_ipi_mask() 53 int cpu, me = smp_processor_id(); in smp_send_stop() 55 for_each_online_cpu(cpu) { in smp_send_stop() 32 arch_smp_send_reschedule(int cpu) arch_smp_send_reschedule() argument 37 arch_send_call_function_single_ipi(int cpu) arch_send_call_function_single_ipi() argument 44 int cpu; arch_send_call_function_ipi_mask() local 52 int cpu, me = smp_processor_id(); smp_send_stop() local 64 int cpu = raw_smp_processor_id(); ipi_handler() local 121 int err, cpu = raw_smp_processor_id(); start_secondary() local 139 int cpu = raw_smp_processor_id(); uml_start_secondary() local 167 int err, cpu, me = smp_processor_id(); smp_prepare_cpus() local 193 __cpu_up(unsigned int cpu,struct task_struct * tidle) __cpu_up() argument 213 int cpu; prefill_possible_map() local [all...] |
| /linux/arch/loongarch/kernel/ |
| H A D | smp.c | 12 #include <linux/cpu.h> 28 #include <asm/cpu.h> 44 /* Representing the threads (siblings) of each logical CPU */ 48 /* Representing the last level cache shared map of each logical CPU */ 52 /* Representing the core map of multi-core chips of each logical CPU */ 60 * A logcal cpu mask containing only one VPE per core to 87 unsigned int cpu, i; in show_ipi_list() local 91 for_each_online_cpu(cpu) in show_ipi_list() 92 seq_put_decimal_ull_width(p, " ", per_cpu(irq_stat, cpu).ipi_irqs[i], 10); in show_ipi_list() 97 static inline void set_cpu_core_map(int cpu) in set_cpu_core_map() argument [all …]
|
| /linux/arch/s390/kernel/ |
| H A D | smp.c | 13 * The code outside of smp.c uses logical cpu numbers, only smp.c does 14 * the translation of logical to physical cpu ids. All new code that 15 * operates on physical cpu numbers needs to go into smp.c. 18 #define pr_fmt(fmt) "cpu: " fmt 33 #include <linux/cpu.h> 80 * Pointer to the pcpu area of the boot CPU. This is required when a restart 81 * interrupt is triggered on an offline CPU. For that case accessing percpu 157 /* Status stored condition code is equivalent to cpu not running. */ in pcpu_running() 162 * Find struct pcpu by cpu address. 166 int cpu; in pcpu_find_address() local [all …]
|
| /linux/arch/arm64/boot/dts/amd/ |
| H A D | elba-16core.dtsi | 11 cpu-map { 13 core0 { cpu = <&cpu0>; }; 14 core1 { cpu = <&cpu1>; }; 15 core2 { cpu = <&cpu2>; }; 16 core3 { cpu = <&cpu3>; }; 20 core0 { cpu = <&cpu4>; }; 21 core1 { cpu = <&cpu5>; }; 22 core2 { cpu = <&cpu6>; }; 23 core3 { cpu = <&cpu7>; }; 27 core0 { cpu = <&cpu8>; }; [all …]
|
| /linux/drivers/cpuidle/ |
| H A D | coupled.c | 11 #include <linux/cpu.h> 25 * sequencing restrictions (on Tegra 2, cpu 0 must be the last to 26 * power down), or due to HW bugs (on OMAP4460, a cpu powering up 27 * will corrupt the gic state unless the other cpu runs a work 28 * around). Each cpu has a power state that it can enter without 29 * coordinating with the other cpu (usually Wait For Interrupt, or 35 * This file implements a solution, where each cpu will wait in the 45 * each cpu will increment the ready counter, and continue once the 47 * cpu exits idle, the other cpus will decrement their counter and 50 * requested_state stores the deepest coupled idle state each cpu [all …]
|
| /linux/arch/arm/mach-bcm/ |
| H A D | platsmp-brcmstb.c | 3 * Broadcom STB CPU SMP and hotplug support for ARM 52 * We must quiesce a dying CPU before it can be killed by the boot CPU. Because 59 static int per_cpu_sw_state_rd(u32 cpu) in per_cpu_sw_state_rd() argument 61 sync_cache_r(SHIFT_PERCPU_PTR(&per_cpu_sw_state, per_cpu_offset(cpu))); in per_cpu_sw_state_rd() 62 return per_cpu(per_cpu_sw_state, cpu); in per_cpu_sw_state_rd() 65 static void per_cpu_sw_state_wr(u32 cpu, int val) in per_cpu_sw_state_wr() argument 68 per_cpu(per_cpu_sw_state, cpu) = val; in per_cpu_sw_state_wr() 69 sync_cache_w(SHIFT_PERCPU_PTR(&per_cpu_sw_state, per_cpu_offset(cpu))); in per_cpu_sw_state_wr() 72 static inline void per_cpu_sw_state_wr(u32 cpu, int val) { } in per_cpu_sw_state_wr() argument 75 static void __iomem *pwr_ctrl_get_base(u32 cpu) in pwr_ctrl_get_base() argument [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A 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/cpuX/ 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/presen [all...] |