Re: [PATCH v2 5/8] iommu: Switch __iommu_domain_alloc() to device ops

From: Baolu Lu
Date: Sat Jan 28 2023 - 03:21:40 EST


On 2023/1/27 2:26, Robin Murphy wrote:
In all the places we allocate default domains, we have (or can easily
get hold of) a device from which to resolve the right IOMMU ops; only
the public iommu_domain_alloc() interface actually depends on bus ops.
Reworking the public API is a big enough mission in its own right, but
in the meantime we can still decouple it from bus ops internally to move
forward.

Signed-off-by: Robin Murphy<robin.murphy@xxxxxxx>

Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>

Best regards,
baolu