Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/include/asm/
Dkvm_book3s_asm.h18 #define MAX_SMT_THREADS 8 macro
72 u8 napped[MAX_SMT_THREADS];
Dkvm_book3s.h79 struct kvm_vcpu *runnable_threads[MAX_SMT_THREADS];
686 const int block_offsets[MAX_SMT_THREADS] = {0, 4, 2, 6, 1, 5, 3, 7}; in kvmppc_pack_vcpu_id()
688 int block = (id / KVM_MAX_VCPUS) * (MAX_SMT_THREADS / stride); in kvmppc_pack_vcpu_id()
691 if (WARN_ONCE(block >= MAX_SMT_THREADS, "VCPU ID too large to pack")) in kvmppc_pack_vcpu_id()
Dkvm_host.h39 #define KVM_MAX_VCPU_IDS (MAX_SMT_THREADS * KVM_MAX_VCORES)
/linux-6.12.1/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()
3128 if (smt_mode > MAX_SMT_THREADS || !is_power_of_2(smt_mode)) in kvmhv_set_smt_mode()
3540 if (n_subcores > 1 && threads_per_subcore < MAX_SMT_THREADS) in subcore_config_ok()
3551 return n_subcores * roundup_pow_of_two(n_threads) <= MAX_SMT_THREADS; in subcore_config_ok()
3921 subcore_size = MAX_SMT_THREADS / split; in kvmppc_run_core()
3970 if (split == 1 && threads_per_subcore == MAX_SMT_THREADS && in kvmppc_run_core()
3971 n_online >= 1 && n_online <= MAX_SMT_THREADS) in kvmppc_run_core()