mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: David Rientjes <rientjes@google.com>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
	Nicolas Pitre <nicolas.pitre@linaro.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Eric Miao <eric.y.miao@gmail.com>,
	Samuel Ortiz <samuel@sortiz.org>
Subject: Re: IrDA driver fails on PXA255
Date: Tue, 31 May 2011 08:26:50 +0100	[thread overview]
Message-ID: <20110531072650.GC21382@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <alpine.DEB.2.00.1105302202510.18793@chino.kir.corp.google.com>

On Mon, May 30, 2011 at 10:05:38PM -0700, David Rientjes wrote:
> On Sun, 29 May 2011, Russell King - ARM Linux wrote:
> > 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.
> > 
> 
> I haven't seen a "load" of error reports where this is causing an issue, 
> maybe it is much more popular on arm?
> 
> This also isn't a hard error, admins should be able to enable 
> CONFIG_ZONE_DMA and rebuild so that the driver being loaded can get the 
> type of memory it is requesting.  Just putting a WARN_ON() doesn't provide 
> any incentive to ever get this stuff fixed.

I completely and violently disagree with your approach on this, and I'll
continue to state that I believe you are wrong until you change your
position.

Enabling CONFIG_ZONE_DMA is not a fix, it's making the problem vanish off
the radar.  It will mean that the drivers using GFP_DMA will never get
fixed up.

I don't care whether you say "it's easy enough to audit the source code" -
who's going to do that work?  If you make the problem go away the answer
to that will be NO ONE.

Change it to be a soft WARN_ON for one release.  Anything else will just
result in the problem being IGNORED.

  reply	other threads:[~2011-05-31  7:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-28 20:57 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
2011-05-31  5:05         ` David Rientjes
2011-05-31  7:26           ` Russell King - ARM Linux [this message]
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=20110531072650.GC21382@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=dbaryshkov@gmail.com \
    --cc=eric.y.miao@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nicolas.pitre@linaro.org \
    --cc=rientjes@google.com \
    --cc=samuel@sortiz.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

Powered by JetHome