.. | .. |
---|
78 | 78 | unsigned char has_skey : 1; |
---|
79 | 79 | unsigned char has_kss : 1; |
---|
80 | 80 | unsigned char has_gisaf : 1; |
---|
| 81 | + unsigned char has_diag318 : 1; |
---|
| 82 | + unsigned char has_sipl : 1; |
---|
| 83 | + unsigned char has_dirq : 1; |
---|
81 | 84 | unsigned int ibc; |
---|
82 | 85 | unsigned int mtid; |
---|
83 | 86 | unsigned int mtid_cp; |
---|
.. | .. |
---|
95 | 98 | struct zpci_report_error_header { |
---|
96 | 99 | u8 version; /* Interface version byte */ |
---|
97 | 100 | u8 action; /* Action qualifier byte |
---|
| 101 | + * 0: Adapter Reset Request |
---|
98 | 102 | * 1: Deconfigure and repair action requested |
---|
99 | 103 | * (OpenCrypto Problem Call Home) |
---|
100 | 104 | * 2: Informational Report |
---|
.. | .. |
---|
104 | 108 | u8 data[0]; /* Subsequent Data passed verbatim to SCLP ET 24 */ |
---|
105 | 109 | } __packed; |
---|
106 | 110 | |
---|
| 111 | +int sclp_early_read_info(void); |
---|
| 112 | +int sclp_early_read_storage_info(void); |
---|
107 | 113 | int sclp_early_get_core_info(struct sclp_core_info *info); |
---|
108 | 114 | void sclp_early_get_ipl_info(struct sclp_ipl_info *info); |
---|
109 | 115 | void sclp_early_detect(void); |
---|
110 | 116 | void sclp_early_printk(const char *s); |
---|
111 | | -void sclp_early_printk_force(const char *s); |
---|
112 | | -void __sclp_early_printk(const char *s, unsigned int len, unsigned int force); |
---|
| 117 | +void __sclp_early_printk(const char *s, unsigned int len); |
---|
113 | 118 | |
---|
| 119 | +int sclp_early_get_memsize(unsigned long *mem); |
---|
| 120 | +int sclp_early_get_hsa_size(unsigned long *hsa_size); |
---|
114 | 121 | int _sclp_get_core_info(struct sclp_core_info *info); |
---|
115 | 122 | int sclp_core_configure(u8 core); |
---|
116 | 123 | int sclp_core_deconfigure(u8 core); |
---|
.. | .. |
---|
121 | 128 | int sclp_chp_read_info(struct sclp_chp_info *info); |
---|
122 | 129 | int sclp_pci_configure(u32 fid); |
---|
123 | 130 | int sclp_pci_deconfigure(u32 fid); |
---|
| 131 | +int sclp_ap_configure(u32 apid); |
---|
| 132 | +int sclp_ap_deconfigure(u32 apid); |
---|
124 | 133 | int sclp_pci_report(struct zpci_report_error_header *report, u32 fh, u32 fid); |
---|
125 | 134 | int memcpy_hsa_kernel(void *dest, unsigned long src, size_t count); |
---|
126 | 135 | int memcpy_hsa_user(void __user *dest, unsigned long src, size_t count); |
---|