Lines Matching +full:5 +full:ms

51  * Currently a 5-level topology hierarchy is supported on PC machines
81 * Currently a 5-level topology hierarchy is supported on s390 ccw machines
132 * List all the possible valid sub-collections of the generic 5
452 * config: -smp 200,sockets=3,dies=5,modules=2,cores=4,\
455 .config = SMP_CONFIG_WITH_MODS_DIES(T, 200, T, 3, T, 5, T,
459 "sockets (3) * dies (5) * modules (2) * "
463 * config: -smp 242,sockets=3,dies=5,modules=2,cores=4,\
466 .config = SMP_CONFIG_WITH_MODS_DIES(T, 242, T, 3, T, 5, T,
470 "sockets (3) * dies (5) * modules (2) * "
537 * config: -smp 200,drawers=3,books=5,sockets=2,cores=4,\
540 .config = SMP_CONFIG_WITH_BOOKS_DRAWERS(T, 200, T, 3, T, 5, T,
544 "drawers (3) * books (5) * sockets (2) * "
548 * config: -smp 242,drawers=3,books=5,sockets=2,cores=4,\
551 .config = SMP_CONFIG_WITH_BOOKS_DRAWERS(T, 242, T, 3, T, 5, T,
555 "drawers (3) * books (5) * sockets (2) * "
564 * config: -smp 200,drawers=3,books=5,sockets=2,dies=4,\
568 .config = SMP_CONFIG_WITH_FULL_TOPO(200, 3, 5, 2, 4, 2, 3, 7, 2, 200),
571 "drawers (3) * books (5) * sockets (2) * dies (4) * "
576 * config: -smp 2881,drawers=3,books=5,sockets=2,dies=4,\
580 .config = SMP_CONFIG_WITH_FULL_TOPO(2881, 3, 5, 2, 4,
584 "drawers (3) * books (5) * sockets (2) * "
590 * config: -smp 1,drawers=3,books=5,sockets=2,dies=4,\
594 .config = SMP_CONFIG_WITH_FULL_TOPO(1, 3, 5, 2, 4, 2, 3, 3, 3, 6480),
708 " .has_cpus = %5s, cpus = %" PRId64 ",\n" in smp_config_to_string()
709 " .has_drawers = %5s, drawers = %" PRId64 ",\n" in smp_config_to_string()
710 " .has_books = %5s, books = %" PRId64 ",\n" in smp_config_to_string()
711 " .has_sockets = %5s, sockets = %" PRId64 ",\n" in smp_config_to_string()
712 " .has_dies = %5s, dies = %" PRId64 ",\n" in smp_config_to_string()
713 " .has_clusters = %5s, clusters = %" PRId64 ",\n" in smp_config_to_string()
714 " .has_modules = %5s, modules = %" PRId64 ",\n" in smp_config_to_string()
715 " .has_cores = %5s, cores = %" PRId64 ",\n" in smp_config_to_string()
716 " .has_threads = %5s, threads = %" PRId64 ",\n" in smp_config_to_string()
717 " .has_maxcpus = %5s, maxcpus = %" PRId64 ",\n" in smp_config_to_string()
781 static void check_parse(MachineState *ms, const SMPConfiguration *config, in check_parse() argument
785 MachineClass *mc = MACHINE_GET_CLASS(ms); in check_parse()
802 machine_parse_smp_config(ms, config, &err); in check_parse()
804 ms_threads_per_socket = machine_topo_get_threads_per_socket(ms); in check_parse()
805 ms_cores_per_socket = machine_topo_get_cores_per_socket(ms); in check_parse()
806 output_topo_str = cpu_topology_to_string(&ms->smp, in check_parse()
814 (ms->smp.cpus == expect_topo->cpus) && in check_parse()
815 (ms->smp.drawers == expect_topo->drawers) && in check_parse()
816 (ms->smp.books == expect_topo->books) && in check_parse()
817 (ms->smp.sockets == expect_topo->sockets) && in check_parse()
818 (ms->smp.dies == expect_topo->dies) && in check_parse()
819 (ms->smp.clusters == expect_topo->clusters) && in check_parse()
820 (ms->smp.modules == expect_topo->modules) && in check_parse()
821 (ms->smp.cores == expect_topo->cores) && in check_parse()
822 (ms->smp.threads == expect_topo->threads) && in check_parse()
823 (ms->smp.max_cpus == expect_topo->max_cpus) && in check_parse()
885 static void smp_parse_test(MachineState *ms, SMPTestData *data, bool is_valid) in smp_parse_test() argument
887 MachineClass *mc = MACHINE_GET_CLASS(ms); in smp_parse_test()
890 check_parse(ms, &data->config, &data->expect_prefer_sockets, in smp_parse_test()
894 check_parse(ms, &data->config, &data->expect_prefer_cores, in smp_parse_test()
1012 MachineState *ms = MACHINE(obj); in test_generic_valid() local
1021 smp_parse_test(ms, &data, true); in test_generic_valid()
1031 MachineState *ms = MACHINE(obj); in test_generic_invalid() local
1040 smp_parse_test(ms, &data, false); in test_generic_invalid()
1050 MachineState *ms = MACHINE(obj); in test_with_modules() local
1064 smp_parse_test(ms, &data, true); in test_with_modules()
1083 smp_parse_test(ms, &data, true); in test_with_modules()
1090 smp_parse_test(ms, &data, false); in test_with_modules()
1100 MachineState *ms = MACHINE(obj); in test_with_dies() local
1114 smp_parse_test(ms, &data, true); in test_with_dies()
1133 smp_parse_test(ms, &data, true); in test_with_dies()
1140 smp_parse_test(ms, &data, false); in test_with_dies()
1150 MachineState *ms = MACHINE(obj); in test_with_modules_dies() local
1153 unsigned int num_modules = 5, num_dies = 3; in test_with_modules_dies()
1169 smp_parse_test(ms, &data, true); in test_with_modules_dies()
1194 smp_parse_test(ms, &data, true); in test_with_modules_dies()
1201 smp_parse_test(ms, &data, false); in test_with_modules_dies()
1211 MachineState *ms = MACHINE(obj); in test_with_clusters() local
1225 smp_parse_test(ms, &data, true); in test_with_clusters()
1244 smp_parse_test(ms, &data, true); in test_with_clusters()
1251 smp_parse_test(ms, &data, false); in test_with_clusters()
1261 MachineState *ms = MACHINE(obj); in test_with_books() local
1275 smp_parse_test(ms, &data, true); in test_with_books()
1294 smp_parse_test(ms, &data, true); in test_with_books()
1301 smp_parse_test(ms, &data, false); in test_with_books()
1311 MachineState *ms = MACHINE(obj); in test_with_drawers() local
1325 smp_parse_test(ms, &data, true); in test_with_drawers()
1344 smp_parse_test(ms, &data, true); in test_with_drawers()
1351 smp_parse_test(ms, &data, false); in test_with_drawers()
1361 MachineState *ms = MACHINE(obj); in test_with_drawers_books() local
1364 unsigned int num_drawers = 5, num_books = 3; in test_with_drawers_books()
1380 smp_parse_test(ms, &data, true); in test_with_drawers_books()
1405 smp_parse_test(ms, &data, true); in test_with_drawers_books()
1412 smp_parse_test(ms, &data, false); in test_with_drawers_books()
1422 MachineState *ms = MACHINE(obj); in test_full_topo() local
1428 drawers = 5; in test_full_topo()
1454 smp_parse_test(ms, &data, true); in test_full_topo()
1494 smp_parse_test(ms, &data, true); in test_full_topo()
1501 smp_parse_test(ms, &data, false); in test_full_topo()
1508 smp_parse_test(ms, &data, false); in test_full_topo()