Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv.c3507 int n_subcores; member
3523 cip->n_subcores = 1; in init_core_info()
3530 static bool subcore_config_ok(int n_subcores, int n_threads) in subcore_config_ok() argument
3537 return n_subcores <= 4 && n_threads == 1; in subcore_config_ok()
3540 if (n_subcores > 1 && threads_per_subcore < MAX_SMT_THREADS) in subcore_config_ok()
3542 if (n_subcores > MAX_SUBCORES) in subcore_config_ok()
3544 if (n_subcores > 1) { in subcore_config_ok()
3546 n_subcores = 4; in subcore_config_ok()
3547 if (n_subcores > 2 && !(dynamic_mt_modes & 4)) in subcore_config_ok()
3551 return n_subcores * roundup_pow_of_two(n_threads) <= MAX_SMT_THREADS; in subcore_config_ok()
[all …]