Home
last modified time | relevance | path

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

/Linux-v6.1/arch/powerpc/kvm/
Dbook3s_hv.c3388 int n_subcores; member
3404 cip->n_subcores = 1; in init_core_info()
3411 static bool subcore_config_ok(int n_subcores, int n_threads) in subcore_config_ok() argument
3418 return n_subcores <= 4 && n_threads == 1; in subcore_config_ok()
3421 if (n_subcores > 1 && threads_per_subcore < MAX_SMT_THREADS) in subcore_config_ok()
3423 if (n_subcores > MAX_SUBCORES) in subcore_config_ok()
3425 if (n_subcores > 1) { in subcore_config_ok()
3427 n_subcores = 4; in subcore_config_ok()
3428 if (n_subcores > 2 && !(dynamic_mt_modes & 4)) in subcore_config_ok()
3432 return n_subcores * roundup_pow_of_two(n_threads) <= MAX_SMT_THREADS; in subcore_config_ok()
[all …]