linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ioremap_wc on arm64
@ 2017-05-22  7:01 Jayachandran C
  2017-05-22  7:01 ` [PATCH 1/2] arm64: add PROT_DEVICE_GRE for Device GRE mapping Jayachandran C
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Jayachandran C @ 2017-05-22  7:01 UTC (permalink / raw)
  To: linux-arm-kernel

>From its definition, the device "gather" attribute seems to be a better
fit for implementing write combining mapping in ioremap_wc().  And on
ThunderX2, Device GRE mapping has optimizations that makes it much faster
than normal uncached mapping.

I am not sure of the reasoning behind the original decision to make
ioremap_wc use "Normal Non-Cached" attribute, since all the other variants
of ioremap use device attributes, and ioremap_wc looks like an exception.

Comments are very welcome.

Thanks,
JC.

Jayachandran C (2):
  arm64: add PROT_DEVICE_GRE for Device GRE mapping
  arm64: switch ioremap_wc to use Device GRE

 arch/arm64/include/asm/io.h           | 2 +-
 arch/arm64/include/asm/pgtable-prot.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-05-24 13:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-22  7:01 [PATCH 0/2] ioremap_wc on arm64 Jayachandran C
2017-05-22  7:01 ` [PATCH 1/2] arm64: add PROT_DEVICE_GRE for Device GRE mapping Jayachandran C
2017-05-22  7:01 ` [PATCH 2/2] arm64: switch ioremap_wc to use Device GRE Jayachandran C
2017-05-22  8:56 ` [PATCH 0/2] ioremap_wc on arm64 Catalin Marinas
2017-05-22 11:53   ` Jayachandran C
2017-05-22 11:58     ` Alexander Graf
2017-05-22 12:22     ` Will Deacon
2017-05-22 14:21       ` Jayachandran C
2017-05-22 15:49         ` Catalin Marinas
2017-05-23 10:09           ` Jayachandran C
2017-05-23 14:08             ` Catalin Marinas
2017-05-24 13:33               ` Jayachandran C

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).