[PATCH v2 06/12] of/iommu: Make of_map_rid() PCI agnostic

Joerg Roedel joro at 8bytes.org
Mon Jun 22 09:26:42 EDT 2020


On Fri, Jun 19, 2020 at 09:20:07AM +0100, Lorenzo Pieralisi wrote:
> There is nothing PCI specific (other than the RID - requester ID)
> in the of_map_rid() implementation, so the same function can be
> reused for input/output IDs mapping for other busses just as well.
> 
> Rename the RID instances/names to a generic "id" tag.
> 
> No functionality change intended.
> 
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
> Cc: Rob Herring <robh+dt at kernel.org>
> Cc: Joerg Roedel <joro at 8bytes.org>
> Cc: Robin Murphy <robin.murphy at arm.com>
> Cc: Marc Zyngier <maz at kernel.org>
> ---
>  drivers/iommu/of_iommu.c |  4 ++--
>  drivers/of/base.c        | 42 ++++++++++++++++++++--------------------
>  drivers/of/irq.c         |  2 +-
>  include/linux/of.h       |  4 ++--
>  4 files changed, 26 insertions(+), 26 deletions(-)

Acked-by: Joerg Roedel <jroedel at suse.de>




More information about the linux-arm-kernel mailing list