Lines Matching refs:smt_mode
2876 BUG_ON(kvm->arch.smt_mode != 1); in kvmppc_core_vcpu_create_hv()
2880 core = id / kvm->arch.smt_mode; in kvmppc_core_vcpu_create_hv()
2894 id & ~(kvm->arch.smt_mode - 1)); in kvmppc_core_vcpu_create_hv()
2920 static int kvmhv_set_smt_mode(struct kvm *kvm, unsigned long smt_mode, in kvmhv_set_smt_mode() argument
2928 if (smt_mode > MAX_SMT_THREADS || !is_power_of_2(smt_mode)) in kvmhv_set_smt_mode()
2935 if (smt_mode > threads_per_subcore) in kvmhv_set_smt_mode()
2942 esmt = smt_mode; in kvmhv_set_smt_mode()
2943 smt_mode = 1; in kvmhv_set_smt_mode()
2948 kvm->arch.smt_mode = smt_mode; in kvmhv_set_smt_mode()
5419 kvm->arch.smt_mode = threads_per_subcore; in kvmppc_core_init_vm_hv()
5421 kvm->arch.smt_mode = 1; in kvmppc_core_init_vm_hv()