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 */
33 /* IPL Parameter Block 0 with common fields */
34 struct ipl_pb0_common
{
43 #define IPL_PB0_FLAG_LOADPARM 0x80
45 /* IPL Parameter Block 0 for FCP */
68 #define IPL_PB0_FCP_OPT_IPL 0x10
69 #define IPL_PB0_FCP_OPT_DUMP 0x20
71 /* IPL Parameter Block 0 for NVMe */
92 #define IPL_PB0_NVME_OPT_IPL 0x10
93 #define IPL_PB0_NVME_OPT_DUMP 0x20
95 /* IPL Parameter Block 0 for CCW */
103 __u16 reserved3
: 13;
114 #define IPL_PB0_CCW_VM_FLAG_NSS 0x80
115 #define IPL_PB0_CCW_VM_FLAG_VP 0x40
117 /* IPL Parameter Block 1 for additional SCP data */
118 struct ipl_pb1_scp_data
{
124 /* IPL Report List header */
133 /* IPL Report Block header */
140 /* IPL Report Block types */
142 IPL_RBT_CERTIFICATES
= 1,
143 IPL_RBT_COMPONENTS
= 2,
146 /* IPL Report Block for the certificate list */
147 struct ipl_rb_certificate_entry
{
152 struct ipl_rb_certificates
{
156 struct ipl_rb_certificate_entry entries
[];
159 /* IPL Report Block for the component list */
160 struct ipl_rb_component_entry
{
165 __u16 certificate_index
;
169 #define IPL_RB_COMPONENT_FLAG_SIGNED 0x80
170 #define IPL_RB_COMPONENT_FLAG_VERIFIED 0x40
172 struct ipl_rb_components
{
176 struct ipl_rb_component_entry entries
[];