ixp4xx eth broken in 3.7.0/3.8-rc5?
Mikael Pettersson
mikpe at it.uu.se
Tue Jan 29 19:11:08 EST 2013
Mikael Pettersson writes:
> When I try to update my ixp4xx machine to a 3.8-rc5 kernel it boots
> Ok but the network (CONFIG_IXP4XX_ETH=y) fails to come up, with the
> following in the kernel log:
>
> net eth0: coherent DMA mask is unset
>
> With a 3.7.0 kernel the situation is similar, except that the "net
> eth0: coherent DMA mask is unset" message repeats itself endlessly
> and I can't even get in on the serial console.
>
> With the 3.6.0 kernel everything works perfectly.
A git bisect identified the following as the culprit:
> From 1a4901177574083c35fafc24c4d151c2a7c7647c Mon Sep 17 00:00:00 2001
> From: Xi Wang <xi.wang at gmail.com>
> Date: Sat, 17 Nov 2012 20:25:09 +0000
> Subject: [PATCH] ixp4xx_eth: avoid calling dma_pool_create() with NULL dev
>
> Use &port->netdev->dev instead of NULL since dma_pool_create() doesn't
> allow NULL dev.
>
> Signed-off-by: Xi Wang <xi.wang at gmail.com>
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Signed-off-by: David S. Miller <davem at davemloft.net>
> ---
> drivers/net/ethernet/xscale/ixp4xx_eth.c | 8 +++++---
> 1 files changed, 5 insertions(+), 3 deletions(-)
Reverting this unbreaks ixp4xx_eth on my ixp4xx machine with kernels
3.7.0 and 3.8-rc5.
(Added cc: author and netdev.)
/Mikael
More information about the linux-arm-kernel
mailing list