diff options
author | Cornelia Huck <cohuck@redhat.com> | 2019-01-08 15:53:03 +0100 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2019-04-24 14:18:51 +0200 |
commit | 4f76617378ee97c557b526cb58d3c61eb0a9c963 (patch) | |
tree | 42e9ac6864535d6d1ea1210790dfccf072eb73bb /kernel/ksysfs.c | |
parent | vfio-ccw: rework ssch state handling (diff) | |
download | linux-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 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions