1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _ASM_S390_UAPI_IPL_H
3 #define _ASM_S390_UAPI_IPL_H
5 #include <linux/types.h>
7 /* IPL Parameter List header */
15 #define IPL_PL_FLAG_IPLPS 0x80
16 #define IPL_PL_FLAG_SIPL 0x40
17 #define IPL_PL_FLAG_IPLSR 0x20
19 /* IPL Parameter Block header */
25 /* IPL Parameter Block types */
34 /* IPL Parameter Block 0 with common fields */
35 struct ipl_pb0_common {
44 #define IPL_PB0_FLAG_LOADPARM 0x80
46 /* IPL Parameter Block 0 for FCP */
69 #define IPL_PB0_FCP_OPT_IPL 0x10
70 #define IPL_PB0_FCP_OPT_DUMP 0x20
72 /* IPL Parameter Block 0 for NVMe */
93 #define IPL_PB0_NVME_OPT_IPL 0x10
94 #define IPL_PB0_NVME_OPT_DUMP 0x20
96 /* IPL Parameter Block 0 for CCW */
104 __u16 reserved3 : 13;
115 /* IPL Parameter Block 0 for ECKD */
116 struct ipl_pb0_eckd {
140 #define IPL_PB0_ECKD_OPT_IPL 0x10
141 #define IPL_PB0_ECKD_OPT_DUMP 0x20
143 #define IPL_PB0_CCW_VM_FLAG_NSS 0x80
144 #define IPL_PB0_CCW_VM_FLAG_VP 0x40
146 /* IPL Parameter Block 1 for additional SCP data */
147 struct ipl_pb1_scp_data {
153 /* IPL Report List header */
162 /* IPL Report Block header */
169 /* IPL Report Block types */
171 IPL_RBT_CERTIFICATES = 1,
172 IPL_RBT_COMPONENTS = 2,
175 /* IPL Report Block for the certificate list */
176 struct ipl_rb_certificate_entry {
181 struct ipl_rb_certificates {
185 struct ipl_rb_certificate_entry entries[];
188 /* IPL Report Block for the component list */
189 struct ipl_rb_component_entry {
194 __u16 certificate_index;
198 #define IPL_RB_COMPONENT_FLAG_SIGNED 0x80
199 #define IPL_RB_COMPONENT_FLAG_VERIFIED 0x40
201 struct ipl_rb_components {
205 struct ipl_rb_component_entry entries[];