RFC Create infrastructure for running C code from SRAM.
Get series with b4
b4 am [email protected]Versions newest first
- 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.
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, wherebyflush_icache_range()is used instead ofcoherent_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.