Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756915Ab1FAPuu (ORCPT ); Wed, 1 Jun 2011 11:50:50 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:52078 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755411Ab1FAPus (ORCPT ); Wed, 1 Jun 2011 11:50:48 -0400 Date: Wed, 1 Jun 2011 16:50:16 +0100 From: Russell King - ARM Linux To: David Rientjes Cc: Nicolas Pitre , Samuel Ortiz , Eric Miao , Dmitry Eremin-Solenikov , linux-kernel , Andrew Morton , linux-arm-kernel Subject: Re: IrDA driver fails on PXA255 Message-ID: <20110601155016.GM3660@n2100.arm.linux.org.uk> References: <20110529215656.GA5576@n2100.arm.linux.org.uk> <20110531072650.GC21382@n2100.arm.linux.org.uk> <20110531210027.GA3660@n2100.arm.linux.org.uk> <20110601075420.GB3660@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110601075420.GB3660@n2100.arm.linux.org.uk> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1284 Lines: 25 On Wed, Jun 01, 2011 at 08:54:20AM +0100, Russell King - ARM Linux wrote: > On Tue, May 31, 2011 at 03:11:40PM -0700, David Rientjes wrote: > > The restriction isn't new: GFP_DMA only makes sense with CONFIG_ZONE_DMA. > > The fact that the page allocator completely ignored GFP_DMA in the past > > for CONFIG_ZONE_DMA=n doesn't change that. That's obviously error prone > > since it will return memory from anywhere simply because of the fact that > > it is an invalid configuration. > > Your approach to this is wrong. Make it warn for one release. Give > people a chance to fix things before they become a regression. Then > make it a hard failure. And to prove that its not just this driver, I've now received a report that it fails with the CF PATA driver on Zaurus. Should we make the PATA subsystem select CONFIG_ZONE_DMA too, or should we give people some grace period to fix the drivers as _everyone_ except you is suggesting. Please do the sensible thing. Make it warn for a release like everyone is telling you to. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/