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 6 lines · Russ Dill

I think this is already taken care of by the way sram.c is using genalloc. The allocation returned should be aligned to 32 bytes. The thumb bit shouldn't be an issue as code is copied based on the start and end makers made by the linker. I may need to add .align statements in the linker so that the start and end markers for the copied code are aligned to at least 8 bytes.

I think you need to read up on what fncpy does... there's more to it than just merely copying code at an appropriate alignment.