diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2010-10-25 10:10:32 -0400 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-10-25 10:10:18 -0400 |
commit | 62da177ac2bc1f6f3707230070af268b1e689651 (patch) | |
tree | 287153c19b11b069c55ba6b70cf60ac8c4cfb766 /drivers/s390/cio/css.c | |
parent | c38a90a34cfc880eb2f7234c511cdb7d8bdebc45 (diff) |
[S390] css: update descriptor after hibernate
Update the channel path descriptors after hibernation.
This is done unlocked, since we are the only active
task at this time.
Note: chsc_determine_base_channel_path_desc is changed
to use spin_lock_irqsave, since it's called with
interrupts disabled in this case.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/css.c')
-rw-r--r-- | drivers/s390/cio/css.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index 5e1235c6aba0..771576bb2928 100644 --- a/drivers/s390/cio/css.c +++ b/drivers/s390/cio/css.c | |||
@@ -1030,7 +1030,16 @@ subsys_initcall_sync(channel_subsystem_init_sync); | |||
1030 | 1030 | ||
1031 | void channel_subsystem_reinit(void) | 1031 | void channel_subsystem_reinit(void) |
1032 | { | 1032 | { |
1033 | struct channel_path *chp; | ||
1034 | struct chp_id chpid; | ||
1035 | |||
1033 | chsc_enable_facility(CHSC_SDA_OC_MSS); | 1036 | chsc_enable_facility(CHSC_SDA_OC_MSS); |
1037 | chp_id_for_each(&chpid) { | ||
1038 | chp = chpid_to_chp(chpid); | ||
1039 | if (!chp) | ||
1040 | continue; | ||
1041 | chsc_determine_base_channel_path_desc(chpid, &chp->desc); | ||
1042 | } | ||
1034 | } | 1043 | } |
1035 | 1044 | ||
1036 | #ifdef CONFIG_PROC_FS | 1045 | #ifdef CONFIG_PROC_FS |