Home
last modified time | relevance | path

Searched full:cpu (Results 1 – 25 of 8079) sorted by relevance

12345678910>>...324

/OK3568_Linux_fs/yocto/poky/meta/recipes-support/boost/boost/
H A D0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch20 @@ -1122,147 +1122,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + :
32 -cpu-flags gcc OPTIONS : x86 : native : -march=native ;
33 -cpu-flags gcc OPTIONS : x86 : i486 : -march=i486 ;
34 -cpu-flags gcc OPTIONS : x86 : i586 : -march=i586 ;
35 -cpu-flags gcc OPTIONS : x86 : i686 : -march=i686 ;
36 -cpu-flags gcc OPTIONS : x86 : pentium : -march=pentium ;
37 -cpu-flags gcc OPTIONS : x86 : pentium-mmx : -march=pentium-mmx ;
38 -cpu-flags gcc OPTIONS : x86 : pentiumpro : -march=pentiumpro ;
39 -cpu-flags gcc OPTIONS : x86 : pentium2 : -march=pentium2 ;
40 -cpu-flags gcc OPTIONS : x86 : pentium3 : -march=pentium3 ;
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/cpu/
H A Dcpu-topology.txt2 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 …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dthunderx-88xx.dtsi25 cpu@000 {
26 device_type = "cpu";
31 cpu@001 {
32 device_type = "cpu";
37 cpu@002 {
38 device_type = "cpu";
43 cpu@003 {
44 device_type = "cpu";
49 cpu@004 {
50 device_type = "cpu";
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Daxm5516-cpus.dtsi13 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 …]
/OK3568_Linux_fs/kernel/arch/arm/mach-meson/
H A Dplatsmp.c38 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 …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/cpu-hotplug/
H A Dcpu-on-off-test.sh26 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 …]
/OK3568_Linux_fs/kernel/drivers/cpufreq/
H A Dintel_pstate.c20 #include <linux/cpu.h>
105 * to account for cpu idle period
140 * Stores the per cpu model P state limits and current P state.
195 * struct cpudata - Per CPU instance data storage
196 * @cpu: CPU number for this instance data
202 * @pstate: Stores P state limits for this CPU
203 * @vid: Stores VID limits for this CPU
226 * @sched_flags: Store scheduler flags for possible cross CPU update
230 * This structure stores per CPU instance data for all CPUs.
233 int cpu; member
[all …]
/OK3568_Linux_fs/kernel/tools/power/x86/intel-speed-select/
H A Disst-core.c9 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 …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/cavium/
H A Dthunder-88xx.dtsi65 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 …]
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dsmp.c23 #include <linux/cpu.h>
40 #include <asm/cpu.h>
93 static void ipi_setup(int cpu);
96 static void ipi_teardown(int cpu);
97 static int op_cpu_kill(unsigned int cpu);
99 static inline int op_cpu_kill(unsigned int cpu) in op_cpu_kill() argument
107 * Boot a secondary CPU, and assign it the specified idle task.
108 * This also gives us the initial stack to use for this CPU.
110 static int boot_secondary(unsigned int cpu, struct task_struct *idle) in boot_secondary() argument
112 const struct cpu_operations *ops = get_cpu_ops(cpu); in boot_secondary()
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-devices-system-cpu1 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 …]
/OK3568_Linux_fs/kernel/kernel/
H A Dsmpboot.c3 * Common SMP CPU bringup/teardown functions
5 #include <linux/cpu.h>
30 struct task_struct *idle_thread_get(unsigned int cpu) in idle_thread_get() argument
32 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_thread_get()
45 * idle_init - Initialize the idle thread for a cpu
46 * @cpu: The cpu for which the idle thread should be initialized
50 static inline void idle_init(unsigned int cpu) in idle_init() argument
52 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_init()
55 tsk = fork_idle(cpu); in idle_init()
57 pr_err("SMP: fork_idle() failed for CPU %u\n", cpu); in idle_init()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mach-tegra/
H A Dplatsmp.c36 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 …]
/OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/s390/cf_z196/
H A Dcrypto.json3 "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 …]
/OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/s390/cf_z14/
H A Dcrypto.json3 "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 …]
/OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/s390/cf_z10/
H A Dcrypto.json3 "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 …]
/OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/s390/cf_z15/
H A Dcrypto.json3 "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 …]
/OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/s390/cf_z13/
H A Dcrypto.json3 "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 …]
/OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/s390/cf_zec12/
H A Dcrypto.json3 "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 …]
/OK3568_Linux_fs/kernel/arch/x86/xen/
H A Dsmp.c3 #include <linux/cpu.h>
33 void xen_smp_intr_free(unsigned int cpu) in xen_smp_intr_free() argument
35 if (per_cpu(xen_resched_irq, cpu).irq >= 0) { in xen_smp_intr_free()
36 unbind_from_irqhandler(per_cpu(xen_resched_irq, cpu).irq, NULL); in xen_smp_intr_free()
37 per_cpu(xen_resched_irq, cpu).irq = -1; in xen_smp_intr_free()
38 kfree(per_cpu(xen_resched_irq, cpu).name); in xen_smp_intr_free()
39 per_cpu(xen_resched_irq, cpu).name = NULL; in xen_smp_intr_free()
41 if (per_cpu(xen_callfunc_irq, cpu).irq >= 0) { in xen_smp_intr_free()
42 unbind_from_irqhandler(per_cpu(xen_callfunc_irq, cpu).irq, NULL); in xen_smp_intr_free()
43 per_cpu(xen_callfunc_irq, cpu).irq = -1; in xen_smp_intr_free()
[all …]
/OK3568_Linux_fs/kernel/drivers/base/
H A Darch_topology.c3 * Arch specific cpu topology information
10 #include <linux/cpu.h>
66 void topology_set_cpu_scale(unsigned int cpu, unsigned long capacity) in topology_set_cpu_scale() argument
68 per_cpu(cpu_scale, cpu) = capacity; in topology_set_cpu_scale()
77 int cpu; in topology_set_thermal_pressure() local
79 for_each_cpu(cpu, cpus) in topology_set_thermal_pressure()
80 WRITE_ONCE(per_cpu(thermal_pressure, cpu), th_pressure); in topology_set_thermal_pressure()
88 struct cpu *cpu = container_of(dev, struct cpu, dev); in cpu_capacity_show() local
90 return sysfs_emit(buf, "%lu\n", topology_get_cpu_scale(cpu->dev.id)); in cpu_capacity_show()
101 struct device *cpu; in register_cpu_capacity_sysctl() local
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dsmp.c29 #include <linux/cpu.h>
73 /* State of each CPU during hotplug phases */
111 * On big-cores system, cpu_l1_cache_map for each CPU corresponds to
125 * Returns 1 if the specified cpu should be brought up during boot.
259 void smp_muxed_ipi_set_message(int cpu, int msg) in smp_muxed_ipi_set_message() argument
261 struct cpu_messages *info = &per_cpu(ipi_message, cpu); in smp_muxed_ipi_set_message()
271 void smp_muxed_ipi_message_pass(int cpu, int msg) in smp_muxed_ipi_message_pass() argument
273 smp_muxed_ipi_set_message(cpu, msg); in smp_muxed_ipi_message_pass()
279 smp_ops->cause_ipi(cpu); in smp_muxed_ipi_message_pass()
333 static inline void do_message_pass(int cpu, int msg) in do_message_pass() argument
[all …]
/OK3568_Linux_fs/kernel/arch/arm/kernel/
H A Dsmp.c20 #include <linux/cpu.h>
35 #include <asm/cpu.h>
91 static void ipi_setup(int cpu);
113 static int secondary_biglittle_prepare(unsigned int cpu) in secondary_biglittle_prepare() argument
115 if (!cpu_vtable[cpu]) in secondary_biglittle_prepare()
116 cpu_vtable[cpu] = kzalloc(sizeof(*cpu_vtable[cpu]), GFP_KERNEL); in secondary_biglittle_prepare()
118 return cpu_vtable[cpu] ? 0 : -ENOMEM; in secondary_biglittle_prepare()
126 static int secondary_biglittle_prepare(unsigned int cpu) in secondary_biglittle_prepare() argument
136 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument
143 ret = secondary_biglittle_prepare(cpu); in __cpu_up()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dcpumask.h7 * set of CPU's in a system, one bit position per CPU number. In general,
54 * cpu_possible_mask- has bit 'cpu' set iff cpu is populatable
55 * cpu_present_mask - has bit 'cpu' set iff cpu is populated
56 * cpu_online_mask - has bit 'cpu' set iff cpu available to scheduler
57 * cpu_active_mask - has bit 'cpu' set iff cpu available to migration
61 * The cpu_possible_mask is fixed at boot time, as the set of CPU id's
81 * assumption that their single CPU is online. The UP
87 * only one CPU.
107 * concurrent CPU hotplug operations unless invoked from a cpuhp_lock held
117 #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask) argument
[all …]
/OK3568_Linux_fs/kernel/arch/arc/kernel/
H A Dsetup.c15 #include <linux/cpu.h>
70 static void read_decode_ccm_bcr(struct cpuinfo_arc *cpu) in read_decode_ccm_bcr() argument
78 cpu->iccm.sz = 4096 << iccm.sz; /* 8K to 512K */ in read_decode_ccm_bcr()
79 cpu->iccm.base_addr = iccm.base << 16; in read_decode_ccm_bcr()
85 cpu->dccm.sz = 2048 << dccm.sz; /* 2K to 256K */ in read_decode_ccm_bcr()
88 cpu->dccm.base_addr = base & ~0xF; in read_decode_ccm_bcr()
97 cpu->iccm.sz = 256 << iccm.sz00; /* 512B to 16M */ in read_decode_ccm_bcr()
99 cpu->iccm.sz <<= iccm.sz01; in read_decode_ccm_bcr()
102 cpu->iccm.base_addr = region & 0xF0000000; in read_decode_ccm_bcr()
107 cpu->dccm.sz = 256 << dccm.sz0; in read_decode_ccm_bcr()
[all …]

12345678910>>...324