]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: Fix missing subchannels after CHPID configure on
authorPeter Oberparleiter <oberpar@linux.vnet.ibm.com>
Wed, 19 Feb 2014 16:43:04 +0000 (17:43 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 21 Feb 2014 07:48:33 +0000 (08:48 +0100)
commit97b2e62b34f967553e645fe63e7f63db2e1d2928
treecbdc5d1e481409d5d839cfab64c0b21991c18816
parent9448ba8ac2e8c7536673493a6204c3b6cb84b333
s390/cio: Fix missing subchannels after CHPID configure on

Performing a Channel-Path configure on operation on a Channel-Path ID
(CHPID) does not trigger a scan for subchannels that might have become
available through that CHPID. As a result, some subchannels and
associated I/O devices might be missing. Fix this by adding the missing
scan.

This problem was introduced by commit 4fba5c5d, "[S390] cio: Rework
css driver.", but wasn't noticed earlier because the machine usually
also generates a Channel-Report-Word when the first CHPID of a
subchannel is configured on, resulting in a separate scan for that
subchannel. The problem only becomes apparent when this first CHPID is
not working properly and additional working CHPIDs are subsequently
configured on without any effect on the availability of the affected
subchannel.

Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/chsc.c