]> git.baikalelectronics.ru Git - kernel.git/commit
vfio/ap: Use the new device life cycle helpers
authorYi Liu <yi.l.liu@intel.com>
Wed, 21 Sep 2022 10:43:55 +0000 (18:43 +0800)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 21 Sep 2022 20:15:11 +0000 (14:15 -0600)
commit61fde766e8a420ca7964878c2a8f2ba906f57a9c
tree3f2cc6db41d3c5e324ff35c3a18f8f93054bf65e
parente3e4f03a6738c2a310d0e9a541d957fbf752be23
vfio/ap: Use the new device life cycle helpers

and manage available_instances inside @init/@release.

Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20220921104401.38898-10-kevin.tian@intel.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/s390/crypto/vfio_ap_ops.c