Re: [PATCH v2 09/10] iommu: Use dev_iommu_ops() helper

2022-02-09 Thread Lu Baolu
On 2/9/22 9:41 PM, Jason Gunthorpe wrote: On Tue, Feb 08, 2022 at 09:25:58AM +0800, Lu Baolu wrote: Convert all the feasible instances of dev->bus->iommu_ops to dev_iommu_ops() in order to making the operation of obtaining iommu_ops from a device consistent. Why are there two patches doing

Re: [PATCH v2 09/10] iommu: Use dev_iommu_ops() helper

2022-02-09 Thread Jason Gunthorpe via iommu
On Tue, Feb 08, 2022 at 09:25:58AM +0800, Lu Baolu wrote: > Convert all the feasible instances of dev->bus->iommu_ops to > dev_iommu_ops() in order to making the operation of obtaining > iommu_ops from a device consistent. Why are there two patches doing this conversion? Roll this into the prior

Re: [PATCH v2 09/10] iommu: Use dev_iommu_ops() helper

2022-02-08 Thread Christoph Hellwig
On Tue, Feb 08, 2022 at 09:25:58AM +0800, Lu Baolu wrote: > Convert all the feasible instances of dev->bus->iommu_ops to > dev_iommu_ops() in order to making the operation of obtaining > iommu_ops from a device consistent. I'm not a native speaker, but I think this should read ".. in order to