Lines Matching +full:s390x +full:- +full:linux +full:- +full:user
2 * CPU models for s390x
6 * Author(s): David Hildenbrand <dahi@linux.vnet.ibm.com>
9 * your option) any later version. See the COPYING file in the top-level
17 #include "target/s390x/gen-features.h"
22 const char *name; /* name exposed to the user */
23 const char *desc; /* description exposed to the user */
27 uint8_t mha_pow; /* maximum host address power, mha = 2^pow-1 */
28 uint32_t hmfai; /* hypervisor-managed facilities */
57 * bits 0-7: Zeroes (ff for kvm)
58 * bits 8-31: CPU ID (serial number)
59 * bits 32-47: Machine type
61 * bits 49-63: Zeroes
87 if (model->def->gen >= S390_GEN_Z10) { in s390_ibc_from_cpu_model()
88 ibc = ((model->def->gen - S390_GEN_Z10) << 4) + model->def->ec_ga; in s390_ibc_from_cpu_model()
106 #define CPU_PHYS_ADDR_SHIFT (CPU_ID_SHIFT + CPU_ID_BITS - CPU_PHYS_ADDR_BITS)
109 return ((uint64_t)model->cpu_ver << 56) | in s390_cpuid_from_cpu_model()
110 ((uint64_t)model->cpu_id << CPU_ID_SHIFT) | in s390_cpuid_from_cpu_model()
111 ((uint64_t)model->def->type << 16) | in s390_cpuid_from_cpu_model()
112 (model->def->gen == 7 ? 0 : (uint64_t)model->cpu_id_format << 15); in s390_cpuid_from_cpu_model()