s390: chp: handle CRW_ERC_INIT for channel-path status change
authorDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Thu, 6 Jul 2017 02:00:45 +0000 (04:00 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 13 Jul 2017 09:28:29 +0000 (11:28 +0200)
commit2daace78a8c94e2cd20164b8efc18171c56e92ec
tree3f7d31b2eb1e66280cb31b0b43b6c1307173d138
parentb855629b9a4107c37999723c09cc9fd357b53caf
s390: chp: handle CRW_ERC_INIT for channel-path status change

When channel path is identified as the report source code (RSC)
of a CRW, and initialized (CRW_ERC_INIT) is recognized as the
error recovery code (ERC) by the channel subsystem, it indicates
a "path has come" event.

Let's handle this case in chp_process_crw().

Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/chp.c