linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: IrDA driver fails on PXA255
Date: Sun, 29 May 2011 22:56:56 +0100	[thread overview]
Message-ID: <20110529215656.GA5576@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <alpine.DEB.2.00.1105291410450.9658@chino.kir.corp.google.com>

On Sun, May 29, 2011 at 02:17:02PM -0700, David Rientjes wrote:
> On Sun, 29 May 2011, Dmitry Eremin-Solenikov wrote:
> 
> > What about changing your patch for less intrusive one (to emit a
> > WARN_ON) for at least one
> > or two major releases and only then changing it back to the current state?
> > 
> 
> That would return memory that is not guaranteed to be within the first 
> 16MB of address space, so a GFP_DMA allocation would succeed with memory 
> not from ZONE_DMA.

Err, no. GFP_DMA returns memory in a zone which the platform has setup.
There's nothing specific about it being "16MB" or any other size; the
arch can chose what size that is.

> That's an invalid configuration, so users, including 
> you, should at least edit their .config by hand to enable CONFIG_ZONE_DMA 
> as a workaround.

Again, no.  This change has caused a load of previously working drivers
to suddenly start failing without _any_ explanation why or even warning
about the change.  It needs to start off as a WARN_ON() so that stuff
can be fixed, and then changed to a hard error.

  parent reply	other threads:[~2011-05-29 21:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-28 20:57 IrDA driver fails on PXA255 Dmitry Eremin-Solenikov
2011-05-28 23:34 ` David Rientjes
2011-05-28 23:46   ` Russell King - ARM Linux
2011-05-29  2:22     ` David Rientjes
2011-05-29  7:25       ` Russell King - ARM Linux
2011-05-29 21:19         ` David Rientjes
2011-05-29 21:58           ` Russell King - ARM Linux
2011-05-31  5:01             ` David Rientjes
2011-05-29  8:36   ` Dmitry Eremin-Solenikov
2011-05-29 21:17     ` David Rientjes
2011-05-29 21:33       ` Dmitry Eremin-Solenikov
2011-05-29 21:56       ` Russell King - ARM Linux [this message]
2011-05-31  5:05         ` David Rientjes
2011-05-31  7:26           ` Russell King - ARM Linux
2011-05-31 20:03             ` David Rientjes
2011-05-31 21:00               ` Russell King - ARM Linux
2011-05-31 22:11                 ` David Rientjes
2011-06-01  7:54                   ` Russell King - ARM Linux
2011-06-01 15:50                     ` Russell King - ARM Linux

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=20110529215656.GA5576@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --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;
as well as URLs for NNTP newsgroup(s).