]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: don't register chpids in reserved state
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 12 Oct 2016 09:14:31 +0000 (11:14 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 17 Oct 2016 09:25:25 +0000 (11:25 +0200)
commit066e62cbe5b64087524db599791d8809c174015a
tree1707c70f64e4c576391ed1e949067499ba2c9cce
parentda1b05fc38cb62701eb91df828b3d168d04972b9
s390/cio: don't register chpids in reserved state

During IPL we register all chpids that are not in the unrecognized
state. This includes chpids that are not usable and chpids for which
the state could not be obtained.

Change that to only register chpids in the configured (usable) or
standby (usable after a configure operation) state. All other chpids
could only be made available by external control for which we would
receive machine checks.

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