xref: /linux/arch/s390/include/asm/kvm_host.h (revision 20bed0d6ff62d985fe8222958825504b8aad4e88)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef ASM_KVM_HOST_H
4 #define ASM_KVM_HOST_H
5 
6 #ifdef KVM_S390_ARM64
7 #include <asm/kvm_host_arm64.h>
8 #else
9 #include <asm/kvm_host_s390.h>
10 #endif
11 
12 #define PGM_OPERATION			0x01
13 #define PGM_PRIVILEGED_OP		0x02
14 #define PGM_EXECUTE			0x03
15 #define PGM_PROTECTION			0x04
16 #define PGM_ADDRESSING			0x05
17 #define PGM_SPECIFICATION		0x06
18 #define PGM_DATA			0x07
19 #define PGM_FIXED_POINT_OVERFLOW	0x08
20 #define PGM_FIXED_POINT_DIVIDE		0x09
21 #define PGM_DECIMAL_OVERFLOW		0x0a
22 #define PGM_DECIMAL_DIVIDE		0x0b
23 #define PGM_HFP_EXPONENT_OVERFLOW	0x0c
24 #define PGM_HFP_EXPONENT_UNDERFLOW	0x0d
25 #define PGM_HFP_SIGNIFICANCE		0x0e
26 #define PGM_HFP_DIVIDE			0x0f
27 #define PGM_SEGMENT_TRANSLATION		0x10
28 #define PGM_PAGE_TRANSLATION		0x11
29 #define PGM_TRANSLATION_SPEC		0x12
30 #define PGM_SPECIAL_OPERATION		0x13
31 #define PGM_OPERAND			0x15
32 #define PGM_TRACE_TABEL			0x16
33 #define PGM_VECTOR_PROCESSING		0x1b
34 #define PGM_SPACE_SWITCH		0x1c
35 #define PGM_HFP_SQUARE_ROOT		0x1d
36 #define PGM_PC_TRANSLATION_SPEC		0x1f
37 #define PGM_AFX_TRANSLATION		0x20
38 #define PGM_ASX_TRANSLATION		0x21
39 #define PGM_LX_TRANSLATION		0x22
40 #define PGM_EX_TRANSLATION		0x23
41 #define PGM_PRIMARY_AUTHORITY		0x24
42 #define PGM_SECONDARY_AUTHORITY		0x25
43 #define PGM_LFX_TRANSLATION		0x26
44 #define PGM_LSX_TRANSLATION		0x27
45 #define PGM_ALET_SPECIFICATION		0x28
46 #define PGM_ALEN_TRANSLATION		0x29
47 #define PGM_ALE_SEQUENCE		0x2a
48 #define PGM_ASTE_VALIDITY		0x2b
49 #define PGM_ASTE_SEQUENCE		0x2c
50 #define PGM_EXTENDED_AUTHORITY		0x2d
51 #define PGM_LSTE_SEQUENCE		0x2e
52 #define PGM_ASTE_INSTANCE		0x2f
53 #define PGM_STACK_FULL			0x30
54 #define PGM_STACK_EMPTY			0x31
55 #define PGM_STACK_SPECIFICATION		0x32
56 #define PGM_STACK_TYPE			0x33
57 #define PGM_STACK_OPERATION		0x34
58 #define PGM_ASCE_TYPE			0x38
59 #define PGM_REGION_FIRST_TRANS		0x39
60 #define PGM_REGION_SECOND_TRANS		0x3a
61 #define PGM_REGION_THIRD_TRANS		0x3b
62 #define PGM_SECURE_STORAGE_ACCESS	0x3d
63 #define PGM_NON_SECURE_STORAGE_ACCESS	0x3e
64 #define PGM_SECURE_STORAGE_VIOLATION	0x3f
65 #define PGM_MONITOR			0x40
66 #define PGM_PER				0x80
67 #define PGM_CRYPTO_OPERATION		0x119
68 
69 #endif /* ASM_KVM_HOST_H */
70