Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755032Ab1E2VRJ (ORCPT ); Sun, 29 May 2011 17:17:09 -0400 Received: from smtp-out.google.com ([216.239.44.51]:59288 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752726Ab1E2VRH (ORCPT ); Sun, 29 May 2011 17:17:07 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; b=B90ZPzpmjJ8qx20MIBTzfAX2ImujPOV4kQqL8pQIz/7diqommsQIZ6zmOpFsaDdjoh c9cxS2FmQSE9+6aF0zQA== Date: Sun, 29 May 2011 14:17:02 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Dmitry Eremin-Solenikov cc: Nicolas Pitre , Russell King , linux-arm-kernel , linux-kernel , Eric Miao , Samuel Ortiz Subject: Re: IrDA driver fails on PXA255 In-Reply-To: Message-ID: References: <20110528205701.GA1788@doriath.ww600.siemens.net> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 966 Lines: 19 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. 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. Then, we should try to fix up the Kconfig entries for drivers requiring DMA allocations to select CONFIG_ZONE_DMA or fix defconfigs when DMA is known to be needed for a device. -- 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/