[PATCH v4] powerpc: Avoid code patching freed init sections
Christophe LEROY
christophe.leroy at c-s.fr
Wed Oct 3 15:42:25 AEST 2018
Le 03/10/2018 à 05:20, Michael Ellerman a écrit :
> Andreas Schwab <schwab at linux-m68k.org> writes:
>
>> On Sep 14 2018, Michael Neuling <mikey at neuling.org> wrote:
>>
>>> This stops us from doing code patching in init sections after they've
>>> been freed.
>>
>> This breaks booting on PowerBook6,7, crashing very early.
>
> Crud, sorry.
>
> My CI setup tests with the mac99 qemu model, but that boots happily, not
> sure why.
Maybe mac99 doesn't use relocation ?
The issue is that during early boot, 'init_mem_is_free' is not yet at
its definitif address.
I sent a fix for it : https://patchwork.ozlabs.org/patch/977195/
Christophe
More information about the Linuxppc-dev
mailing list