From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: Ankit Jindal <ankit.jindal@linaro.org>
Cc: linux-kernel@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@apm.com, Rob Herring <robh+dt@kernel.org>,
"Hans J. Koch" <hjk@hansjkoch.de>,
Tushar Jagad <tushar.jagad@linaro.org>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/5] Documentation: Update documentation for UIO_MEM_PHYS_CACHE
Date: Sun, 14 Sep 2014 21:01:52 +0100 [thread overview]
Message-ID: <20140914200152.GV12361@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1410256619-3213-3-git-send-email-ankit.jindal@linaro.org>
On Tue, Sep 09, 2014 at 03:26:56PM +0530, Ankit Jindal wrote:
> This patch update UIO documentation for new mem region
> type UIO_MEM_PHYS_CACHE.
>
> Signed-off-by: Ankit Jindal <ankit.jindal@linaro.org>
> Signed-off-by: Tushar Jagad <tushar.jagad@linaro.org>
> ---
> Documentation/DocBook/uio-howto.tmpl | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/DocBook/uio-howto.tmpl b/Documentation/DocBook/uio-howto.tmpl
> index bbe9c1f..49e47d4 100644
> --- a/Documentation/DocBook/uio-howto.tmpl
> +++ b/Documentation/DocBook/uio-howto.tmpl
> @@ -530,7 +530,8 @@ the memory region, it will show up in the corresponding sysfs node.
> <varname>UIO_MEM_PHYS</varname> if you you have physical memory on your
> card to be mapped. Use <varname>UIO_MEM_LOGICAL</varname> for logical
> memory (e.g. allocated with <function>kmalloc()</function>). There's also
> -<varname>UIO_MEM_VIRTUAL</varname> for virtual memory.
> +<varname>UIO_MEM_VIRTUAL</varname> for virtual memory and
> +<varname>UIO_MEM_PHYS_CACHE</varname> for physical cacheable memory.
When I read this, I wondered what "physical cacheable memory" was.
Then I found that what you're doing with this is mapping physical
memory into userspace with cacheable attributes.
So, to avoid confusion, this should be "for physical memory, which
will be cacheably mapped" or similar.
--
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.
next prev parent reply other threads:[~2014-09-14 20:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-09 9:56 [PATCH 0/5] UIO driver for APM X-Gene QMTM Ankit Jindal
2014-09-09 9:56 ` [PATCH 1/5] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions Ankit Jindal
2014-09-09 19:29 ` Greg Kroah-Hartman
2014-09-14 17:28 ` Ankit Jindal
2014-09-09 9:56 ` [PATCH 2/5] Documentation: Update documentation for UIO_MEM_PHYS_CACHE Ankit Jindal
2014-09-14 20:01 ` Russell King - ARM Linux [this message]
2014-09-18 0:03 ` Ankit Jindal
2014-09-09 9:56 ` [PATCH 3/5] drivers: uio: Add Xgene QMTM UIO driver Ankit Jindal
2014-09-14 20:23 ` Russell King - ARM Linux
2014-09-18 0:04 ` Ankit Jindal
2014-09-09 9:56 ` [PATCH 4/5] dt-bindings: Add binding info for " Ankit Jindal
2014-09-09 10:53 ` Mark Rutland
2014-09-14 17:57 ` Ankit Jindal
2014-09-09 9:56 ` [PATCH 5/5] MAINTAINERS: Add entry for APM " Ankit Jindal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140914200152.GV12361@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=ankit.jindal@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=hjk@hansjkoch.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@apm.com \
--cc=robh+dt@kernel.org \
--cc=tushar.jagad@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox