[PATCH v2 1/2] ARM: PIE infrastructure

2016-06-28 Thread Alexandre Belloni
Add support for embedding position independent executables (PIE) in the kernel. Those PIEs can then be loaded into memory allocated using genalloc. For example, this allows running code from SRAM which is usually needed for suspend/resume or to change the DDR timings. That code is usually written

[PATCH v2 1/2] ARM: PIE infrastructure

2016-06-28 Thread Alexandre Belloni
Add support for embedding position independent executables (PIE) in the kernel. Those PIEs can then be loaded into memory allocated using genalloc. For example, this allows running code from SRAM which is usually needed for suspend/resume or to change the DDR timings. That code is usually written