From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
To: Vincent Whitchurch <vincent.whitchurch@axis.com>
Cc: Vincent Whitchurch <rabinv@axis.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: Implement pgprot_device()
Date: Tue, 15 Jan 2019 10:24:29 +0000 [thread overview]
Message-ID: <20190115102428.yji6viia4lfhecqz@e5254000004ec.dyn.armlinux.org.uk> (raw)
In-Reply-To: <20190114135638.13520-1-vincent.whitchurch@axis.com>
On Mon, Jan 14, 2019 at 02:56:38PM +0100, Vincent Whitchurch wrote:
> This is used when mmapping the PCI resource* files in sys. Because ARM
> currently lacks an implementation of pgprot_device(), it falls back to
> pgprot_uncached() (Strongly Ordered), but we should be able to use
> Device memory instead.
>
> Doing this speeds up large writes to the resource files by about 40% on
> one of my systems. It also ensures that mmaps on these resources use
> the same memory type as ioremap().
>
> Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Please drop this into the patch system, thanks.
(Please also note that stuff here has been undergoing a progressive
major reorganisation and renovation, so I hope that still works! Note
that the website now supports https as of last night!)
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-01-15 10:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-14 13:56 [PATCH] ARM: Implement pgprot_device() Vincent Whitchurch
2019-01-15 10:24 ` Russell King - ARM Linux admin [this message]
2019-01-15 15:08 ` Vincent Whitchurch
2019-01-15 17:04 ` Russell King - ARM Linux admin
2019-01-16 10:22 ` Vincent Whitchurch
2019-01-16 12:23 ` Russell King - ARM Linux admin
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=20190115102428.yji6viia4lfhecqz@e5254000004ec.dyn.armlinux.org.uk \
--to=linux@armlinux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=rabinv@axis.com \
--cc=vincent.whitchurch@axis.com \
/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;
as well as URLs for NNTP newsgroup(s).