Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751903Ab1E2HZn (ORCPT ); Sun, 29 May 2011 03:25:43 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:53725 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870Ab1E2HZm (ORCPT ); Sun, 29 May 2011 03:25:42 -0400 Date: Sun, 29 May 2011 08:25:16 +0100 From: Russell King - ARM Linux To: David Rientjes Cc: Dmitry Eremin-Solenikov , Nicolas Pitre , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Eric Miao , Samuel Ortiz Subject: Re: IrDA driver fails on PXA255 Message-ID: <20110529072516.GW24876@n2100.arm.linux.org.uk> References: <20110528205701.GA1788@doriath.ww600.siemens.net> <20110528234614.GV24876@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: 576 Lines: 13 On Sat, May 28, 2011 at 07:22:44PM -0700, David Rientjes wrote: > arm, pxa2xx: enable DMA support for pxa2xx IRDA interface > > The pxa2xx-ir driver allocates with GFP_DMA, so it must always have > ZONE_DMA. Wrong way. If there's no restrictions, drivers shouldn't be using GFP_DMA. For the majority of SoCs, that's the case. -- 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/