Home
last modified time | relevance | path

Searched refs:vsmt (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/ppc/
H A Dspapr.c124 assert(spapr->vsmt); in spapr_vcpu_id()
131 assert(spapr->vsmt); in spapr_is_thread0_in_vcore()
132 return spapr_get_vcpu_id(cpu) % spapr->vsmt == 0; in spapr_is_thread0_in_vcore()
194 assert(spapr->vsmt); in spapr_max_server_number()
2637 bool vsmt_user = !!spapr->vsmt; in spapr_set_vsmt_mode()
2664 if (spapr->vsmt < smp_threads) { in spapr_set_vsmt_mode()
2667 spapr->vsmt, smp_threads); in spapr_set_vsmt_mode()
2679 spapr->vsmt = MAX(8, smp_threads); in spapr_set_vsmt_mode()
2681 spapr->vsmt = smp_threads; in spapr_set_vsmt_mode()
2686 ret = kvmppc_set_smt_threads(spapr->vsmt); in spapr_set_vsmt_mode()
[all …]
/openbmc/qemu/include/hw/ppc/
H A Dspapr.h216 uint32_t vsmt; /* Virtual SMT mode (KVM's "core stride") */ member