Skip to content

RFC Create infrastructure for running C code from SRAM.

Russell King - ARM Linux linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/4] Create infrastructure for running C code from SRAM.
Quoted 4 lines · Dave Martin

I actually wonder whether fncpy() contains a buglet, whereby flush_icache_range() is used instead of coherent_kern_range(). The SRAM is probably not mapped cached, but at least a DSB would be needed before flushing the relevant lines from the I-cache.

flush_icache_range() is correct - it's there to ensure that memory which has been written will be readable to the instruction stream. That's it's whole purpose, and it's used when modules are loaded too.

You're reading too much into the name: it doesn't just touch the I cache.