Re: [PATCH] [RFC] ARM: move __bug_table into .data for XIP_KERNEL

2017-07-28 Thread Nicolas Pitre
On Sat, 29 Jul 2017, Ard Biesheuvel wrote: > > > > On 28 Jul 2017, at 16:27, Nicolas Pitre wrote: > > > >> On Fri, 28 Jul 2017, Arnd Bergmann wrote: > >> > >> Matt Hart reports that vf610m4_defconfig kernels grew to 2GB > >> xipImage size after the __bug_table

Re: [PATCH] [RFC] ARM: move __bug_table into .data for XIP_KERNEL

2017-07-28 Thread Nicolas Pitre
On Sat, 29 Jul 2017, Ard Biesheuvel wrote: > > > > On 28 Jul 2017, at 16:27, Nicolas Pitre wrote: > > > >> On Fri, 28 Jul 2017, Arnd Bergmann wrote: > >> > >> Matt Hart reports that vf610m4_defconfig kernels grew to 2GB > >> xipImage size after the __bug_table change. > >> > >> I tried out

Re: [PATCH] [RFC] ARM: move __bug_table into .data for XIP_KERNEL

2017-07-28 Thread Ard Biesheuvel
> On 28 Jul 2017, at 16:27, Nicolas Pitre wrote: > >> On Fri, 28 Jul 2017, Arnd Bergmann wrote: >> >> Matt Hart reports that vf610m4_defconfig kernels grew to 2GB >> xipImage size after the __bug_table change. >> >> I tried out a few things and found that moving the

Re: [PATCH] [RFC] ARM: move __bug_table into .data for XIP_KERNEL

2017-07-28 Thread Ard Biesheuvel
> On 28 Jul 2017, at 16:27, Nicolas Pitre wrote: > >> On Fri, 28 Jul 2017, Arnd Bergmann wrote: >> >> Matt Hart reports that vf610m4_defconfig kernels grew to 2GB >> xipImage size after the __bug_table change. >> >> I tried out a few things and found that moving the bug table >> into the

Re: [PATCH] [RFC] ARM: move __bug_table into .data for XIP_KERNEL

2017-07-28 Thread Nicolas Pitre
On Fri, 28 Jul 2017, Arnd Bergmann wrote: > Matt Hart reports that vf610m4_defconfig kernels grew to 2GB > xipImage size after the __bug_table change. > > I tried out a few things and found that moving the bug table > into the .data section avoids this problem. However, the > linker script magic

Re: [PATCH] [RFC] ARM: move __bug_table into .data for XIP_KERNEL

2017-07-28 Thread Nicolas Pitre
On Fri, 28 Jul 2017, Arnd Bergmann wrote: > Matt Hart reports that vf610m4_defconfig kernels grew to 2GB > xipImage size after the __bug_table change. > > I tried out a few things and found that moving the bug table > into the .data section avoids this problem. However, the > linker script magic

[PATCH] [RFC] ARM: move __bug_table into .data for XIP_KERNEL

2017-07-28 Thread Arnd Bergmann
Matt Hart reports that vf610m4_defconfig kernels grew to 2GB xipImage size after the __bug_table change. I tried out a few things and found that moving the bug table into the .data section avoids this problem. However, the linker script magic is beyond my capabilities here, so this is almost

[PATCH] [RFC] ARM: move __bug_table into .data for XIP_KERNEL

2017-07-28 Thread Arnd Bergmann
Matt Hart reports that vf610m4_defconfig kernels grew to 2GB xipImage size after the __bug_table change. I tried out a few things and found that moving the bug table into the .data section avoids this problem. However, the linker script magic is beyond my capabilities here, so this is almost