Re: powerpc: Ensure .mem(init|exit).text are within _stext/_etext

2016-09-20 Thread Michael Ellerman
On Thu, 2016-15-09 at 05:11:59 UTC, Michael Ellerman wrote: > In our linker script we open code the list of text sections, because we > need to include the __ftr_alt sections, which are arch-specific. > > This means we can't use TEXT_TEXT as defined in vmlinux.lds.h, and so we > don't have the MEM

Re: [PATCH] powerpc: Ensure .mem(init|exit).text are within _stext/_etext

2016-09-14 Thread Anton Blanchard
Hi, > In our linker script we open code the list of text sections, because > we need to include the __ftr_alt sections, which are arch-specific. > > This means we can't use TEXT_TEXT as defined in vmlinux.lds.h, and so > we don't have the MEM_KEEP() logic for memory hotplug sections. > > If we b

[PATCH] powerpc: Ensure .mem(init|exit).text are within _stext/_etext

2016-09-14 Thread Michael Ellerman
In our linker script we open code the list of text sections, because we need to include the __ftr_alt sections, which are arch-specific. This means we can't use TEXT_TEXT as defined in vmlinux.lds.h, and so we don't have the MEM_KEEP() logic for memory hotplug sections. If we build the kernel wit