Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
Dkvm_book3s_asm.h21 #define MAX_SMT_THREADS 8 macro
75 u8 napped[MAX_SMT_THREADS];
Dkvm_book3s.h78 struct kvm_vcpu *runnable_threads[MAX_SMT_THREADS];
470 const int block_offsets[MAX_SMT_THREADS] = {0, 4, 2, 6, 1, 5, 3, 7}; in kvmppc_pack_vcpu_id()
472 int block = (id / KVM_MAX_VCPUS) * (MAX_SMT_THREADS / stride); in kvmppc_pack_vcpu_id()
475 if (WARN_ONCE(block >= MAX_SMT_THREADS, "VCPU ID too large to pack")) in kvmppc_pack_vcpu_id()
Dkvm_host.h36 #define KVM_MAX_VCPU_ID (MAX_SMT_THREADS * KVM_MAX_VCORES)
/arch/powerpc/kvm/
Dbook3s_hv.c151 static unsigned long p8_rwmr_values[MAX_SMT_THREADS + 1] = {
169 while (++i < MAX_SMT_THREADS) { in next_runnable_thread()
2815 if (smt_mode > MAX_SMT_THREADS || !is_power_of_2(smt_mode)) in kvmhv_set_smt_mode()
3191 if (n_subcores > 1 && threads_per_subcore < MAX_SMT_THREADS) in subcore_config_ok()
3202 return n_subcores * roundup_pow_of_two(n_threads) <= MAX_SMT_THREADS; in subcore_config_ok()
3572 subcore_size = MAX_SMT_THREADS / split; in kvmppc_run_core()
3621 if (split == 1 && threads_per_subcore == MAX_SMT_THREADS && in kvmppc_run_core()
3622 n_online >= 1 && n_online <= MAX_SMT_THREADS) in kvmppc_run_core()