Re: [linuxppc-dev][PATCH] powerpc/fsl_pci: Store the pci controller device pointer in the pci controller structure.
From: Kumar Gala <hidden>
Date: 2013-02-15 20:14:27
From: Kumar Gala <hidden>
Date: 2013-02-15 20:14:27
On Jan 14, 2013, at 5:28 AM, Varun Sethi wrote:
The pci controller structure has a provision to store the device =
strcuture
pointer of the corresponding platform device. Currently this =
information is
not stored during fsl pci controller initialization. This information =
is
required while dealing with iommu groups for pci devices connected to =
the fsl
pci controller. For the case where the pci devices can't be =
paritioned, they=20
would fall under the same device group as the pci controller. =20 This patch stores the platform device information in the pci =
controller
structure during initialization. =20 Signed-off-by: Varun Sethi <redacted> --- arch/powerpc/sysdev/fsl_pci.c | 9 +++++++-- arch/powerpc/sysdev/fsl_pci.h | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-)
applied to next - k=