Thread (24 messages) 24 messages, 4 authors, 2015-07-23

[PATCH 08/10] arch: introduce strict_ioremap

From: Dan Williams <hidden>
Date: 2015-07-21 16:11:31
Also in: linux-arch, lkml

On Tue, Jul 21, 2015 at 6:30 AM, Christoph Hellwig [off-list ref] wrote:
On Sun, Jul 19, 2015 at 08:18:17PM -0400, Dan Williams wrote:
quoted
In preparation for enabling memremap(), add support for strict mappings.
strict_ioremap_<type>() returns NULL if the arch does not implement the
mapping type, rather than falling back silently to ioremap().
Please don't introduce another large number of ioremap variants.

I think we should go straight to the ioremap_flags variant, although
I wonder if we should even bother with ioremap_flags for this use
case, given that we really want memremap-like semantics for anything
that isn't plain ioremap (and maybe ioremap_nocache).

Sorry or being the downer, but I really think we need to clean up this
mess deeply insted of trying to paper over it.
No worries.  I'll rework the series around the idea that memremap() is
a replacement rather than a wrapper for ioremap_<type>().
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help