[PATCH 1/7] ARM: Add __arm_ioremap_exec for mapping external memory as MT_MEMORY
tony at atomide.com
Tue Oct 11 19:58:27 EDT 2011
* Andres Salomon <dilinger at queued.net> [111011 14:11]:
> On Fri, 07 Oct 2011 12:45:43 -0700
> Tony Lindgren <tony at atomide.com> wrote:
> > This allows mapping external memory such as SRAM for use.
> > This is needed for some small chunks of code, such as reprogramming
> > SDRAM memory source clocks that can't be executed in SDRAM. Other
> > use cases include some PM related code.
> Acked-by: Andres Salomon <dilinger at queued.net>
> Looks good to me, thanks for doing this. I only have one very minor
> quibble below, which could be addressed in a later patch..
> > +void __iomem *
> > +__arm_ioremap_exec(unsigned long phys_addr, size_t size, int cached)
> I'd rather see this as 'bool cached', so it's clear we're talking
> about a simple boolean (rather than bits).
Sure, thanks, updated version below. Will also update the patch in
Russell's patch system.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1937 bytes
Desc: not available
More information about the linux-arm-kernel