]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cmf: read from hw buffer
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 7 Sep 2017 11:18:40 +0000 (13:18 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 28 Sep 2017 05:29:42 +0000 (07:29 +0200)
commitde6f9de49d8d49871b8652c3ecf15f1a122d47c5
tree65826a2781927fd697f1fd09df723fd70ec44b63
parentc23281cbaea02cad34694cbf759bf56c28f06376
s390/cmf: read from hw buffer

To ensure data consistency when reading from the channel measurement
block we wait for the subchannel to become idle and copy the whole
block. This is unnecessary when all we do is export the individual
values via sysfs. Read the values for sysfs export directly from
the measurement block.

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>
drivers/s390/cio/cmf.c