[S390] css: update descriptor after hibernate
[~shefty/rdma-dev.git] / drivers / s390 / cio / css.c
index 5e1235c6aba082d7812d97d5de175cf621721570..771576bb292871ba3429240e11d2b976b9179031 100644 (file)
@@ -1030,7 +1030,16 @@ subsys_initcall_sync(channel_subsystem_init_sync);
 
 void channel_subsystem_reinit(void)
 {
+       struct channel_path *chp;
+       struct chp_id chpid;
+
        chsc_enable_facility(CHSC_SDA_OC_MSS);
+       chp_id_for_each(&chpid) {
+               chp = chpid_to_chp(chpid);
+               if (!chp)
+                       continue;
+               chsc_determine_base_channel_path_desc(chpid, &chp->desc);
+       }
 }
 
 #ifdef CONFIG_PROC_FS