On 2023/7/25 1:22, Jason Gunthorpe wrote:
Allocate a domain from a group. Automatically obtains the iommu_ops to use from the device list of the group. Convert the internal callers to use it. Tested-by: Steven Price<steven.price@xxxxxxx> Tested-by: Marek Szyprowski<m.szyprowski@xxxxxxxxxxx> Tested-by: Nicolin Chen<nicolinc@xxxxxxxxxx> Signed-off-by: Jason Gunthorpe<jgg@xxxxxxxxxx> --- drivers/iommu/iommu.c | 66 ++++++++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 29 deletions(-)
Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>