powerpc/iommu: Move pSeries specific functions to pseries/iommu.c
authorShivaprasad G Bhat <sbhat@linux.ibm.com>
Mon, 24 Jun 2024 12:38:21 +0000 (12:38 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 28 Jun 2024 07:03:38 +0000 (17:03 +1000)
commitb09c031d9433dda3186190e5845ba0d720212567
treedd04beb05d9e2eed3a74fb0bd4c345c32e3a0b31
parent932bed41217059638c78a75411b7893b121d2162
powerpc/iommu: Move pSeries specific functions to pseries/iommu.c

The PowerNV specific table_group_ops are defined in powernv/pci-ioda.c.
The pSeries specific table_group_ops are sitting in the generic powerpc
file. Move it to where it actually belong(pseries/iommu.c).

The functions are currently defined even for CONFIG_PPC_POWERNV
which are unused on PowerNV.

Only code movement, no functional changes intended.

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/171923269701.1397.15758640002786937132.stgit@linux.ibm.com
arch/powerpc/include/asm/iommu.h
arch/powerpc/kernel/iommu.c
arch/powerpc/platforms/pseries/iommu.c