On Tue, Jan 29, 2013 at 09:41:43AM +0100, Thomas Petazzoni wrote: > On Mon, 28 Jan 2013 15:21:45 -0700, Stephen Warren wrote: [...] > > > +static int mvebu_pcie_init(void) > > > +{ > > > + return platform_driver_probe(&mvebu_pcie_driver, > > > + mvebu_pcie_probe); > > > +} > > > + > > > +subsys_initcall(mvebu_pcie_init); > > > > Why isn't that just platform_driver_register()? > > I didn't test recently, but with my first version of the patch set, > having an initialization as late as module_init() was too late. Some > PCI fixup code was being executed *before* we get the opportunity of > initializing the PCI driver, and it was crashing the kernel. I can > provide more details if you want. Does this patch perhaps fix this crash? http://patchwork.ozlabs.org/patch/210870/ Thierry
Attachment:
pgpjv0fJszyWz.pgp
Description: PGP signature