commit | 4f76617378ee97c557b526cb58d3c61eb0a9c963 | [log] [tgz] |
---|---|---|
author | Cornelia Huck <cohuck@redhat.com> | Tue Jan 08 15:53:03 2019 +0100 |
committer | Cornelia Huck <cohuck@redhat.com> | Wed Apr 24 14:18:51 2019 +0200 |
tree | 42e9ac6864535d6d1ea1210790dfccf072eb73bb | |
parent | 690f6a1581c7c08e85451f62bcbfe40f29072842 [diff] |
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>