From: Alexey Brodkin <[email protected]> Date: Tue, 3 Mar 2015 13:46:44 +0300
> Currently we're getting IRQs after lots of resources are already > allocated: > * netdev > * clocks > * MDIO bus > Also HW gets initialized by the time when checking IRQs as well. > > Now there's a possibility for master interrupt controller to be not > probed yet. This will lead to exit from GMAC probe routine with "- > EPROBE_DEFER" and so deferred probe will hapen later on. > > But since we exited the first GMAC probe without release of all > allocated resources there could be conflicts on subsequent probes. > > For example this is what happens for me: ... > Essential fix is to check for IRQs availability as early as possible and > then safely go to deferred probe if IRQs are not there yet. > > Signed-off-by: Alexey Brodkin <[email protected]> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

