v7-M: Fixing XIP when the kernel is in ROM

Maxime Coquelin mcoquelin.stm32 at gmail.com
Tue Oct 27 14:52:12 PDT 2015


2015-10-27 22:46 GMT+01:00 Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>:
> On 27 October 2015 at 18:33, Maxime Coquelin <mcoquelin.stm32 at gmail.com> wrote:
>> 2015-10-27 21:33 GMT+01:00 Stefan Agner <stefan at agner.ch>:
...
>>> Anyway, I guess Ezequiel's fix is the right thing to do...
>> Or, maybe we should put the stack in RAM as Uwe suggest?
>>
>
> It seems the current fix would be used as-is (no need to
> set a temporary stack before the SVC call).
>
> And on top of that, we need a to set a proper stack as soon
> as the kernel takes control.
>
> Am I right?
IMHO, yes, that's how I understand it.

Maxime



More information about the linux-arm-kernel mailing list