Searched refs:smt_mode (Results 1 – 3 of 3) sorted by relevance
2987 BUG_ON(kvm->arch.smt_mode != 1); in kvmppc_core_vcpu_create_hv()2991 core = id / kvm->arch.smt_mode; in kvmppc_core_vcpu_create_hv()3005 id & ~(kvm->arch.smt_mode - 1)); in kvmppc_core_vcpu_create_hv()3031 static int kvmhv_set_smt_mode(struct kvm *kvm, unsigned long smt_mode, in kvmhv_set_smt_mode() argument3039 if (smt_mode > MAX_SMT_THREADS || !is_power_of_2(smt_mode)) in kvmhv_set_smt_mode()3046 if (smt_mode > threads_per_subcore) in kvmhv_set_smt_mode()3053 esmt = smt_mode; in kvmhv_set_smt_mode()3054 smt_mode = 1; in kvmhv_set_smt_mode()3059 kvm->arch.smt_mode = smt_mode; in kvmhv_set_smt_mode()5539 kvm->arch.smt_mode = threads_per_subcore; in kvmppc_core_init_vm_hv()[all …]
598 r = kvm->arch.smt_mode; in kvm_vm_ioctl_check_extension()
280 unsigned int smt_mode; /* # vcpus per virtual core */ member