Home
last modified time | relevance | path

Searched refs:smp_cache (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/core/
H A Dmachine-smp.c310 const SmpCacheProperties *props = &ms->smp_cache.props[i]; in machine_parse_smp_cache()
353 return ms->smp_cache.props[cache].topology; in machine_get_cache_topo_level()
359 ms->smp_cache.props[cache].topology = level; in machine_set_cache_topo_level()
366 static bool smp_cache_topo_cmp(const SmpCache *smp_cache, in smp_cache_topo_cmp() argument
374 assert(smp_cache->props[cache1].topology != CPU_TOPOLOGY_LEVEL_DEFAULT); in smp_cache_topo_cmp()
376 return smp_cache->props[cache1].topology > smp_cache->props[cache2].topology; in smp_cache_topo_cmp()
389 if (smp_cache_topo_cmp(&ms->smp_cache, CACHE_LEVEL_AND_TYPE_L1D, in machine_check_smp_cache()
391 smp_cache_topo_cmp(&ms->smp_cache, CACHE_LEVEL_AND_TYPE_L1I, in machine_check_smp_cache()
399 if (smp_cache_topo_cmp(&ms->smp_cache, CACHE_LEVEL_AND_TYPE_L2, in machine_check_smp_cache()