diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2016-07-12 19:57:57 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-07-14 13:01:49 +0200 |
commit | 0f5d050ceaa31b2229102211d60c149f920df3aa (patch) | |
tree | 37526935ceba9b643ff083e79621b533a389228b /include/pcmcia | |
parent | s390/console: Make preferred console handling more consistent (diff) | |
download | linux-0f5d050ceaa31b2229102211d60c149f920df3aa.tar.xz linux-0f5d050ceaa31b2229102211d60c149f920df3aa.zip |
s390/cio: allow to reset channel measurement block
Prior to commit 1bc6664bdfb949bc69a08113801e7d6acbf6bc3f a call to
enable_cmf for a device for which channel measurement was already
enabled resulted in a reset of the measurement data.
What looked like bugs at the time (a 2nd allocation was triggered
but failed, reset was called regardless of previous failures, and
errors have not been reported to userspace) was actually something
at least one userspace tool depended on. Restore that behavior in
a sane way.
Fixes: 1bc6664bdfb ("s390/cio: use device_lock during cmb activation")
Cc: stable@vger.kernel.org #v4.4+
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/pcmcia')
0 files changed, 0 insertions, 0 deletions