Re: [PATCH v4 06/16] iommu: Move iommu_fwspec to struct dev_iommu

From: Greg Kroah-Hartman
Date: Thu Mar 26 2020 - 11:12:26 EST


On Thu, Mar 26, 2020 at 04:08:31PM +0100, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel@xxxxxxx>
>
> Move the iommu_fwspec pointer in struct device into struct dev_iommu.
> This is a step in the effort to reduce the iommu related pointers in
> struct device to one.
>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Tested-by: Will Deacon <will@xxxxxxxxxx> # arm-smmu
> Reviewed-by: Jean-Philippe Brucker <jean-philippe@xxxxxxxxxx>
> Signed-off-by: Joerg Roedel <jroedel@xxxxxxx>
> ---
> drivers/iommu/iommu.c | 3 +++
> include/linux/device.h | 3 ---
> include/linux/iommu.h | 12 ++++++++----
> 3 files changed, 11 insertions(+), 7 deletions(-)

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>