1 /* 2 * CPU features/facilities for s390 3 * 4 * Copyright 2016 IBM Corp. 5 * 6 * Author(s): Michael Mueller <mimu@linux.vnet.ibm.com> 7 * David Hildenbrand <dahi@linux.vnet.ibm.com> 8 * 9 * This work is licensed under the terms of the GNU GPL, version 2 or (at 10 * your option) any later version. See the COPYING file in the top-level 11 * directory. 12 */ 13 14 #ifndef TARGET_S390X_CPU_FEATURES_DEF_H 15 #define TARGET_S390X_CPU_FEATURES_DEF_H 16 17 typedef enum { 18 S390_FEAT_ESAN3 = 0, 19 S390_FEAT_ZARCH, 20 S390_FEAT_DAT_ENH, 21 S390_FEAT_IDTE_SEGMENT, 22 S390_FEAT_IDTE_REGION, 23 S390_FEAT_ASN_LX_REUSE, 24 S390_FEAT_STFLE, 25 S390_FEAT_EDAT, 26 S390_FEAT_SENSE_RUNNING_STATUS, 27 S390_FEAT_CONDITIONAL_SSKE, 28 S390_FEAT_CONFIGURATION_TOPOLOGY, 29 S390_FEAT_IPTE_RANGE, 30 S390_FEAT_NONQ_KEY_SETTING, 31 S390_FEAT_EXTENDED_TRANSLATION_2, 32 S390_FEAT_MSA, 33 S390_FEAT_LONG_DISPLACEMENT, 34 S390_FEAT_LONG_DISPLACEMENT_FAST, 35 S390_FEAT_HFP_MADDSUB, 36 S390_FEAT_EXTENDED_IMMEDIATE, 37 S390_FEAT_EXTENDED_TRANSLATION_3, 38 S390_FEAT_HFP_UNNORMALIZED_EXT, 39 S390_FEAT_ETF2_ENH, 40 S390_FEAT_STORE_CLOCK_FAST, 41 S390_FEAT_PARSING_ENH, 42 S390_FEAT_MOVE_WITH_OPTIONAL_SPEC, 43 S390_FEAT_TOD_CLOCK_STEERING, 44 S390_FEAT_ETF3_ENH, 45 S390_FEAT_EXTRACT_CPU_TIME, 46 S390_FEAT_COMPARE_AND_SWAP_AND_STORE, 47 S390_FEAT_COMPARE_AND_SWAP_AND_STORE_2, 48 S390_FEAT_GENERAL_INSTRUCTIONS_EXT, 49 S390_FEAT_EXECUTE_EXT, 50 S390_FEAT_ENHANCED_MONITOR, 51 S390_FEAT_FLOATING_POINT_EXT, 52 S390_FEAT_SET_PROGRAM_PARAMETERS, 53 S390_FEAT_FLOATING_POINT_SUPPPORT_ENH, 54 S390_FEAT_DFP, 55 S390_FEAT_DFP_FAST, 56 S390_FEAT_PFPO, 57 S390_FEAT_STFLE_45, 58 S390_FEAT_CMPSC_ENH, 59 S390_FEAT_DFP_ZONED_CONVERSION, 60 S390_FEAT_STFLE_49, 61 S390_FEAT_CONSTRAINT_TRANSACTIONAL_EXE, 62 S390_FEAT_LOCAL_TLB_CLEARING, 63 S390_FEAT_INTERLOCKED_ACCESS_2, 64 S390_FEAT_STFLE_53, 65 S390_FEAT_MSA_EXT_5, 66 S390_FEAT_RUNTIME_INSTRUMENTATION, 67 S390_FEAT_TRANSACTIONAL_EXE, 68 S390_FEAT_STORE_HYPERVISOR_INFO, 69 S390_FEAT_ACCESS_EXCEPTION_FS_INDICATION, 70 S390_FEAT_MSA_EXT_3, 71 S390_FEAT_MSA_EXT_4, 72 S390_FEAT_EDAT_2, 73 S390_FEAT_DFP_PACKED_CONVERSION, 74 S390_FEAT_VECTOR, 75 S390_FEAT_SIE_GSLS, 76 S390_FEAT_ESOP, 77 S390_FEAT_SIE_64BSCAO, 78 S390_FEAT_SIE_CMMA, 79 S390_FEAT_SIE_PFMFI, 80 S390_FEAT_SIE_IBS, 81 S390_FEAT_SIE_F2, 82 S390_FEAT_SIE_SKEY, 83 S390_FEAT_SIE_GPERE, 84 S390_FEAT_SIE_SIIF, 85 S390_FEAT_SIE_SIGPIF, 86 S390_FEAT_SIE_IB, 87 S390_FEAT_SIE_CEI, 88 S390_FEAT_DAT_ENH_2, 89 S390_FEAT_CMM, 90 S390_FEAT_PLO_CL, 91 S390_FEAT_PLO_CLG, 92 S390_FEAT_PLO_CLGR, 93 S390_FEAT_PLO_CLX, 94 S390_FEAT_PLO_CS, 95 S390_FEAT_PLO_CSG, 96 S390_FEAT_PLO_CSGR, 97 S390_FEAT_PLO_CSX, 98 S390_FEAT_PLO_DCS, 99 S390_FEAT_PLO_DCSG, 100 S390_FEAT_PLO_DCSGR, 101 S390_FEAT_PLO_DCSX, 102 S390_FEAT_PLO_CSST, 103 S390_FEAT_PLO_CSSTG, 104 S390_FEAT_PLO_CSSTGR, 105 S390_FEAT_PLO_CSSTX, 106 S390_FEAT_PLO_CSDST, 107 S390_FEAT_PLO_CSDSTG, 108 S390_FEAT_PLO_CSDSTGR, 109 S390_FEAT_PLO_CSDSTX, 110 S390_FEAT_PLO_CSTST, 111 S390_FEAT_PLO_CSTSTG, 112 S390_FEAT_PLO_CSTSTGR, 113 S390_FEAT_PLO_CSTSTX, 114 S390_FEAT_PTFF_QTO, 115 S390_FEAT_PTFF_QSI, 116 S390_FEAT_PTFF_QPT, 117 S390_FEAT_PTFF_QUI, 118 S390_FEAT_PTFF_QTOU, 119 S390_FEAT_PTFF_STO, 120 S390_FEAT_PTFF_STOU, 121 S390_FEAT_KMAC_DEA, 122 S390_FEAT_KMAC_TDEA_128, 123 S390_FEAT_KMAC_TDEA_192, 124 S390_FEAT_KMAC_EDEA, 125 S390_FEAT_KMAC_ETDEA_128, 126 S390_FEAT_KMAC_ETDEA_192, 127 S390_FEAT_KMAC_AES_128, 128 S390_FEAT_KMAC_AES_192, 129 S390_FEAT_KMAC_AES_256, 130 S390_FEAT_KMAC_EAES_128, 131 S390_FEAT_KMAC_EAES_192, 132 S390_FEAT_KMAC_EAES_256, 133 S390_FEAT_KMC_DEA, 134 S390_FEAT_KMC_TDEA_128, 135 S390_FEAT_KMC_TDEA_192, 136 S390_FEAT_KMC_EDEA, 137 S390_FEAT_KMC_ETDEA_128, 138 S390_FEAT_KMC_ETDEA_192, 139 S390_FEAT_KMC_AES_128, 140 S390_FEAT_KMC_AES_192, 141 S390_FEAT_KMC_AES_256, 142 S390_FEAT_KMC_EAES_128, 143 S390_FEAT_KMC_EAES_192, 144 S390_FEAT_KMC_EAES_256, 145 S390_FEAT_KMC_PRNG, 146 S390_FEAT_KM_DEA, 147 S390_FEAT_KM_TDEA_128, 148 S390_FEAT_KM_TDEA_192, 149 S390_FEAT_KM_EDEA, 150 S390_FEAT_KM_ETDEA_128, 151 S390_FEAT_KM_ETDEA_192, 152 S390_FEAT_KM_AES_128, 153 S390_FEAT_KM_AES_192, 154 S390_FEAT_KM_AES_256, 155 S390_FEAT_KM_EAES_128, 156 S390_FEAT_KM_EAES_192, 157 S390_FEAT_KM_EAES_256, 158 S390_FEAT_KM_XTS_AES_128, 159 S390_FEAT_KM_XTS_AES_256, 160 S390_FEAT_KM_XTS_EAES_128, 161 S390_FEAT_KM_XTS_EAES_256, 162 S390_FEAT_KIMD_SHA_1, 163 S390_FEAT_KIMD_SHA_256, 164 S390_FEAT_KIMD_SHA_512, 165 S390_FEAT_KIMD_GHASH, 166 S390_FEAT_KLMD_SHA_1, 167 S390_FEAT_KLMD_SHA_256, 168 S390_FEAT_KLMD_SHA_512, 169 S390_FEAT_PCKMO_EDEA, 170 S390_FEAT_PCKMO_ETDEA_128, 171 S390_FEAT_PCKMO_ETDEA_256, 172 S390_FEAT_PCKMO_AES_128, 173 S390_FEAT_PCKMO_AES_192, 174 S390_FEAT_PCKMO_AES_256, 175 S390_FEAT_KMCTR_DEA, 176 S390_FEAT_KMCTR_TDEA_128, 177 S390_FEAT_KMCTR_TDEA_192, 178 S390_FEAT_KMCTR_EDEA, 179 S390_FEAT_KMCTR_ETDEA_128, 180 S390_FEAT_KMCTR_ETDEA_192, 181 S390_FEAT_KMCTR_AES_128, 182 S390_FEAT_KMCTR_AES_192, 183 S390_FEAT_KMCTR_AES_256, 184 S390_FEAT_KMCTR_EAES_128, 185 S390_FEAT_KMCTR_EAES_192, 186 S390_FEAT_KMCTR_EAES_256, 187 S390_FEAT_KMF_DEA, 188 S390_FEAT_KMF_TDEA_128, 189 S390_FEAT_KMF_TDEA_192, 190 S390_FEAT_KMF_EDEA, 191 S390_FEAT_KMF_ETDEA_128, 192 S390_FEAT_KMF_ETDEA_192, 193 S390_FEAT_KMF_AES_128, 194 S390_FEAT_KMF_AES_192, 195 S390_FEAT_KMF_AES_256, 196 S390_FEAT_KMF_EAES_128, 197 S390_FEAT_KMF_EAES_192, 198 S390_FEAT_KMF_EAES_256, 199 S390_FEAT_KMO_DEA, 200 S390_FEAT_KMO_TDEA_128, 201 S390_FEAT_KMO_TDEA_192, 202 S390_FEAT_KMO_EDEA, 203 S390_FEAT_KMO_ETDEA_128, 204 S390_FEAT_KMO_ETDEA_192, 205 S390_FEAT_KMO_AES_128, 206 S390_FEAT_KMO_AES_192, 207 S390_FEAT_KMO_AES_256, 208 S390_FEAT_KMO_EAES_128, 209 S390_FEAT_KMO_EAES_192, 210 S390_FEAT_KMO_EAES_256, 211 S390_FEAT_PCC_CMAC_DEA, 212 S390_FEAT_PCC_CMAC_TDEA_128, 213 S390_FEAT_PCC_CMAC_TDEA_192, 214 S390_FEAT_PCC_CMAC_ETDEA_128, 215 S390_FEAT_PCC_CMAC_ETDEA_192, 216 S390_FEAT_PCC_CMAC_TDEA, 217 S390_FEAT_PCC_CMAC_AES_128, 218 S390_FEAT_PCC_CMAC_AES_192, 219 S390_FEAT_PCC_CMAC_AES_256, 220 S390_FEAT_PCC_CMAC_EAES_128, 221 S390_FEAT_PCC_CMAC_EAES_192, 222 S390_FEAT_PCC_CMAC_EAES_256, 223 S390_FEAT_PCC_XTS_AES_128, 224 S390_FEAT_PCC_XTS_AES_256, 225 S390_FEAT_PCC_XTS_EAES_128, 226 S390_FEAT_PCC_XTS_EAES_256, 227 S390_FEAT_PPNO_SHA_512_DRNG, 228 S390_FEAT_MAX, 229 } S390Feat; 230 231 #endif /* TARGET_S390X_CPU_FEATURES_DEF_H */ 232