/openbmc/qemu/hw/core/ |
H A D | machine-smp.c | 98 unsigned maxcpus = config->has_maxcpus ? config->maxcpus : 0; in machine_parse_smp_config() local 114 (config->has_maxcpus && config->maxcpus == 0)) { in machine_parse_smp_config() 165 if (cpus == 0 && maxcpus == 0) { in machine_parse_smp_config() 170 maxcpus = maxcpus > 0 ? maxcpus : cpus; in machine_parse_smp_config() 177 sockets = maxcpus / in machine_parse_smp_config() 182 cores = maxcpus / in machine_parse_smp_config() 191 cores = maxcpus / in machine_parse_smp_config() 196 sockets = maxcpus / in machine_parse_smp_config() 204 threads = maxcpus / in machine_parse_smp_config() 212 maxcpus = maxcpus > 0 ? maxcpus : total_cpus; in machine_parse_smp_config() [all …]
|
H A D | machine.c | 899 .has_maxcpus = true, .maxcpus = ms->smp.max_cpus, in machine_get_smp()
|
/openbmc/qemu/tests/qtest/ |
H A D | cpu-plug-test.c | 23 unsigned maxcpus; member 40 td->sockets, td->cores, td->threads, td->maxcpus); in test_plug_with_device_add() 97 data->maxcpus = data->sockets * data->cores * data->threads; in add_pc_test_case() 101 data->threads, data->maxcpus); in add_pc_test_case() 123 data->maxcpus = data->sockets * data->cores * data->threads; in add_pseries_test_case() 127 data->threads, data->maxcpus); in add_pseries_test_case() 149 data->maxcpus = data->sockets * data->cores * data->threads; in add_s390x_test_case() 153 data->threads, data->maxcpus); in add_s390x_test_case()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | vsmp_64.c | 100 unsigned int cfg, topology, node_shift, maxcpus; in vsmp_cap_cpus() local 121 maxcpus = (topology & ((1 << node_shift) - 1)) + 1; in vsmp_cap_cpus() 124 maxcpus); in vsmp_cap_cpus() 125 setup_max_cpus = maxcpus; in vsmp_cap_cpus()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | setup-common.c | 523 int num_addr_cell, num_size_cell, maxcpus; in smp_setup_cpu_maps() local 534 maxcpus = be32_to_cpup(ireg + num_addr_cell + num_size_cell); in smp_setup_cpu_maps() 538 maxcpus *= nthreads; in smp_setup_cpu_maps() 540 if (maxcpus > nr_cpu_ids) { in smp_setup_cpu_maps() 544 maxcpus, nr_cpu_ids); in smp_setup_cpu_maps() 545 maxcpus = nr_cpu_ids; in smp_setup_cpu_maps() 548 maxcpus); in smp_setup_cpu_maps() 550 for (cpu = 0; cpu < maxcpus; cpu++) in smp_setup_cpu_maps()
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | functions.sh | 88 if test "$3" -gt "$maxcpus" 90 echo $maxcpus
|
/openbmc/qemu/tests/unit/ |
H A D | test-smp-parse.c | 38 .has_maxcpus = he, .maxcpus = e, \ 63 .has_maxcpus = hg, .maxcpus = g, \ 77 .has_maxcpus = hf, .maxcpus = f, \ 93 .has_maxcpus = hg, .maxcpus = g, \ 112 .has_maxcpus = true, .maxcpus = j, \ 728 config->has_maxcpus ? "true" : "false", config->maxcpus); in smp_config_to_string() 1073 data.config.maxcpus *= num_modules; in test_with_modules() 1123 data.config.maxcpus *= num_dies; in test_with_dies() 1181 data.config.maxcpus *= num_modules * num_dies; in test_with_modules_dies() 1234 data.config.maxcpus *= num_clusters; in test_with_clusters() [all …]
|
/openbmc/linux/tools/testing/selftests/rcutorture/configs/rcu/ |
H A D | TREE01.boot | 1 maxcpus=8 nr_cpus=43
|
/openbmc/qemu/docs/system/s390x/ |
H A D | cpu-topology.rst | 67 -smp cpus=5,drawer=1,books=1,sockets=8,cores=4,maxcpus=32 73 -smp cpus=5,sockets=8,cores=4,maxcpus=32 139 -smp cpus=5,sockets=8,cores=4,maxcpus=32 \ 149 starting with core 0 in socket 0 up to maxcpus. 234 -smp cpus=1,sockets=8,cores=4,maxcpus=32 \
|
/openbmc/qemu/docs/system/ |
H A D | cpu-hotplug.rst | 11 (1) Launch QEMU as follows (note that the "maxcpus" is mandatory to 16 -smp 1,maxcpus=2 -cpu IvyBridge-IBRS \
|
/openbmc/qemu/docs/system/arm/ |
H A D | xlnx-versal-virt.rst | 120 …setenv bootargs "rdinit=/sbin/init maxcpus=1 console=ttyAMA0,115200n8 earlycon=pl011,mmio,0xFF0000… 145 …en-bootargs "console=dtuart dtuart=/uart@ff000000 dom0_mem=640M bootscrub=0 maxcpus=1 timer_slop=0" 146 fdt set /chosen xen,dom0-bootargs "rdinit=/sbin/init clk_ignore_unused console=hvc0 maxcpus=1" 174 …en-bootargs "console=dtuart dtuart=/uart@ff000000 dom0_mem=640M bootscrub=0 maxcpus=1 timer_slop=0" 175 fdt set /chosen xen,dom0-bootargs "rdinit=/sbin/init clk_ignore_unused console=hvc0 maxcpus=1"
|
/openbmc/u-boot/configs/ |
H A D | thunderx_88xx_defconfig | 11 CONFIG_BOOTARGS="console=ttyAMA0,115200n8 earlycon=pl011,0x87e024000000 debug maxcpus=48 rootwait r…
|
/openbmc/qemu/include/sysemu/ |
H A D | kvm_int.h | 61 unsigned int maxcpus; member
|
/openbmc/qemu/docs/system/i386/ |
H A D | xenpvh.rst | 46 -smp 4,maxcpus=4 \
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | cpu_hotplug.rst | 44 ``maxcpus=n`` 45 限制启动时的CPU为 *n* 个。例如,如果你有四个CPU,使用 ``maxcpus=2`` 将只能启
|
/openbmc/linux/Documentation/admin-guide/kdump/ |
H A D | kdump.rst | 444 "1 maxcpus=1 noirqdistrib reset_devices" 452 "1 maxcpus=1 reset_devices" 480 kernel or specify maxcpus=1 option while loading dump-capture kernel. 481 Note, though maxcpus always works, you had better replace it with 488 SMP dump-capture kernel and specify maxcpus/nr_cpus, disable_cpu_apicid=[X]
|
/openbmc/qemu/docs/devel/ |
H A D | s390-cpu-topology.rst | 15 -smp 1,drawers=3,books=3,sockets=2,cores=2,maxcpus=36 \
|
/openbmc/linux/kernel/ |
H A D | smp.c | 947 static int __init maxcpus(char *str) in maxcpus() function 956 early_param("maxcpus", maxcpus);
|
/openbmc/qemu/qapi/ |
H A D | machine.json | 1060 # ``-smp 2,cores=2,maxcpus=4 -cpu POWER8``:: 1073 # For pc machine type started with ``-smp 1,maxcpus=2``:: 1092 # ``-smp 1,maxcpus=2 -cpu qemu`` (Since: 2.11):: 1665 # The members other than @cpus and @maxcpus define a topology of 1679 # @maxcpus: maximum number of hotpluggable virtual CPUs in the virtual 1710 '*maxcpus': 'int' } }
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8992-xiaomi-libra.dts | 32 bootargs = "earlycon=tty0 console=tty0 maxcpus=1";
|
H A D | msm8996-sony-xperia-tone.dtsi | 28 bootargs = "maxcpus=2";
|
/openbmc/qemu/docs/specs/ |
H A D | ppc-spapr-hotplug.rst | 427 of a triple consisting of ``<phys>``, ``<size>`` and ``<maxcpus>``. 435 ``<maxcpus>``, a BE-encoded integer, represents the maximum number of
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4210-universal_c210.dts | 34 bootargs = "root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1";
|
/openbmc/linux/init/ |
H A D | main.c | 608 static inline void smp_prepare_cpus(unsigned int maxcpus) { } in smp_prepare_cpus() argument
|
/openbmc/linux/Documentation/core-api/ |
H A D | cpu_hotplug.rst | 33 ``maxcpus=n`` 35 ``maxcpus=2`` will only boot two. You can choose to bring the
|