Re: [PATCH v3 2/6] cleanup IORESOURCE_CACHEABLE vs ioremap()

From: Dan Williams
Date: Wed Jun 03 2015 - 19:59:03 EST


On Wed, Jun 3, 2015 at 2:34 PM, Dan Williams <dan.j.williams@xxxxxxxxx> 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@xxxxxxxx>

Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/