.. | .. |
---|
152 | 152 | __u8 pcc[16]; /* with MSA4 */ |
---|
153 | 153 | __u8 ppno[16]; /* with MSA5 */ |
---|
154 | 154 | __u8 kma[16]; /* with MSA8 */ |
---|
155 | | - __u8 reserved[1808]; |
---|
| 155 | + __u8 kdsa[16]; /* with MSA9 */ |
---|
| 156 | + __u8 sortl[32]; /* with STFLE.150 */ |
---|
| 157 | + __u8 dfltcc[32]; /* with STFLE.151 */ |
---|
| 158 | + __u8 reserved[1728]; |
---|
156 | 159 | }; |
---|
157 | 160 | |
---|
158 | 161 | /* kvm attributes for crypto */ |
---|
.. | .. |
---|
160 | 163 | #define KVM_S390_VM_CRYPTO_ENABLE_DEA_KW 1 |
---|
161 | 164 | #define KVM_S390_VM_CRYPTO_DISABLE_AES_KW 2 |
---|
162 | 165 | #define KVM_S390_VM_CRYPTO_DISABLE_DEA_KW 3 |
---|
| 166 | +#define KVM_S390_VM_CRYPTO_ENABLE_APIE 4 |
---|
| 167 | +#define KVM_S390_VM_CRYPTO_DISABLE_APIE 5 |
---|
163 | 168 | |
---|
164 | 169 | /* kvm attributes for migration mode */ |
---|
165 | 170 | #define KVM_S390_VM_MIGRATION_STOP 0 |
---|
.. | .. |
---|
226 | 231 | #define KVM_SYNC_GSCB (1UL << 9) |
---|
227 | 232 | #define KVM_SYNC_BPBC (1UL << 10) |
---|
228 | 233 | #define KVM_SYNC_ETOKEN (1UL << 11) |
---|
| 234 | +#define KVM_SYNC_DIAG318 (1UL << 12) |
---|
| 235 | + |
---|
| 236 | +#define KVM_SYNC_S390_VALID_FIELDS \ |
---|
| 237 | + (KVM_SYNC_PREFIX | KVM_SYNC_GPRS | KVM_SYNC_ACRS | KVM_SYNC_CRS | \ |
---|
| 238 | + KVM_SYNC_ARCH0 | KVM_SYNC_PFAULT | KVM_SYNC_VRS | KVM_SYNC_RICCB | \ |
---|
| 239 | + KVM_SYNC_FPRS | KVM_SYNC_GSCB | KVM_SYNC_BPBC | KVM_SYNC_ETOKEN | \ |
---|
| 240 | + KVM_SYNC_DIAG318) |
---|
| 241 | + |
---|
229 | 242 | /* length and alignment of the sdnx as a power of two */ |
---|
230 | 243 | #define SDNXC 8 |
---|
231 | 244 | #define SDNXL (1UL << SDNXC) |
---|
.. | .. |
---|
253 | 266 | __u8 reserved2 : 7; |
---|
254 | 267 | __u8 padding1[51]; /* riccb needs to be 64byte aligned */ |
---|
255 | 268 | __u8 riccb[64]; /* runtime instrumentation controls block */ |
---|
256 | | - __u8 padding2[192]; /* sdnx needs to be 256byte aligned */ |
---|
| 269 | + __u64 diag318; /* diagnose 0x318 info */ |
---|
| 270 | + __u8 padding2[184]; /* sdnx needs to be 256byte aligned */ |
---|
257 | 271 | union { |
---|
258 | 272 | __u8 sdnx[SDNXL]; /* state description annex */ |
---|
259 | 273 | struct { |
---|