Re: [PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

2013-11-04 Thread Catalin Marinas
On Fri, Oct 11, 2013 at 01:18:41PM +0100, Mark Salter wrote: > On Wed, 2013-10-09 at 11:14 +0100, Will Deacon wrote: > > > @@ -110,6 +110,7 @@ SECTIONS > > >*/ > > > INIT_TASK_DATA(THREAD_SIZE) > > > NOSAVE_DATA > > > + PAGE_ALIGNED_DATA(PAGE_

Re: [PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

2013-11-01 Thread Will Deacon
On Fri, Nov 01, 2013 at 03:01:30PM +, Mark Salter wrote: > On Fri, 2013-10-11 at 08:18 -0400, Mark Salter wrote: > > On Wed, 2013-10-09 at 11:14 +0100, Will Deacon wrote: > > > > @@ -110,6 +110,7 @@ SECTIONS > > > >*/ > > > > INIT_TASK_DATA(THREAD_SIZE) > > > >

Re: [PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

2013-11-01 Thread Mark Salter
On Fri, 2013-10-11 at 08:18 -0400, Mark Salter wrote: > On Wed, 2013-10-09 at 11:14 +0100, Will Deacon wrote: > > > @@ -110,6 +110,7 @@ SECTIONS > > >*/ > > > INIT_TASK_DATA(THREAD_SIZE) > > > NOSAVE_DATA > > > + PAGE_ALIGNED_DATA(PAGE_SIZE) >

Re: [PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

2013-10-11 Thread Mark Salter
On Wed, 2013-10-09 at 11:14 +0100, Will Deacon wrote: > > @@ -110,6 +110,7 @@ SECTIONS > >*/ > > INIT_TASK_DATA(THREAD_SIZE) > > NOSAVE_DATA > > + PAGE_ALIGNED_DATA(PAGE_SIZE) > > CACHELINE_ALIGNED_DATA(64) > > READ

Re: [PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

2013-10-09 Thread Mark Salter
On Wed, 2013-10-09 at 11:14 +0100, Will Deacon wrote: > On Tue, Oct 08, 2013 at 09:37:39PM +0100, Mark Salter wrote: > > The arm64 linker script doesn't use the PAGE_ALIGNED_DATA macro which > > leads to a ".data..page_aligned" section being placed between the end > > of .data and start of .bss: >

Re: [PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

2013-10-09 Thread Will Deacon
On Tue, Oct 08, 2013 at 09:37:39PM +0100, Mark Salter wrote: > The arm64 linker script doesn't use the PAGE_ALIGNED_DATA macro which > leads to a ".data..page_aligned" section being placed between the end > of .data and start of .bss: > > % readelf -e vmlinux >... > Section to Segment mappin

[PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

2013-10-08 Thread Mark Salter
The arm64 linker script doesn't use the PAGE_ALIGNED_DATA macro which leads to a ".data..page_aligned" section being placed between the end of .data and start of .bss: % readelf -e vmlinux ... Section to Segment mapping: Segment Sections... 00 .head.text .text .text.init .rodata __ks