/openbmc/qemu/hw/core/ |
H A D | machine-smp.c | 93 unsigned maxcpus = config->has_maxcpus ? config->maxcpus : 0; in machine_parse_smp_config() local 147 maxcpus = maxcpus > 0 ? maxcpus : cpus; in machine_parse_smp_config() 154 sockets = maxcpus / in machine_parse_smp_config() 158 cores = maxcpus / in machine_parse_smp_config() 166 cores = maxcpus / in machine_parse_smp_config() 170 sockets = maxcpus / in machine_parse_smp_config() 177 threads = maxcpus / in machine_parse_smp_config() 182 maxcpus = maxcpus > 0 ? maxcpus : drawers * books * sockets * dies * in machine_parse_smp_config() 194 ms->smp.max_cpus = maxcpus; in machine_parse_smp_config() 200 maxcpus) { in machine_parse_smp_config() [all …]
|
H A D | machine.c | 874 .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/tools/testing/selftests/rcutorture/bin/ |
H A D | functions.sh | 88 if test "$3" -gt "$maxcpus" 90 echo $maxcpus
|
/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/configs/rcu/ |
H A D | TREE01.boot | 1 maxcpus=8 nr_cpus=43
|
/openbmc/qemu/tests/unit/ |
H A D | test-smp-parse.c | 38 .has_maxcpus = he, .maxcpus = e, \ 61 .has_maxcpus = hf, .maxcpus = f, \ 75 .has_maxcpus = hf, .maxcpus = f, \ 394 config->has_maxcpus ? "true" : "false", config->maxcpus); in smp_config_to_string() 666 data.config.maxcpus *= num_dies; in test_with_dies() 716 data.config.maxcpus *= num_clusters; in test_with_clusters()
|
/openbmc/qemu/docs/system/s390x/ |
H A D | cpu-topology.rst | 65 -smp cpus=5,drawer=1,books=1,sockets=8,cores=4,maxcpus=32 71 -smp cpus=5,sockets=8,cores=4,maxcpus=32 137 -smp cpus=5,sockets=8,cores=4,maxcpus=32 \ 147 starting with core 0 in socket 0 up to maxcpus. 232 -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/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/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/linux/Documentation/translations/zh_CN/core-api/ |
H A D | cpu_hotplug.rst | 44 ``maxcpus=n`` 45 限制启动时的CPU为 *n* 个。例如,如果你有四个CPU,使用 ``maxcpus=2`` 将只能启
|
/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/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/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 | 991 # For pseries machine type started with -smp 2,cores=2,maxcpus=4 -cpu 1002 # For pc machine type started with -smp 1,maxcpus=2: 1017 # For s390x-virtio-ccw machine type started with -smp 1,maxcpus=2 -cpu 1602 # The members other than @cpus and @maxcpus define a topology of 1616 # @maxcpus: maximum number of hotpluggable virtual CPUs in the virtual 1644 '*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/linux/drivers/gpu/drm/ci/ |
H A D | test.yml | 124 BM_KERNEL_EXTRA_ARGS: 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
|
/openbmc/qemu/docs/about/ |
H A D | removed-features.rst | 204 where *n* <= *sockets* * *cores* * *threads* < *maxcpus*, 208 *sockets* * *cores* * *threads* = *maxcpus*.
|