From patchwork Tue Oct 21 05:56:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankit Jindal X-Patchwork-Id: 39098 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5B937203C5 for ; Tue, 21 Oct 2014 05:58:47 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id hi2sf435075wib.1 for ; Mon, 20 Oct 2014 22:58:46 -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=Ky00b5UZ9UzA09Fjq/d69YIafYQ6khgUOu03ACv8bjh28FZB7faIL2Io913pTUaxaT lf05BJPGc89KoEXVxcIcCGYpKF6xLkEvxfCde6VyC/I8rr6YZigfoQpwjZgIXJ7ZEihR i/Ynvm5OPBaTkWtnlVPiPKtoGJDGRcU4+8tNM+p+Z5HV0iJJhCbb3U7CMQklluln8hGq pyEgb7p2JI7xlUjl2E7vmRObXr72UGCJ2Roepwu74k2YB5JS5V2FOJWpcnsOuGfWK2jk urpc0XQePSh0+RGPq0ydrg0m9XZB1gn431D6IcEAI7hTJI7SZuyI1V2x/1mPcqpm420J 0cHw== X-Gm-Message-State: ALoCoQmRJlV6Vmj55M0ZWwXLwAFF/8xpo9IfXMCZsGqD+QxemoRmPM2EW8S6bh4EcI0f8fc8D/sG X-Received: by 10.180.76.42 with SMTP id h10mr3175029wiw.6.1413871126541; Mon, 20 Oct 2014 22:58:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.227 with SMTP id p3ls18646laf.39.gmail; Mon, 20 Oct 2014 22:58:46 -0700 (PDT) X-Received: by 10.152.179.69 with SMTP id de5mr32272251lac.63.1413871126287; Mon, 20 Oct 2014 22:58:46 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id 1si17228929lax.37.2014.10.20.22.58.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Oct 2014 22:58:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by mail-lb0-f179.google.com with SMTP id l4so381483lbv.10 for ; Mon, 20 Oct 2014 22:58:46 -0700 (PDT) X-Received: by 10.153.8.164 with SMTP id dl4mr32088207lad.29.1413871126169; Mon, 20 Oct 2014 22:58:46 -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.84.229 with SMTP id c5csp438463lbz; Mon, 20 Oct 2014 22:58:45 -0700 (PDT) X-Received: by 10.70.49.11 with SMTP id q11mr207917pdn.166.1413871124600; Mon, 20 Oct 2014 22:58:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sz1si9777668pbc.213.2014.10.20.22.58.43 for ; Mon, 20 Oct 2014 22:58:44 -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 S932188AbaJUF6c (ORCPT + 27 others); Tue, 21 Oct 2014 01:58:32 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:54480 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754406AbaJUF61 (ORCPT ); Tue, 21 Oct 2014 01:58:27 -0400 Received: by mail-pa0-f43.google.com with SMTP id lf10so660834pab.16 for ; Mon, 20 Oct 2014 22:58:27 -0700 (PDT) X-Received: by 10.70.129.144 with SMTP id nw16mr32536007pdb.2.1413871107055; Mon, 20 Oct 2014 22:58:27 -0700 (PDT) Received: from pnqlab023.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id fz1sm3945569pbb.80.2014.10.20.22.58.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Oct 2014 22:58:26 -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, Guenter Roeck , Varka Bhadram , Ankit Jindal Subject: [PATCH v3 3/6] Documentation: Update documentation for UIO_MEM_PHYS_CACHE Date: Tue, 21 Oct 2014 11:26:47 +0530 Message-Id: <1413871011-4101-4-git-send-email-ankit.jindal@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1413871011-4101-1-git-send-email-ankit.jindal@linaro.org> References: <1413871011-4101-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.179 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.