hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/s390/include/asm/ap.h
....@@ -160,8 +160,8 @@
160160 unsigned char Nd; /* max # of Domains - 1 */
161161 unsigned char _reserved3[10];
162162 unsigned int apm[8]; /* AP ID mask */
163
- unsigned int aqm[8]; /* AP queue mask */
164
- unsigned int adm[8]; /* AP domain mask */
163
+ unsigned int aqm[8]; /* AP (usage) queue mask */
164
+ unsigned int adm[8]; /* AP (control) domain mask */
165165 unsigned char _reserved4[16];
166166 } __aligned(8);
167167
....@@ -360,4 +360,15 @@
360360 return reg1;
361361 }
362362
363
+/*
364
+ * Interface to tell the AP bus code that a configuration
365
+ * change has happened. The bus code should at least do
366
+ * an ap bus resource rescan.
367
+ */
368
+#if IS_ENABLED(CONFIG_ZCRYPT)
369
+void ap_bus_cfg_chg(void);
370
+#else
371
+static inline void ap_bus_cfg_chg(void){};
372
+#endif
373
+
363374 #endif /* _ASM_S390_AP_H_ */