]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: Implement proper Link Incident Record handling
authorPeter Oberparleiter <oberpar@linux.vnet.ibm.com>
Wed, 15 Jul 2015 12:04:18 +0000 (14:04 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 Jul 2015 07:58:06 +0000 (09:58 +0200)
commit65bdc5b9c46ead81562c2488682ad0fe7e9e17e1
tree0ca820b3da568d67cfa0e142afdee493cbaad329
parent3718de5fc272c837c6da8e9647e2839e0d83f1a7
s390/cio: Implement proper Link Incident Record handling

A hardware problem on a FICON link is reported by the Channel Subsystem
to the operating system via a Link Incident Record (LIR). In response,
the operating system should issue a message that enables hardware
service personnel to identify and repair the failing component.

Current Linux LIR handling is broken because LIR data is incorrectly
interpreted and no log message is generated.

This patch fixes Linux LIR handling by implementing a new log message
for LIRs indicating a degraded or non-operational link. Also LIRs are
no longer used to deactivate channel paths because the available data
does not reliably allow to determine the affected channel path.

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