s390/cio: update chpid descriptor after resource accessibility event
authorSebastian Ott <sebott@linux.ibm.com>
Wed, 11 Apr 2018 09:21:17 +0000 (11:21 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 23 Apr 2018 05:57:16 +0000 (07:57 +0200)
commitaf2e460ade0b0180d0f3812ca4f4f59cc9597f3e
treef5e8386cad47d09d89a2ba41bfcf857dc80587cd
parent6d08b06e67cd117f6992c46611dfb4ce267cd71e
s390/cio: update chpid descriptor after resource accessibility event

Channel path descriptors have been seen as something stable (as
long as the chpid is configured). Recent tests have shown that the
descriptor can also be altered when the link state of a channel path
changes. Thus it is necessary to update the descriptor during
handling of resource accessibility events.

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