summaryrefslogtreecommitdiff
path: root/arch/arm/mm/init.c
diff options
context:
space:
mode:
authorVincent Whitchurch <vincent.whitchurch@axis.com>2019-01-16 15:31:41 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2019-02-02 00:44:11 +0300
commit58ca33824ff850bee93c850830a7b180486f3371 (patch)
treee2c9050c7216042b84321bfede3ac4b22aac2422 /arch/arm/mm/init.c
parentfec9eac6594750ee74c99549f13de3aa9de91b18 (diff)
downloadlinux-58ca33824ff850bee93c850830a7b180486f3371.tar.xz
ARM: 8823/1: Implement pgprot_device()
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> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mm/init.c')
0 files changed, 0 insertions, 0 deletions