Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1457281

Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for mpc85xx_edac

From Scott Wood <oss@buserror.net>
Newsgroups linux.kernel
Subject Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for mpc85xx_edac
Date 2016-08-05 23:20 +0200
Message-ID <s2UH7-4uj-5@gated-at.bofh.it> (permalink)
References <s2Ap4-8cT-7@gated-at.bofh.it> <s2Ap4-8cT-9@gated-at.bofh.it> <s2EiZ-2cn-1@gated-at.bofh.it> <s2UH7-4uj-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 2016-08-05 at 20:29 +0000, york sun wrote:
> On 08/04/2016 08:43 PM, Michael Ellerman wrote:
> > 
> > Does the driver really need to use these routines? They're meant for use
> > early in boot, before PCI is setup.
> > 
> > AFAICS this is just a regular driver, so when it's probed the PCI
> > devices should have already been scanned. In which case pci_get_device()
> > could work couldn't it? (I see other edac drivers doing that).
> I am trying to fix this but need some help. We are dealing with PCIe 
> controller here. Does it have a bus number assigned at this point? If 
> yes, how can I find it? I seem not able to find out where the 
> platform_data is filled as well. Can someone kindly point it out to me?


The platform data comes from add_err_dev() in arch/powerpc/sysdev/fsl_pci.c.

-Scott

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for mpc85xx_edac Michael Ellerman <mpe@ellerman.id.au> - 2016-08-05 05:50 +0200
  Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for  mpc85xx_edac Borislav Petkov <bp@alien8.de> - 2016-08-05 09:10 +0200
    Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for  mpc85xx_edac Johannes Thumshirn <jthumshirn@suse.de> - 2016-08-05 09:20 +0200
    Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for  mpc85xx_edac york sun <york.sun@nxp.com> - 2016-08-08 19:30 +0200
  Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for  mpc85xx_edac york sun <york.sun@nxp.com> - 2016-08-05 23:10 +0200
  Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for  mpc85xx_edac Scott Wood <oss@buserror.net> - 2016-08-05 23:20 +0200
    Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for  mpc85xx_edac Scott Wood <oss@buserror.net> - 2016-08-06 00:00 +0200
    Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for  mpc85xx_edac york sun <york.sun@nxp.com> - 2016-08-06 00:00 +0200
  Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for  mpc85xx_edac york sun <york.sun@nxp.com> - 2016-08-06 22:20 +0200

csiph-web