]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: use device_lock during cmb activation
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 15 Sep 2015 11:11:42 +0000 (13:11 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Oct 2015 12:32:02 +0000 (14:32 +0200)
commitf8bdb1d2cf11f9fc91387eb86f23ec09dfde10f5
tree5426526ca602c9394d3501cf15cf61fa5acc2695
parent88ac0a18e59f7559094b0ac1d4f56793b5646517
s390/cio: use device_lock during cmb activation

Hold the device_lock during [de]activation of the channel measurement
block to synchronize concurrent usage of these functions.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cmb.h
drivers/s390/cio/cmf.c
drivers/s390/cio/device.c