Message ID | 1336812102-9975-1-git-send-email-abhinav.k@samsung.com |
---|---|
State | New |
Headers | show
Return-Path: <patch+caf_=linaro-patchwork=canonical.com@linaro.org> 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 BC83123E49 for <patchwork@peony.canonical.com>; Mon, 14 May 2012 10:52:08 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 7620EA1851D for <linaro-patchwork@canonical.com>; Mon, 14 May 2012 10:52:08 +0000 (UTC) Received: by yhpp61 with SMTP id p61so5149028yhp.11 for <linaro-patchwork@canonical.com>; Mon, 14 May 2012 03:52:07 -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 :x-mailman-approved-at: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=6O4oYe/mElw1VZ2e7xA+zLMzpwHC9cWczQdGzr965tw=; b=ROj5bLslzDJWtNZUZWT6B/f8ff4FaXRBnwWo1GnRy7imVoMp7mEBEAYQ3s5iFroKal d+ET3VVqll8spt3MEoW7YpiNKWwC+SXDsZYI3SeCdONqhktJcqfyCljE/EtFrtUs8N3F sz2r8seWfXIusBo0U3ykbKLnes95wDory07xVJaW0d69+dV0RyjG7FdQCu6yRSEP8yXs xBx1J46ySoDXr0kR5wzG+PZ5fKtpcmyQTxpioz2JTibvZKuPqzr+dyRCJVeNNXG56SXT O10uGpbYWq5qY9v+BeYpQLT2tojxYnYU0jgvkQY8OY4ZZS6yCLHIXpm9W465QIcgypM2 z36w== Received: by 10.50.40.193 with SMTP id z1mr3969765igk.0.1336992727256; Mon, 14 May 2012 03:52:07 -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.231.35.72 with SMTP id o8csp334126ibd; Mon, 14 May 2012 03:52:06 -0700 (PDT) Received: by 10.180.74.193 with SMTP id w1mr18807405wiv.4.1336992725914; Mon, 14 May 2012 03:52:05 -0700 (PDT) Received: from mombin.canonical.com (mombin.canonical.com. [91.189.95.16]) by mx.google.com with ESMTP id a59si16198109wel.126.2012.05.14.03.52.04; Mon, 14 May 2012 03:52:05 -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 <linaro-mm-sig-bounces@lists.linaro.org>) id 1STssj-0004wd-Gf; Mon, 14 May 2012 10:52:01 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from <abhinav.k@samsung.com>) id 1ST7gP-0001PU-Sr for linaro-mm-sig@lists.linaro.org; Sat, 12 May 2012 08:28:10 +0000 Received: from epcpsbgm1.samsung.com (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M3W00701I6TVQC0@mailout3.samsung.com> for linaro-mm-sig@lists.linaro.org; Sat, 12 May 2012 17:28:05 +0900 (KST) X-AuditID: cbfee61a-b7bbeae000003a71-80-4fae1f157bc8 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (MMPCPMTA) with SMTP id FB.33.14961.51F1EAF4; Sat, 12 May 2012 17:28:05 +0900 (KST) Received: from localhost.localdomain ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M3W0048DI6PQ430@mmp1.samsung.com> for linaro-mm-sig@lists.linaro.org; Sat, 12 May 2012 17:28:05 +0900 (KST) From: Abhinav <abhinav.k@samsung.com> To: m.szyprowski@samsung.com Date: Sat, 12 May 2012 14:11:42 +0530 Message-id: <1336812102-9975-1-git-send-email-abhinav.k@samsung.com> X-Mailer: git-send-email 1.7.0.4 X-Brightmail-Tracker: AAAAAA== X-TM-AS-MML: No X-Mailman-Approved-At: Mon, 14 May 2012 10:52:01 +0000 Cc: linaro-mm-sig@lists.linaro.org, kyungmin.park@samsung.com, abhinav.k@samsung.com, subash.rp@samsung.com Subject: [Linaro-mm-sig] [PATCH 1/3] [RFC]:DMA-MAPPING:Add a new DMA attribute to avoid Kernel virtual memory allocation X-BeenThere: linaro-mm-sig@lists.linaro.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Unified memory management interest group." <linaro-mm-sig.lists.linaro.org> List-Unsubscribe: <http://lists.linaro.org/mailman/options/linaro-mm-sig>, <mailto:linaro-mm-sig-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/linaro-mm-sig> List-Post: <mailto:linaro-mm-sig@lists.linaro.org> List-Help: <mailto:linaro-mm-sig-request@lists.linaro.org?subject=help> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/linaro-mm-sig>, <mailto:linaro-mm-sig-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: linaro-mm-sig-bounces@lists.linaro.org Errors-To: linaro-mm-sig-bounces@lists.linaro.org X-Gm-Message-State: ALoCoQnaXzC7/UUlEaZxu9eN4HEDIWiDHhPIn/LrbhH2Lvs2mTFgeZajrzsK0m+SDiK5saXOpuKM |
diff --git a/include/linux/dma-attrs.h b/include/linux/dma-attrs.h index 547ab56..861df09 100644 --- a/include/linux/dma-attrs.h +++ b/include/linux/dma-attrs.h @@ -15,6 +15,7 @@ enum dma_attr { DMA_ATTR_WEAK_ORDERING, DMA_ATTR_WRITE_COMBINE, DMA_ATTR_NON_CONSISTENT, + DMA_ATTR_USER_SPACE, DMA_ATTR_MAX, };
This dma attribute can be used to pass to the iommu ops of dma-mapping framework to differentiate between kernel and user space allocations. Signed-off-by: Abhinav <abhinav.k@samsung.com> --- include/linux/dma-attrs.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) -- 1.7.0.4