s390/cio: update measurement characteristics
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 25 Jan 2016 09:32:51 +0000 (10:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2016 06:27:42 +0000 (08:27 +0200)
commit9eccfa31f0024f0407a122b1afdc91bba52cf511
tree7120334f629a6725694dbf98353ee1924ae0e9d4
parenteb9f26c99639de3b04c89085855196f56b3f69ea
s390/cio: update measurement characteristics

[ Upstream commit 9f3d6d7a40a178b8a5b5274f4e55fec8c30147c9 ]

Per channel path measurement characteristics are obtained during channel
path registration. However if some properties of a channel path change
we don't update the measurement characteristics.

Make sure to update the characteristics when we change the properties of
a channel path or receive a notification from FW about such a change.

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/s390/cio/chp.c
drivers/s390/cio/chsc.c