From: Will Deacon Subject: Re: [PATCH 00/14] iommu: Move iommu_fwspec out of 'struct device' Date: Tue, 3 Mar 2020 19:16:25 +0000 Message-ID: <20200303191624.GC27329@willie-the-truck> References: <20200228150820.15340-1-joro@8bytes.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20200228150820.15340-1-joro@8bytes.org> Sender: linux-arm-msm-owner@vger.kernel.org To: Joerg Roedel Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-mediatek@lists.infradead.org, virtualization@lists.linux-foundation.org, Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla , Rob Clark , Sean Paul , Robin Murphy , Matthias Brugger , Thierry Reding , Jean-Philippe Brucker , Andy Gross , Bjorn Andersson List-Id: virtualization@lists.linuxfoundation.org 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 # arm-smmu I'll try to review the patches soon. Cheers, Will