Lines Matching refs:smt_mode
3076 BUG_ON(kvm->arch.smt_mode != 1); in kvmppc_core_vcpu_create_hv()
3080 core = id / kvm->arch.smt_mode; in kvmppc_core_vcpu_create_hv()
3094 id & ~(kvm->arch.smt_mode - 1)); in kvmppc_core_vcpu_create_hv()
3120 static int kvmhv_set_smt_mode(struct kvm *kvm, unsigned long smt_mode, in kvmhv_set_smt_mode() argument
3128 if (smt_mode > MAX_SMT_THREADS || !is_power_of_2(smt_mode)) in kvmhv_set_smt_mode()
3135 if (smt_mode > threads_per_subcore) in kvmhv_set_smt_mode()
3142 esmt = smt_mode; in kvmhv_set_smt_mode()
3143 smt_mode = 1; in kvmhv_set_smt_mode()
3148 kvm->arch.smt_mode = smt_mode; in kvmhv_set_smt_mode()
5812 kvm->arch.smt_mode = threads_per_subcore; in kvmppc_core_init_vm_hv()
5814 kvm->arch.smt_mode = 1; in kvmppc_core_init_vm_hv()