diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2021-08-06 03:19:03 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-08-11 17:50:11 +0200 |
commit | ab7e5e34a9f661f5649f48d4531c4a75713ff7cf (patch) | |
tree | b894176e74ab550ba7048b0350f5d4203cdfbd8c /README | |
parent | vfio/fsl: Move to the device set infrastructure (diff) | |
download | linux-ab7e5e34a9f661f5649f48d4531c4a75713ff7cf.tar.xz linux-ab7e5e34a9f661f5649f48d4531c4a75713ff7cf.zip |
vfio/platform: Use open_device() instead of open coding a refcnt scheme
Platform simply wants to run some code when the device is first
opened/last closed. Use the core framework and locking for this. Aside
from removing a bit of code this narrows the locking scope from a global
lock.
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/7-v4-9ea22c5e6afb+1adf-vfio_reflck_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions