On Tue, 14 Jul 2020 09:25:14 +0100
Christoph Hellwig<hch@xxxxxxxxxxxxx> wrote:
On Tue, Jul 14, 2020 at 01:57:03PM +0800, Lu Baolu wrote:it is still used in patch 2/4 inside iommu_aux_attach_group(), right?
Replace iommu_aux_at(de)tach_device() withThis removes the last user of iommu_aux_attach_device and
iommu_aux_at(de)tach_group(). It also saves the
IOMMU_DEV_FEAT_AUX-capable physcail device in the vfio_group data
structure so that it could be reused in other places.
iommu_aux_detach_device, which can be removed now.