Re: [PATCH rc] iommu/power: Remove iommu_del_device()

2023-07-02 Thread Michael Ellerman
On Mon, 15 May 2023 21:12:31 -0300, Jason Gunthorpe wrote: > Now that power calls iommu_device_register() and populates its groups > using iommu_ops->device_group it should not be calling > iommu_group_remove_device(). > > The core code owns the groups and all the other related iommu data, it > wi

Re: [PATCH rc] iommu/power: Remove iommu_del_device()

2023-05-17 Thread Michael Ellerman
Jason Gunthorpe writes: > Now that power calls iommu_device_register() and populates its groups > using iommu_ops->device_group it should not be calling > iommu_group_remove_device(). > > The core code owns the groups and all the other related iommu data, it > will clean it up automatically. > > R

[PATCH rc] iommu/power: Remove iommu_del_device()

2023-05-15 Thread Jason Gunthorpe
Now that power calls iommu_device_register() and populates its groups using iommu_ops->device_group it should not be calling iommu_group_remove_device(). The core code owns the groups and all the other related iommu data, it will clean it up automatically. Remove the bus notifiers and explicit ca