aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/vfio_ccw_trace.h
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2019-01-08 15:53:03 +0100
committerCornelia Huck <cohuck@redhat.com>2019-04-24 14:18:51 +0200
commit4f76617378ee97c557b526cb58d3c61eb0a9c963 (patch)
tree42e9ac6864535d6d1ea1210790dfccf072eb73bb /drivers/s390/cio/vfio_ccw_trace.h
parentvfio-ccw: rework ssch state handling (diff)
downloadlinux-dev-4f76617378ee97c557b526cb58d3c61eb0a9c963.tar.xz
linux-dev-4f76617378ee97c557b526cb58d3c61eb0a9c963.zip
vfio-ccw: protect the I/O region
Introduce a mutex to disallow concurrent reads or writes to the I/O region. This makes sure that the data the kernel or user space see is always consistent. The same mutex will be used to protect the async region as well. Reviewed-by: Eric Farman <farman@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'drivers/s390/cio/vfio_ccw_trace.h')
0 files changed, 0 insertions, 0 deletions