Re: [PATCH 07/24] iommu/dma: Move domain lookup into __iommu_dma_{map, unmap}

From: Christoph Hellwig
Date: Wed May 22 2019 - 12:00:14 EST


On Wed, May 22, 2019 at 02:34:49PM +0100, Robin Murphy wrote:
> On 20/05/2019 08:29, Christoph Hellwig wrote:
>> From: Robin Murphy <robin.murphy@xxxxxxx>
>>
>> Most of the callers don't care, and the couple that do already have the
>> domain to hand for other reasons are in slow paths where the (trivial)
>> overhead of a repeated lookup will be utterly immaterial.
>>
>> Signed-off-by: Robin Murphy <robin.murphy@xxxxxxx>
>> [hch: dropped the hunk touching iommu_dma_get_msi_page to avoid a
>> conflict with another series]
>
> Since the MSI changes made it into 5.2, do you want to resurrect that hunk
> here, or shall I spin it up as a follow-on patch?

Either way is fine with me.