public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: khc@pm.waw.pl (Krzysztof Halasa)
To: linux-arm-kernel@lists.infradead.org
Subject: ixp4xx eth broken in 3.7.0/3.8-rc5?
Date: Sun, 10 Feb 2013 20:06:36 +0100	[thread overview]
Message-ID: <m34nhk9ef7.fsf@intrepid.localdomain> (raw)
In-Reply-To: <20744.9777.937924.822371@pilspetsen.it.uu.se> (Mikael Pettersson's message of "Tue, 29 Jan 2013 20:42:41 +0100")

Mikael Pettersson <mikpe@it.uu.se> 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.

I haven't yet tried the Ethernet driver but it seems my IXP425 box
doesn't like this while mounting a disk (PCI CS3356-based IDE CF card).

commit e9da6e9905e639b0f842a244bc770b48ad0523e9
Author: Marek Szyprowski <m.szyprowski@samsung.com>
Date:   Mon Jul 30 09:11:33 2012 +0200

    ARM: dma-mapping: remove custom consistent dma region

    This patch changes dma-mapping subsystem to use generic vmalloc areas
    for all consistent dma allocations. This increases the total size limit
    of the consistent allocations and removes platform hacks and a lot of
    duplicated code.

    Atomic allocations are served from special pool preallocated on boot,
    because vmalloc areas cannot be reliably created in atomic context.

This is post-3.5, pre-3.6. Could be a bug in some (not yet upstream)
support code, checking. I wouldn't even mention this except for it
touches this same coherent alloc thing.
-- 
Krzysztof Halasa

  parent reply	other threads:[~2013-02-10 19:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-29 19:42 ixp4xx eth broken in 3.7.0/3.8-rc5? Mikael Pettersson
2013-01-30  0:11 ` Mikael Pettersson
2013-01-30  0:32   ` Xi Wang
2013-01-30  1:34     ` Ben Hutchings
2013-01-30 10:11       ` Mikael Pettersson
2013-01-30 20:50         ` Mikael Pettersson
2013-01-31 21:54   ` Krzysztof Halasa
2013-02-10 19:06 ` Krzysztof Halasa [this message]
     [not found]   ` <m3a9r2d5md.fsf_-_@intrepid.localdomain>
2013-02-18  9:08     ` ARM coherent allocs, Was: " Mikael Pettersson
2013-02-18  9:59       ` Russell King - ARM Linux
2013-02-18 20:30       ` Krzysztof Halasa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m34nhk9ef7.fsf@intrepid.localdomain \
    --to=khc@pm.waw.pl \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox