Re: [PATCH v3 19/21] powerpc: Add option to use jump label for mmu_has_feature()

2016-08-08 Thread Anton Blanchard
Hi, > This patch causes an oops when building with the gold linker: Found the problem. On binutils .meminit.text is within _stext/_etext: [Nr] Name TypeAddress OffSize ES Flg Lk Inf Al [ 3] .meminit.text PROGBITSc0989d14 999d14 002

Re: [PATCH v3 19/21] powerpc: Add option to use jump label for mmu_has_feature()

2016-08-07 Thread Anton Blanchard
Hi, > From: Kevin Hao > > As we just did for CPU features. This patch causes an oops when building with the gold linker: Unable to handle kernel paging request for data at address 0xf000 Faulting instruction address: 0xc0971544 Oops: Kernel access of bad area, sig: 11 [#1]

Re: [PATCH v3 19/21] powerpc: Add option to use jump label for mmu_has_feature()

2016-07-28 Thread Nicholas Piggin
On Thu, 28 Jul 2016 00:18:15 +1000 Michael Ellerman wrote: > From: Kevin Hao > > As we just did for CPU features. > > Signed-off-by: Kevin Hao > Signed-off-by: Aneesh Kumar K.V > Signed-off-by: Michael Ellerman > --- > arch/powerpc/include/asm/mmu.h| 36 > ++

[PATCH v3 19/21] powerpc: Add option to use jump label for mmu_has_feature()

2016-07-27 Thread Michael Ellerman
From: Kevin Hao As we just did for CPU features. Signed-off-by: Kevin Hao Signed-off-by: Aneesh Kumar K.V Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/mmu.h| 36 arch/powerpc/kernel/cputable.c| 17 + arch/powerpc/li