From patchwork Mon Aug 8 05:52:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9266691 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 2615B60839 for ; Mon, 8 Aug 2016 05:56:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16E0B26E69 for ; Mon, 8 Aug 2016 05:56:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B5E327813; Mon, 8 Aug 2016 05:56:30 +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 953A526E69 for ; Mon, 8 Aug 2016 05:56:29 +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 1bWdWi-0001M0-17; Mon, 08 Aug 2016 05:55:04 +0000 Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bWdVv-0000ku-V0 for linux-arm-kernel@lists.infradead.org; Mon, 08 Aug 2016 05:54:18 +0000 Received: by mail-pf0-x22b.google.com with SMTP id p64so115835876pfb.1 for ; Sun, 07 Aug 2016 22:53:56 -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=D8dd6mxGzwaP/xxzf5k8TwymOqY2BLGlckOdN3+b/npM7clI30JBv8vSRyzMoXiKDq eAvjal61LPEDTUZWwy/uPJfFwQMziCmsi8enPF8BgGxMjJpUfiChwU8rKOkbI4hkzVha ovLoNxcgCfjCIWVCvfWseGbInNg4grdG+OA48= 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=TRCUh8OF7Vcj7SIYThhbG/lYiEjXH6E0eC5GZReo/0i+Y7Dhr50Aw8bxPj4WpVo49h 57NhQ5ObeBY0EV1ZQ1LlR+W1KrrYT92eSRFvf+qav9pC7Kzbv5SubU8Q1wOu/qm60Ig6 hHoEt/jKCCUGU+41Qnvqo5kVfYZ6Wo6tUt0J04lItE0kvF0FMrbtInSr8ihFgtpbj0U1 F5mKgBOXDyvVMZfba6E79ojh3O91MnF4ND49c00OYs/Os3ICs7zLQBTILjRkq2HXbHDf YVO4iOO+3474Bf6gXv0fibk1TuDI5OfGudJ9aRVIRWv0VRJejoNKBmcBt4lXYbGRi4Pk 20RQ== X-Gm-Message-State: AEkoousF4/hNv8CqjDOZGQCHyk4RHKFbg1HXsR1YikIAf3DetQnw6bL9SYDCcfpqfTb+rU11 X-Received: by 10.98.58.73 with SMTP id h70mr157807159pfa.125.1470635636344; Sun, 07 Aug 2016 22:53:56 -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 u72sm44404402pfa.31.2016.08.07.22.53.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 07 Aug 2016 22:53:55 -0700 (PDT) From: Anup Patel To: Greg Kroah-Hartman , Jonathan Corbet Subject: [PATCH RESEND v2 5/8] Documentation: Update documentation for UIO_MEM_PHYS_CACHE and UIO_MEM_DEVICE Date: Mon, 8 Aug 2016 11:22:34 +0530 Message-Id: <1470635557-13416-6-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1470635557-13416-1-git-send-email-anup.patel@broadcom.com> References: <1470635557-13416-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160807_225416_087515_E118119A X-CRM114-Status: GOOD ( 12.64 ) 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: Mark Rutland , devicetree@vger.kernel.org, Anup Patel , Scott Branden , linux-doc@vger.kernel.org, Ray Jui , Russell King - ARM Linux , 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.