Lines Matching full:topology

27  * Report information of a machine's supported CPU topology hierarchy.
28 * Topology members will be ordered from the largest to the smallest
82 * introduced topology members which are likely to be target specific should
102 * Specified CPU topology parameters must be greater than zero, in machine_parse_smp_config()
115 error_setg(errp, "Invalid CPU topology: " in machine_parse_smp_config()
116 "CPU topology parameters must be greater than zero"); in machine_parse_smp_config()
121 * If not supported by the machine, a topology parameter must in machine_parse_smp_config()
127 "modules > 1 not supported by this machine's CPU topology"); in machine_parse_smp_config()
135 "clusters > 1 not supported by this machine's CPU topology"); in machine_parse_smp_config()
143 "dies > 1 not supported by this machine's CPU topology"); in machine_parse_smp_config()
151 "books > 1 not supported by this machine's CPU topology"); in machine_parse_smp_config()
159 "drawers > 1 not supported by this machine's CPU topology"); in machine_parse_smp_config()
228 /* sanity-check of the computed topology */ in machine_parse_smp_config()
231 error_setg(errp, "Invalid CPU topology: " in machine_parse_smp_config()
240 error_setg(errp, "Invalid CPU topology: " in machine_parse_smp_config()
276 "Invalid topology level: %s. " in machine_check_topo_support()
277 "The topology level is not supported by this machine", in machine_check_topo_support()
305 node->value->topology); in machine_parse_smp_cache()
313 * Reject non "default" topology level if the cache isn't in machine_parse_smp_cache()
316 if (props->topology != CPU_TOPOLOGY_LEVEL_DEFAULT && in machine_parse_smp_cache()
319 "%s cache topology not supported by this machine", in machine_parse_smp_cache()
324 if (!machine_check_topo_support(ms, props->topology, errp)) { in machine_parse_smp_cache()
344 return ms->smp_cache.props[cache].topology; in machine_get_cache_topo_level()
350 ms->smp_cache.props[cache].topology = level; in machine_set_cache_topo_level()
354 * When both cache1 and cache2 are configured with specific topology levels
355 * (not default level), is cache1's topology level higher than cache2?
362 * Before comparing, the "default" topology level should be replaced in smp_cache_topo_cmp()
365 assert(smp_cache->props[cache1].topology != CPU_TOPOLOGY_LEVEL_DEFAULT); in smp_cache_topo_cmp()
367 return smp_cache->props[cache1].topology > smp_cache->props[cache2].topology; in smp_cache_topo_cmp()
374 * We can only check the correctness of the cache topology after the arch loads
385 "Invalid smp cache topology. " in machine_check_smp_cache()
386 "L2 cache topology level shouldn't be lower than L1 cache"); in machine_check_smp_cache()
393 "Invalid smp cache topology. " in machine_check_smp_cache()
394 "L3 cache topology level shouldn't be lower than L2 cache"); in machine_check_smp_cache()