Messages in this thread | | | Date | Tue, 1 Dec 2015 16:15:10 +0100 | From | Joerg Roedel <> | Subject | Re: [PATCH 0/8] iommu: Make core iommu-groups code more generic |
| |
Hi Yong Wu,
On Tue, Dec 01, 2015 at 07:29:51PM +0800, Yong Wu wrote: > Currently We have to use iommu_detach_group and iommu_attach_group. > Is there any plan for adding detach/attach the device within a iommu > group?
No, there is no such plan. The reason is using attach/detach_device always also affects the other devices in the iommu-group. Therefore attach/detach_device was limited to devices which have no others in their group. Having attach/detach_group makes it more obvious to the user that the call affects more than one device.
Joerg
| |