hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/s390/include/asm/sclp.h
....@@ -78,6 +78,9 @@
7878 unsigned char has_skey : 1;
7979 unsigned char has_kss : 1;
8080 unsigned char has_gisaf : 1;
81
+ unsigned char has_diag318 : 1;
82
+ unsigned char has_sipl : 1;
83
+ unsigned char has_dirq : 1;
8184 unsigned int ibc;
8285 unsigned int mtid;
8386 unsigned int mtid_cp;
....@@ -95,6 +98,7 @@
9598 struct zpci_report_error_header {
9699 u8 version; /* Interface version byte */
97100 u8 action; /* Action qualifier byte
101
+ * 0: Adapter Reset Request
98102 * 1: Deconfigure and repair action requested
99103 * (OpenCrypto Problem Call Home)
100104 * 2: Informational Report
....@@ -104,13 +108,16 @@
104108 u8 data[0]; /* Subsequent Data passed verbatim to SCLP ET 24 */
105109 } __packed;
106110
111
+int sclp_early_read_info(void);
112
+int sclp_early_read_storage_info(void);
107113 int sclp_early_get_core_info(struct sclp_core_info *info);
108114 void sclp_early_get_ipl_info(struct sclp_ipl_info *info);
109115 void sclp_early_detect(void);
110116 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);
113118
119
+int sclp_early_get_memsize(unsigned long *mem);
120
+int sclp_early_get_hsa_size(unsigned long *hsa_size);
114121 int _sclp_get_core_info(struct sclp_core_info *info);
115122 int sclp_core_configure(u8 core);
116123 int sclp_core_deconfigure(u8 core);
....@@ -121,6 +128,8 @@
121128 int sclp_chp_read_info(struct sclp_chp_info *info);
122129 int sclp_pci_configure(u32 fid);
123130 int sclp_pci_deconfigure(u32 fid);
131
+int sclp_ap_configure(u32 apid);
132
+int sclp_ap_deconfigure(u32 apid);
124133 int sclp_pci_report(struct zpci_report_error_header *report, u32 fh, u32 fid);
125134 int memcpy_hsa_kernel(void *dest, unsigned long src, size_t count);
126135 int memcpy_hsa_user(void __user *dest, unsigned long src, size_t count);