From patchwork Tue Sep 30 04:26:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankit Jindal X-Patchwork-Id: 38117 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1B6DD202DB for ; Tue, 30 Sep 2014 04:32:31 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id k14sf7351879wgh.7 for ; Mon, 29 Sep 2014 21:32:29 -0700 (PDT) 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=EQQEbmjjAC2opyoEKHvqAANMCDDf9b9ZDY2IxpGq2GyMG6K+aeT44eVDCvTfWQa0bT VyWwSNHlymEh5c3fgStk8oWH0yXj499BtwikZ5HIy5A730wypLS6H041JxpwIlWGmzLs AQhE875ULeW0YNhTL4SRuYBonRiaBmrjd5RuaJR+Fh55Ynbd9GJ0G4lBd3L4Z+MApEXK aG8xIREklW9WC+eDSJg6dlf31F1HZ+NAL18h+TamJxdjGX5CvcajxzWMvOoPvzxG2XZi 5uzfzTVMOiyX686HcElI6rrs1mhPaCcR3GjAYa5hLOV7SlrsoaCcXDPOJKklFDlkcd2T O5ig== X-Gm-Message-State: ALoCoQnRIant9HCHOZilPnsGBOi2tBP+o5IUF2BWIP3EQ7W2UdV84uusgGI/aFRL+N6Dk/E0Zc/E X-Received: by 10.194.100.3 with SMTP id eu3mr273wjb.6.1412051549820; Mon, 29 Sep 2014 21:32:29 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.1 with SMTP id s1ls692686lal.30.gmail; Mon, 29 Sep 2014 21:32:29 -0700 (PDT) X-Received: by 10.112.130.41 with SMTP id ob9mr40839429lbb.12.1412051549635; Mon, 29 Sep 2014 21:32:29 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by mx.google.com with ESMTPS id lf1si20786254lac.65.2014.09.29.21.32.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Sep 2014 21:32:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id f15so5595910lbj.25 for ; Mon, 29 Sep 2014 21:32:29 -0700 (PDT) X-Received: by 10.152.42.136 with SMTP id o8mr43864820lal.71.1412051549481; Mon, 29 Sep 2014 21:32:29 -0700 (PDT) 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.130.169 with SMTP id of9csp283222lbb; Mon, 29 Sep 2014 21:32:28 -0700 (PDT) X-Received: by 10.70.38.109 with SMTP id f13mr51392291pdk.74.1412051547958; Mon, 29 Sep 2014 21:32:27 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oo8si25580375pdb.254.2014.09.29.21.32.27 for ; Mon, 29 Sep 2014 21:32:27 -0700 (PDT) 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 S1752090AbaI3EcK (ORCPT + 27 others); Tue, 30 Sep 2014 00:32:10 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:34087 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751975AbaI3EcI (ORCPT ); Tue, 30 Sep 2014 00:32:08 -0400 Received: by mail-pa0-f47.google.com with SMTP id rd3so8433734pab.34 for ; Mon, 29 Sep 2014 21:32:07 -0700 (PDT) X-Received: by 10.70.41.10 with SMTP id b10mr59647678pdl.72.1412051527729; Mon, 29 Sep 2014 21:32:07 -0700 (PDT) Received: from pnqlab023.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id qj2sm13761033pbc.78.2014.09.29.21.32.04 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Sep 2014 21:32:07 -0700 (PDT) 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, Ankit Jindal Subject: [PATCH v2 3/6] Documentation: Update documentation for UIO_MEM_PHYS_CACHE Date: Tue, 30 Sep 2014 09:56:06 +0530 Message-Id: <1412051169-9142-4-git-send-email-ankit.jindal@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1412051169-9142-1-git-send-email-ankit.jindal@linaro.org> References: <1412051169-9142-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.217.180 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.