From patchwork Fri Jul 15 09:03:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9231401 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CCA6F60574 for ; Fri, 15 Jul 2016 09:07:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B75122808C for ; Fri, 15 Jul 2016 09:07:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A90EC28319; Fri, 15 Jul 2016 09:07:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8F6172808C for ; Fri, 15 Jul 2016 09:07:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bNz4I-0003KY-8Z; Fri, 15 Jul 2016 09:05:58 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bNz3S-0001jc-W0 for linux-arm-kernel@bombadil.infradead.org; Fri, 15 Jul 2016 09:05:07 +0000 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]) by merlin.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bNz3Q-0000zs-T7 for linux-arm-kernel@lists.infradead.org; Fri, 15 Jul 2016 09:05:05 +0000 Received: by mail-pa0-x232.google.com with SMTP id fi15so37587538pac.1 for ; Fri, 15 Jul 2016 02:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wHXs6YNGQcR5aHH84Kb5kNAtNI4+J0bgUDKhQGMSt78=; b=LVCLcjddIGoyChUKu36trSI8iqk859/Jd+WwoghTjk1oIwZ329tTtr1lmkosLBL2+x QnfomqsIpVHrAd+r2K2sV9pijYw+xJytIgX9uLNnF1GY0IinUErCIQv1gWdXwwBnC9Xb nTGc0ItcV34akCjNkN5ZaeA6Xxq+n6+Y61DTE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wHXs6YNGQcR5aHH84Kb5kNAtNI4+J0bgUDKhQGMSt78=; b=WzETVtLcGVeIrwSPevJw5fbsDmAGGDuk5ZYUYHBAZV0iCKH57fD5qWQDbSCGWxbuxI H3LVyhP/qPjetHDqXJODIrTR3tY7iTlA1IzAXSTTE+Aj5BZ/5Nrv9GlaSDfcQgnj5urT /Y7Mf1ppAQOxM2wmST9mP+C8Z0KQ2XPc8H9cO5XptVLvAS5jRRAvw2r1pM7Uz9U37n/v jSADQt6zt0b1fksNBuuBS168347UMAc93fKkUfq6FIXg/TP4i+A5t1wLj0OrY5fB5IGd 5b3FVXYvR8d/dUgJ0VHqJ137dUmahtF2tSBFikX22W7AHKrnNL8hShSezlVTA34WdGsm aDrw== X-Gm-Message-State: ALyK8tJUj075O4eDM1nMBoXAEy1mwvIJ8VGOzI+mRH7vkR564RKMywnUweOcXzl6V8LPVH1x X-Received: by 10.66.150.67 with SMTP id ug3mr30281530pab.41.1468573482205; Fri, 15 Jul 2016 02:04:42 -0700 (PDT) Received: from anup-HP-Compaq-8100-Elite-CMT-PC.ban.broadcom.com ([202.140.56.34]) by smtp.gmail.com with ESMTPSA id m78sm6811923pfj.66.2016.07.15.02.04.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Jul 2016 02:04:41 -0700 (PDT) From: Anup Patel To: "Hans J. Koch" , Greg Kroah-Hartman , Jonathan Corbet Subject: [PATCH 4/8] Documentation: Update documentation for UIO_MEM_PHYS_CACHE and UIO_MEM_DEVICE Date: Fri, 15 Jul 2016 14:33:59 +0530 Message-Id: <1468573443-4670-5-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1468573443-4670-1-git-send-email-anup.patel@broadcom.com> References: <1468573443-4670-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160715_050505_012806_E62D19B5 X-CRM114-Status: GOOD ( 11.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anup Patel , Scott Branden , linux-doc@vger.kernel.org, Ray Jui , linux-kernel@vger.kernel.org, Rob Herring , bcm-kernel-feedback-list@broadcom.com, Ankit Jindal , linux-arm-kernel@lists.infradead.org, Jan Viktorin MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ankit Jindal This patch updates UIO documentation for new mem region types UIO_MEM_PHYS_CACHE and UIO_MEM_DEVICE. Signed-off-by: Ankit Jindal Signed-off-by: Anup Patel --- Documentation/DocBook/uio-howto.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/DocBook/uio-howto.tmpl b/Documentation/DocBook/uio-howto.tmpl index cd0e452..de9dafe 100644 --- a/Documentation/DocBook/uio-howto.tmpl +++ b/Documentation/DocBook/uio-howto.tmpl @@ -529,8 +529,10 @@ 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, +UIO_MEM_PHYS_CACHE for cacheable physical memory and, +UIO_MEM_DEVICE for memory mapped device registers.