Lines Matching +full:gen +full:- +full:2
8 * This work is licensed under the terms of the GNU GPL, version 2 or (at
9 * your option) any later version. See the COPYING file in the top-level
17 #include "target/s390x/gen-features.h"
24 uint8_t gen; /* hw generation identification */ member
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
76 void s390_cpudef_featoff(uint8_t gen, uint8_t ec_ga, S390Feat feat);
77 void s390_cpudef_featoff_greater(uint8_t gen, uint8_t ec_ga, S390Feat feat);
78 void s390_cpudef_group_featoff_greater(uint8_t gen, uint8_t ec_ga,
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()
114 S390CPUDef const *s390_find_cpu_def(uint16_t type, uint8_t gen, uint8_t ec_ga,