From patchwork Mon Aug 20 06:16:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10795 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 3DF0B23E41 for ; Mon, 20 Aug 2012 06:16:56 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id E6762A187F0 for ; Mon, 20 Aug 2012 06:16:50 +0000 (UTC) Received: by ghbg10 with SMTP id g10so5118353ghb.11 for ; Sun, 19 Aug 2012 23:16:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:x-auditid :from:to:date:message-id:x-mailer:x-brightmail-tracker:x-tm-as-mml :cc:subject:x-beenthere:x-mailman-version:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:sender :errors-to:x-gm-message-state; bh=rNGyF7HqG8CCahQfZgdqCxlHmJaHrqQGifYC5JN98xQ=; b=p42S71twvlvvhV4V3LHjjqbI53DVPCttmj9QVWAX1xAGftUqB8HJDjgGyYG2wAJfOr +S4kXvHNoNudKg9yrl6dX0WydA2LjjMPXqAz4l7plXXUgZea9RvNBF9MvylH8cajA+WR s1T1r49cJaDC24aPnwXXpo5X/yrKM7cyRl1JWER7FTEHYjlvM0Z36XYVmkSFI1hvgxPq W5LkSjj7p2jhtSUQjCrtvMVcd3bPc1Qbr5WOu2bpzA/QmdqX15eSWvMvPZHQb7rQuW4W 5oQHlRs9BpgahtkVodiSwCYofwxBZzpWdddFEqdjQ6Ua9u28y525z40EgPnxYM+nN+dy T61A== Received: by 10.50.187.138 with SMTP id fs10mr8694025igc.43.1345443414666; Sun, 19 Aug 2012 23:16:54 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp64842igc; Sun, 19 Aug 2012 23:16:53 -0700 (PDT) Received: by 10.180.100.133 with SMTP id ey5mr4139521wib.4.1345443413131; Sun, 19 Aug 2012 23:16:53 -0700 (PDT) Received: from mombin.canonical.com (mombin.canonical.com. [91.189.95.16]) by mx.google.com with ESMTP id gz8si30927023wib.15.2012.08.19.23.16.51; Sun, 19 Aug 2012 23:16:53 -0700 (PDT) Received-SPF: neutral (google.com: 91.189.95.16 is neither permitted nor denied by best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org) client-ip=91.189.95.16; Authentication-Results: mx.google.com; spf=neutral (google.com: 91.189.95.16 is neither permitted nor denied by best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org) smtp.mail=linaro-mm-sig-bounces@lists.linaro.org Received: from localhost ([127.0.0.1] helo=mombin.canonical.com) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1T3LI8-0004H0-9P; Mon, 20 Aug 2012 06:16:48 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1T3LI6-0004GK-KF for linaro-mm-sig@lists.linaro.org; Mon, 20 Aug 2012 06:16:46 +0000 Received: from epcpsbgm2.samsung.com (mailout1.samsung.com [203.254.224.24]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M9100FEEINYP8C0@mailout1.samsung.com> for linaro-mm-sig@lists.linaro.org; Mon, 20 Aug 2012 15:16:41 +0900 (KST) X-AuditID: cbfee61b-b7faf6d00000476a-03-5031d6496505 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 40.72.18282.946D1305; Mon, 20 Aug 2012 15:16:41 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M9100IQDIRKV460@mmp2.samsung.com> for linaro-mm-sig@lists.linaro.org; Mon, 20 Aug 2012 15:16:41 +0900 (KST) From: Marek Szyprowski To: linux-arm-kernel@lists.infradead.org, linaro-mm-sig@lists.linaro.org Date: Mon, 20 Aug 2012 08:16:12 +0200 Message-id: <1345443372-3824-1-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.7.10 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNJMWRmVeSWpSXmKPExsVy+t9jQV3Pa4YBBju7pCy+XHnI5MDocfvf Y+YAxigum5TUnMyy1CJ9uwSujN9bNjMWHGGv+HmmgaWBcQ5bFyMnh4SAiUTr06usELaYxIV7 64HiXBxCAtMZJQ61XoRy1jJJTH23AayKTcBQouttF1i3iICHxJMV55hBipgF7jFKnLpxAKxI WCBKYu20texdjBwcLAKqEoeXsYCEeQXcJdb2foPaLC/x9H4f2wRG7gWMDKsYRVMLkguKk9Jz jfSKE3OLS/PS9ZLzczcxgr34THoH46oGi0OMAhyMSjy8hVMNA4RYE8uKK3MPMUpwMCuJ8Moc BQrxpiRWVqUW5ccXleakFh9ilOZgURLn5e8DSgmkJ5akZqemFqQWwWSZODilGhhZRFcfldZO v18Y+vhSYdu9eJFjUd3nHi3d7zP10IHUAL42WcnN25ryKic8/SfNfu+Y363E82UJWy9LH/m3 33lRY8beiZcnKfJwT86etjxx44kTHJnXpad8shI8+lLT9Wzn0SLDP1Ocq0+3LnnJdm1nwqqd m45dZup+nsr7fu6vE0ucjG5e6PI6oMRSnJFoqMVcVJwIACK7cJbeAQAA X-TM-AS-MML: No Cc: Kyungmin Park , Russell King - ARM Linux , Prabhakar Lad , Arnd Bergmann Subject: [Linaro-mm-sig] [PATCH] ARM: relax conditions required for enabling Contiguous Memory Allocator X-BeenThere: linaro-mm-sig@lists.linaro.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Unified memory management interest group." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linaro-mm-sig-bounces@lists.linaro.org Errors-To: linaro-mm-sig-bounces@lists.linaro.org X-Gm-Message-State: ALoCoQnU77L7uFqNRTvRlehd7PgxY1yb+jarcUPR1+84gdNLF69ybnaCAoyTY9Icby68K+iTPHKc Contiguous Memory Allocator requires only paging and MMU enabled not particular CPU architectures, so there is no need for strict dependency on CPU type. This enables to use CMA on some older ARM v5 systems which also might need large contiguous blocks for the multimedia processing hw modules. Reported-by: Prabhakar Lad Signed-off-by: Marek Szyprowski --- arch/arm/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e91c7cd..6ef75e2 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -6,7 +6,7 @@ config ARM select HAVE_DMA_API_DEBUG select HAVE_IDE if PCI || ISA || PCMCIA select HAVE_DMA_ATTRS - select HAVE_DMA_CONTIGUOUS if (CPU_V6 || CPU_V6K || CPU_V7) + select HAVE_DMA_CONTIGUOUS if MMU select HAVE_MEMBLOCK select RTC_LIB select SYS_SUPPORTS_APM_EMULATION