Re: [PATCH] ioremap_cached()

Andi Kleen
2006-03-30T20:18:01Z

On Thursday 30 March 2006 22:14, Matthew Wilcox wrote:

> I think you misunderstood. The right interface to call, that should
> work everywhere, should be the simple, obvious one. ioremap(). That
> effectively is what everyone gets anyway (since they test on x86).
> So change the *definition* of ioremap() to be uncached. Then we can add
> ioremap_wc() and ioremap_cached() for these special purpose mappings.

That would break all the current users who do ioremap on memory
and want it cached.

-Andi