Message ID | 1371707384-30037-2-git-send-email-hdoyu@nvidia.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDOIBI5F3EBRBGNQRKHAKGQE5H57HKI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 100CC25C6D for <linaro@patches.linaro.org>; Thu, 20 Jun 2013 05:50:18 +0000 (UTC) Received: by mail-lb0-f199.google.com with SMTP id z5sf5806664lbh.2 for <linaro@patches.linaro.org>; Wed, 19 Jun 2013 22:50:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to :x-pgp-universal:from:to:date:message-id:x-mailer:in-reply-to :references:mime-version:cc:subject:x-beenthere:x-mailman-version :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:errors-to:sender:x-gm-message-state :x-original-sender:x-original-authentication-results:mailing-list :x-google-group-id:content-type:content-transfer-encoding; bh=UqrhDOu7IZJ7M11izD3w1asfUhnXyg9ZnO6p6PMjUNA=; b=BtAcG90GJ8rQrX3Yc253S79sQowJhPoBreuYaRV7a4yTh4I/P7G7YLPXERKcBY6cZF MyfKi2IH09oAk/GoetK5T0mGCuqVI0qrib7YSBkYVDi4L5D4z9XyoztTKXpHxbPDkhHY XKsH6YuFLhO7WTpS0uqPuRnH05TosC5haMpBWmvThGygxRilj4J7bOs77ldAOHABy7v6 32EnzSwGA0UR4GhdpvpagpHp9vf0YuIAoXZ5Vxrb9JeB726Uksht1j160xNpCxzhsaup P6iT4J78SERAY7Z2TllBUZCuGgzZOYZsAbELkXDs8ACLYHoyV2Dtf25NlQEImnLCTwJE mc9A== X-Received: by 10.180.9.170 with SMTP id a10mr7533652wib.6.1371707417400; Wed, 19 Jun 2013 22:50:17 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.211.169 with SMTP id nd9ls53029wic.1.canary; Wed, 19 Jun 2013 22:50:16 -0700 (PDT) X-Received: by 10.194.108.6 with SMTP id hg6mr4603674wjb.50.1371707416943; Wed, 19 Jun 2013 22:50:16 -0700 (PDT) Received: from mail-ve0-x233.google.com (mail-ve0-x233.google.com [2607:f8b0:400c:c01::233]) by mx.google.com with ESMTPS id ma9si2274894wjb.94.2013.06.19.22.50.16 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Jun 2013 22:50:16 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::233 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::233; Received: by mail-ve0-f179.google.com with SMTP id d10so4715825vea.38 for <patchwork-forward@linaro.org>; Wed, 19 Jun 2013 22:50:15 -0700 (PDT) X-Received: by 10.220.105.9 with SMTP id r9mr1928410vco.60.1371707415825; Wed, 19 Jun 2013 22:50:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp8235veb; Wed, 19 Jun 2013 22:50:15 -0700 (PDT) X-Received: by 10.180.91.131 with SMTP id ce3mr4265329wib.55.1371707414427; Wed, 19 Jun 2013 22:50:14 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id r2si11016173wjy.70.2013.06.19.22.50.13 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 19 Jun 2013 22:50:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <linaro-mm-sig-bounces@lists.linaro.org>) id 1UpXkv-0002Aq-Qx; Thu, 20 Jun 2013 05:50:01 +0000 Received: from hqemgate04.nvidia.com ([216.228.121.35]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <hdoyu@nvidia.com>) id 1UpXku-0002AU-DR for linaro-mm-sig@lists.linaro.org; Thu, 20 Jun 2013 05:50:00 +0000 Received: from hqnvupgp07.nvidia.com (Not Verified[216.228.121.13]) by hqemgate04.nvidia.com id <B51c298130000>; Wed, 19 Jun 2013 22:50:11 -0700 Received: from hqemhub03.nvidia.com ([172.20.12.94]) by hqnvupgp07.nvidia.com (PGP Universal service); Wed, 19 Jun 2013 22:48:18 -0700 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Wed, 19 Jun 2013 22:48:18 -0700 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQEMHUB03.nvidia.com (172.20.150.15) with Microsoft SMTP Server id 8.3.298.1; Wed, 19 Jun 2013 22:49:56 -0700 Received: from thelma.nvidia.com (Not Verified[172.16.212.77]) by hqnvemgw01.nvidia.com with MailMarshal (v7,1,2,5326) id <B51c298030002>; Wed, 19 Jun 2013 22:49:55 -0700 Received: from oreo.Nvidia.com (dhcp-10-21-26-134.nvidia.com [10.21.26.134]) by thelma.nvidia.com (8.13.8+Sun/8.8.8) with ESMTP id r5K5nodb013397; Wed, 19 Jun 2013 22:49:54 -0700 (PDT) From: Hiroshi Doyu <hdoyu@nvidia.com> To: <iommu@lists.linux-foundation.org>, <m.szyprowski@samsung.com> Date: Thu, 20 Jun 2013 08:49:42 +0300 Message-ID: <1371707384-30037-2-git-send-email-hdoyu@nvidia.com> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1371707384-30037-1-git-send-email-hdoyu@nvidia.com> References: <1371707384-30037-1-git-send-email-hdoyu@nvidia.com> MIME-Version: 1.0 Cc: linux-tegra@vger.kernel.org, linaro-mm-sig@lists.linaro.org, linux-arm-kernel@lists.infradead.org Subject: [Linaro-mm-sig] [RFC 1/3] common: DMA-mapping: add DMA_ATTR_READ_ONLY attribute X-BeenThere: linaro-mm-sig@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/linaro-mm-sig>, <mailto:linaro-mm-sig-request@lists.linaro.org?subject=subscribe> Errors-To: linaro-mm-sig-bounces@lists.linaro.org Sender: linaro-mm-sig-bounces@lists.linaro.org X-Gm-Message-State: ALoCoQnRfAxM/PMx9fV2vLEG6B4Gzpf3ZXhDMnwIbLYdW1wXON3RNEjoiu2P40neMUYWcSrhec+i X-Original-Sender: hdoyu@nvidia.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::233 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/include/linux/dma-attrs.h b/include/linux/dma-attrs.h index f272809..5d7371c 100644 --- a/include/linux/dma-attrs.h +++ b/include/linux/dma-attrs.h @@ -18,6 +18,7 @@ enum dma_attr { DMA_ATTR_NO_KERNEL_MAPPING, DMA_ATTR_SKIP_CPU_SYNC, DMA_ATTR_SKIP_FREE_IOVA, + DMA_ATTR_READ_ONLY, DMA_ATTR_MAX, };
This patch adds DMA_ATTR_READ_ONLY attribute to the DMA-mapping subsystem. This sets mapping attribute read-only. Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com> --- include/linux/dma-attrs.h | 1 + 1 file changed, 1 insertion(+)