]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Tue, 12 Jun 2018 06:28:55 +0000 (02:28 -0400)
commitf1b152f6a5e53a6e115984f65efb8149f7443ed8
tree6c3a4794f6fa14e34031532a3e5abf7a84cb48c9
parent1d436ebca181df12807c0a90ff8a52e99fe72f47
s390/cio: update chpid descriptor after resource accessibility event

BugLink: http://bugs.launchpad.net/bugs/1775483
commit af2e460ade0b0180d0f3812ca4f4f59cc9597f3e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/s390/cio/chsc.c