lkml.org 
[lkml]   [2006]   [Mar]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromKumar Gala <>
SubjectRe: [PATCH] ioremap_cached()
DateThu, 30 Mar 2006 14:21:32 -0600
On Mar 30, 2006, at 2:17 PM, Andi Kleen wrote:

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

What's an example of this?  I ask since on powerpc ioremap() is  
always _PAGE_NO_CACHE.

- kumar
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-30 22:23    [from the cache]
©2003-2008