Re: [PATCH] powerpc: use PTRRELOC during early init

2018-10-03 Thread Andreas Schwab
On Okt 03 2018, Christophe LEROY wrote: > Did you try my proposed fix https://patchwork.ozlabs.org/patch/977195/ ? That works as well. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely d

Re: [PATCH] powerpc: use PTRRELOC during early init

2018-10-02 Thread Christophe LEROY
Hi Andreas, Le 03/10/2018 à 00:33, Andreas Schwab a écrit : This fixes a crash on powerpc32 when using global data during early init without relocating its address. Fixes: 51c3c62b58 (powerpc: Avoid code patching freed init sections) Signed-off-by: Andreas Schwab --- arch/powerpc/lib/code-pa

[PATCH] powerpc: use PTRRELOC during early init

2018-10-02 Thread Andreas Schwab
This fixes a crash on powerpc32 when using global data during early init without relocating its address. Fixes: 51c3c62b58 (powerpc: Avoid code patching freed init sections) Signed-off-by: Andreas Schwab --- arch/powerpc/lib/code-patching.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)