Messages in this thread | | | Date | Wed, 9 Dec 2015 17:03:02 +0100 | From | Borislav Petkov <> | Subject | Re: Crash caused by "EDAC: Rip out the edac_subsys reference counting" (was Re: linux-next: Tree for Dec 8) |
| |
On Wed, Dec 09, 2015 at 12:17:47PM +0100, Borislav Petkov wrote: > On Wed, Dec 09, 2015 at 09:32:47PM +1100, Michael Ellerman wrote: > > Presumably caused by the fact that edac_init() is subsys_initcall(), whereas > > corenet_gen_publish_devices() is arch_initcall(). > > Thanks for the report! > > Hmm, interesting, can you send .config please? > > I need to fix this dependency properly - edac_core needs to have > finished loaded *before* any other EDAC driver loads. Every other order > is wrong.
Yeah, see Johannes' patch.
Btw, calling a driver's probe function from outside the driver is a new low in driver design. Tztztz...
-- Regards/Gruss, Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --
| |