lkml.org 
[lkml]   [2015]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3 2/6] cleanup IORESOURCE_CACHEABLE vs ioremap()
From
On Wed, Jun 3, 2015 at 2:34 PM, Dan Williams <dan.j.williams@intel.com> wrote:
> Quoting Arnd:
> I was thinking the opposite approach and basically removing all uses
> of IORESOURCE_CACHEABLE from the kernel. There are only a handful of
> them.and we can probably replace them all with hardcoded
> ioremap_cached() calls in the cases they are actually useful.
>
> All existing usages of IORESOURCE_CACHEABLE call ioremap() instead of
> ioremap_nocache() if the resource is cacheable, however ioremap() is
> uncached by default. Clearly none of the existing usages care about the
> cacheability, so let's clean that up before introducing generic
> ioremap_cache() support across architectures.
>
> Suggested-by: Arnd Bergmann <arnd@arndb.de>

Signed-off-by: Dan Williams <dan.j.williams@intel.com>


\
 
 \ /
  Last update: 2015-06-04 02:21    [W:0.090 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site