Searched refs:smt_mode (Results 1 – 3 of 3) sorted by relevance
2959 BUG_ON(kvm->arch.smt_mode != 1); in kvmppc_core_vcpu_create_hv()2963 core = id / kvm->arch.smt_mode; in kvmppc_core_vcpu_create_hv()2977 id & ~(kvm->arch.smt_mode - 1)); in kvmppc_core_vcpu_create_hv()3003 static int kvmhv_set_smt_mode(struct kvm *kvm, unsigned long smt_mode, in kvmhv_set_smt_mode() argument3011 if (smt_mode > MAX_SMT_THREADS || !is_power_of_2(smt_mode)) in kvmhv_set_smt_mode()3018 if (smt_mode > threads_per_subcore) in kvmhv_set_smt_mode()3025 esmt = smt_mode; in kvmhv_set_smt_mode()3026 smt_mode = 1; in kvmhv_set_smt_mode()3031 kvm->arch.smt_mode = smt_mode; in kvmhv_set_smt_mode()5505 kvm->arch.smt_mode = threads_per_subcore; in kvmppc_core_init_vm_hv()[all …]
590 r = kvm->arch.smt_mode; in kvm_vm_ioctl_check_extension()
280 unsigned int smt_mode; /* # vcpus per virtual core */ member
Completed in 20 milliseconds