Home
last modified time | relevance | path

Searched refs:smt_mode (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv.c3076 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()
[all …]
Dpowerpc.c597 r = kvm->arch.smt_mode; in kvm_vm_ioctl_check_extension()
/linux-6.12.1/arch/powerpc/include/asm/
Dkvm_host.h279 unsigned int smt_mode; /* # vcpus per virtual core */ member