From patchwork Thu Nov 13 07:45:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankit Jindal X-Patchwork-Id: 40710 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B644F240ED for ; Thu, 13 Nov 2014 07:47:32 +0000 (UTC) Received: by mail-la0-f70.google.com with SMTP id ge10sf8681362lab.1 for ; Wed, 12 Nov 2014 23:47:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Xis6OL9E//6i7kiJBbvtBGbSVRrBqm6jqCHG17K4Clw=; b=UWHSxl3zGUmH0NSYA1SrDXpPiNPrf/BmUdlf54+Ab2xuZkeTVJlBB/7PztOunq2yuD Xi6121utuE/9w14VJ0R2hw7HvBpbypQEfbgTrxNREfGYMARLaenHORC7awbfmrLTl9pO QPtNx7m5NwG/zRILfft+nI6oVvm834iri15mkhkit8mJvr8NkDOt/5r0576Qmr1KWmJU cgbHeLXC/RN2uIfPrXlU8FxxO467aTgin1Tg35GbXdpNiDsaRR3jHSrzQXFwn/A0HI2N xQVXSU1Rap/+ak84eb0XEbdKBc6/245mKYsmyWRkYyTCwPPJPp7oDqbTGUOgnzkupGPq DWag== X-Gm-Message-State: ALoCoQkGKIZbjcAltHQLDiyixN9l1Q7ITxZ6WKeDjXyidI6HZn3G22VYXnbFPYUt5n7E+sBOnA1M X-Received: by 10.112.29.52 with SMTP id g20mr3781215lbh.7.1415864851301; Wed, 12 Nov 2014 23:47:31 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.5 with SMTP id f5ls771830lah.62.gmail; Wed, 12 Nov 2014 23:47:31 -0800 (PST) X-Received: by 10.112.148.199 with SMTP id tu7mr759963lbb.7.1415864851028; Wed, 12 Nov 2014 23:47:31 -0800 (PST) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id b6si37253106lae.131.2014.11.12.23.47.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Nov 2014 23:47:31 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by mail-la0-f54.google.com with SMTP id gf13so786438lab.27 for ; Wed, 12 Nov 2014 23:47:30 -0800 (PST) X-Received: by 10.152.42.226 with SMTP id r2mr736789lal.29.1415864850857; Wed, 12 Nov 2014 23:47:30 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp551187lbc; Wed, 12 Nov 2014 23:47:30 -0800 (PST) X-Received: by 10.68.202.104 with SMTP id kh8mr741007pbc.95.1415864848074; Wed, 12 Nov 2014 23:47:28 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ha3si24779438pbc.225.2014.11.12.23.47.27 for ; Wed, 12 Nov 2014 23:47:28 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932133AbaKMHrV (ORCPT + 25 others); Thu, 13 Nov 2014 02:47:21 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:65081 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932093AbaKMHrR (ORCPT ); Thu, 13 Nov 2014 02:47:17 -0500 Received: by mail-pa0-f50.google.com with SMTP id eu11so14902224pac.9 for ; Wed, 12 Nov 2014 23:47:17 -0800 (PST) X-Received: by 10.70.100.199 with SMTP id fa7mr911506pdb.114.1415864837366; Wed, 12 Nov 2014 23:47:17 -0800 (PST) Received: from pnqlab023.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id ev8sm24087271pdb.28.2014.11.12.23.47.12 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Nov 2014 23:47:16 -0800 (PST) From: Ankit Jindal To: linux-kernel@vger.kernel.org Cc: "Hans J. Koch" , Greg Kroah-Hartman , patches@apm.com, linux-arm-kernel@lists.infradead.org, Rob Herring , Tushar Jagad , Russell King - ARM Linux , devicetree@vger.kernel.org, Guenter Roeck , Varka Bhadram , Kumar Gala , Ankit Jindal Subject: [PATCH v4 3/6] Documentation: Update documentation for UIO_MEM_PHYS_CACHE Date: Thu, 13 Nov 2014 13:15:19 +0530 Message-Id: <1415864722-2800-4-git-send-email-ankit.jindal@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1415864722-2800-1-git-send-email-ankit.jindal@linaro.org> References: <1415864722-2800-1-git-send-email-ankit.jindal@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ankit.jindal@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) 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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch updates UIO documentation for new mem region type UIO_MEM_PHYS_CACHE. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- Documentation/DocBook/uio-howto.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/DocBook/uio-howto.tmpl b/Documentation/DocBook/uio-howto.tmpl index bbe9c1f..baa9185 100644 --- a/Documentation/DocBook/uio-howto.tmpl +++ b/Documentation/DocBook/uio-howto.tmpl @@ -529,8 +529,9 @@ the memory region, it will show up in the corresponding sysfs node. int memtype: Required if the mapping is used. Set this to UIO_MEM_PHYS if you you have physical memory on your card to be mapped. Use UIO_MEM_LOGICAL for logical -memory (e.g. allocated with kmalloc()). There's also -UIO_MEM_VIRTUAL for virtual memory. +memory (e.g. allocated with kmalloc()). There are also +UIO_MEM_VIRTUAL for virtual memory, and +UIO_MEM_PHYS_CACHE for cacheable access to physical memory.