[PATCH v2] net/fec_mpc52xx: Fix kernel panic on FEC error
David Miller
davem at davemloft.net
Thu Oct 15 09:10:25 EST 2009
From: Grant Likely <grant.likely at secretlab.ca>
Date: Wed, 14 Oct 2009 11:43:43 -0600
> From: John Bonesio <bones at secretlab.ca>
>
> The MDIO bus cannot be accessed at interrupt context, but on an FEC
> error, the fec_mpc52xx driver reset function also tries to reset the
> PHY. Since the error is detected at IRQ context, and the PHY functions
> try to sleep, the kernel ends up panicking.
>
> Resetting the PHY on an FEC error isn't even necessary. This patch
> solves the problem by removing the PHY reset entirely.
>
> Signed-off-by: John Bonesio <bones at secretlab.ca>
> Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
Applied, thanks.
More information about the Linuxppc-dev
mailing list