Re: [PATCH 00/14] iommu: Move iommu_fwspec out of 'struct device'
From: Will Deacon <will@kernel.org>
Date: 2020-03-03 19:16:34
Also in:
linux-arm-msm, linux-iommu, linux-mediatek, lkml
From: Will Deacon <will@kernel.org>
Date: 2020-03-03 19:16:34
Also in:
linux-arm-msm, linux-iommu, linux-mediatek, lkml
Hi Joerg, On Fri, Feb 28, 2020 at 04:08:06PM +0100, Joerg Roedel wrote:
here is a patch-set to rename iommu_param to dev_iommu and establish it as a struct for generic per-device iommu-data. Also move the iommu_fwspec pointer from struct device into dev_iommu to have less iommu-related pointers in struct device. The bigger part of this patch-set moves the iommu_priv pointer from struct iommu_fwspec to dev_iommu, making is usable for iommu-drivers which do not use fwspecs. The changes for that were mostly straightforward, except for the arm-smmu (_not_ arm-smmu-v3) and the qcom iommu driver. Unfortunatly I don't have the hardware for those, so any testing of these drivers is greatly appreciated.
I haven't had a chance to review this properly yet, but I did take it for a spin on my Seattle board with MMU-400 (arm-smmu) and it seems to work the same as before, so: Tested-by: Will Deacon <will@kernel.org> # arm-smmu I'll try to review the patches soon. Cheers, Will