]> err.no Git - linux-2.6/commit
[S390] rework of channel measurement facility.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 29 Jun 2006 13:08:41 +0000 (15:08 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 29 Jun 2006 13:08:41 +0000 (15:08 +0200)
commit94bb063312d872d9269deb2e5c0c7c6d5b0318e1
treebef899fbe742ee31d93ff0e077898d4562086f9e
parent5b5dd21a8e6652fc8b58a32757575cc7fce2b54d
[S390] rework of channel measurement facility.

Fixes for several channel measurement facility bugs:
* Blocks copied from the hardware might not be consistent. Solve this
  by moving the copying into idle state and repeating the copying.
* avg_sample_interval changed with every read, even though no new block
  was available. Solve this by storing a timestamp when the last new
  block was received.
* Several locking issues.
* Measurements were not reenabled after a disconnected device became
  available again.
* Remove #defines for ioctls that were never implemented.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/cmf.c
drivers/s390/cio/device.h
drivers/s390/cio/device_fsm.c
include/asm-s390/cmb.h