Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-...@ozlabs.org
Cc: Sam Ravnborg
---
arch/powerpc/kernel/vmlinux.lds.S | 69 -
1 files changed, 15 insertions(+), 54 deletions(-)
diff --git a/arch/powerpc/kernel
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-...@ozlabs.org
Cc: Sam Ravnborg
---
arch/powerpc/kernel/vmlinux.lds.S | 69 -
1 files changed, 15 insertions(+), 54 deletions(-)
diff --git a/arch/powerpc/kernel
ilding the kernel with
-ffunction-sections -fdata-sections, which is a prerequisite for
Ksplice.
-Tim Abbott
Tim Abbott (1):
powerpc: Cleanup linker script using new linker script macros.
arch/powerpc/kernel/vmlinux.lds.S | 69 -
1 files c
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-...@ozlabs.org
Acked-by: Sam Ravnborg
---
arch/powerpc/kernel/vmlinux.lds.S | 69 -
1 files changed, 15 insertions(+), 54 deletions(-)
diff --git a/arch/powerpc/kernel
There is already an architecture-independent __page_aligned_data macro
for this purpose, so removing the powerpc-specific macro should be
harmless.
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-...@ozlabs.org
Cc: Sam Ravnborg
---
arch/powerpc/include
Well, I think I just found a bug in git-send-email. I'll resend with the
actual subject line.
-Tim Abbott
On Tue, 13 Oct 2009, Tim Abbott wrote:
> There is already an architecture-independent __page_aligned_data macro
> for this purpose, so removing the powerpc-specific m
macro with things whose size is divisible by PAGE_SIZE. However, I am
not sure how to reconcile that with using the word "break" above...
-Tim Abbott
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
re of the issue and can pay attention to new code being added that
uses __page_aligned_data. Since most code that has page-aligned data
structures is architecture-specific, there's a good chance that any new
code that would break will be at least looked at by you (and given how few
places it is us
es in
reply to that message that replace PATCH 11/14.
-Tim Abbott
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
his
by effectively reverting just commit edada399. Can someone who has a
64-bit powerpc machine confirm?
-Tim Abbott
--
powerpc: Revert switch to TEXT_TEXT in linker script
Commit edada399 broke the build on 64-bit powerpc because it moved the
__ftr_alt_* sections of a file away from th
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/include/asm/page_64.h |8
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/arch/powerpc/include/asm/page_64.h
b/arch/powerpc/include/asm/page_64.h
data, I suspect having page-aligned data outside _edata
was a bug. Please comment if it is not.
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/kernel/vdso.c |2 +-
arch/powerpc/kernel/vdso32
Since upcoming changes will add several more common pieces of code
between the 32-bit and 64-bit powerpc architectures, it seems best to
unify these two blocks.
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/kernel
Signed-off-by: Tim Abbott
---
include/linux/cache.h |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/linux/cache.h b/include/linux/cache.h
index 97e2488..99d8a6f 100644
--- a/include/linux/cache.h
+++ b/include/linux/cache.h
@@ -13,7 +13,13 @@
#endif
compatible with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form ".data.foo".
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
---
include/asm-generic/vmlinux.lds.h |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --
compatible with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form ".data.foo".
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
---
include/asm-generic/vmlinux.lds.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --
those that are compatible with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form ".data.foo".
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
---
include/asm-generic/vmlinux.lds.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
ures).
-Tim Abbott
Tim Abbott (6):
Add new macros for page-aligned data and bss sections.
Add new NOSAVE_DATA linker script macro.
Add new CACHELINE_ALIGNED_DATA linker script macro.
Add new INIT_TASK_DATA() linker script macro.
Add new READ_MOSTLY_DATA(align) linker script macr
x27;s magic
section names to those that are compatible with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form ".data.foo".
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
Acked-by: David Howells
---
include/asm-generic/vmlinux.lds.h |
compatible with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form ".data.foo".
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
---
include/asm-generic/vmlinux.lds.h |4
include/linux/init_task.h |3 +++
2 files ch
compatible with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form ".data.foo".
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
---
include/asm-generic/vmlinux.lds.h |4
include/linux/init_task.h |3 +++
2 files ch
those that are compatible with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form ".data.foo".
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
---
include/asm-generic/vmlinux.lds.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
Signed-off-by: Tim Abbott
---
include/linux/cache.h |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/linux/cache.h b/include/linux/cache.h
index 97e2488..99d8a6f 100644
--- a/include/linux/cache.h
+++ b/include/linux/cache.h
@@ -13,7 +13,13 @@
#endif
compatible with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form ".data.foo".
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
---
include/asm-generic/vmlinux.lds.h |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --
x27;s magic
section names to those that are compatible with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form ".data.foo".
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
Acked-by: David Howells
---
include/asm-generic/vmlinux.lds.h |
compatible with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form ".data.foo".
Signed-off-by: Tim Abbott
Cc: Sam Ravnborg
---
include/asm-generic/vmlinux.lds.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --
rtly, I'm going to send one patch series for each of the
architectures updating those architectures to use these new macros
(and otherwise cleaning up section names on those architectures).
-Tim Abbott
Tim Abbott (6):
Add new macros for page-aligned data and bss sections.
Add ne
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/include/asm/page_64.h |8
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/arch/powerpc/include/asm/page_64.h
b/arch/powerpc/include/asm/page_64.h
Since upcoming changes will add several more common pieces of code
between the 32-bit and 64-bit powerpc architectures, it seems best to
unify these two blocks.
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/kernel
d head(); /* -ffunction-sections places in .text.head */
Note that these patches have not been boot-tested (aside from testing
the analogous changes on x86), since I don't have access to the
appropriate hardware.
-Tim Abbott
Tim Abbott (8):
powerpc: Remove unused __page_aligned macro
.data.nosave should not need a separate output section; this change
moves it into the .data section.
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/kernel/vmlinux.lds.S |9 +
1 files changed, 1 insertions(+), 8
.data.read_mostly should not need a separate output section; this
change moves it into the .data section.
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/kernel/vmlinux.lds.S |7 ++-
1 files changed, 2 insertions
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/Kconfig |3 +++
arch/powerpc/include/asm/cache.h |4
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc
ACHE_BYTES is the
correct alignment here.
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/kernel/vmlinux.lds.S |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/kernel/vmlinux.lds.S
b/ar
data, I suspect having page-aligned data outside _edata
was a bug. Please comment if it is not.
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/kernel/vdso.c |3 ++-
arch/powerpc/kernel/vdso32
should be that
way. One of the powerpc maintainers should confirm that this is
correct, otherwise we can go back to the #ifdef.
Signed-off-by: Tim Abbott
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/kernel/init_task.c|3 +--
arch
On Fri, 1 May 2009, Michael Ellerman wrote:
> On Thu, 2009-04-30 at 19:56 -0400, Tim Abbott wrote:
> > +#ifndef CONFIG_PPC32
>
> This would be clearer in the positive, as in #ifdef CONFIG_PPC64.
Good point. New version below.
-Tim Abbott
powerpc: share .data output sec
On Fri, 1 May 2009, Sam Ravnborg wrote:
> On Thu, Apr 30, 2009 at 03:54:08PM -0400, Tim Abbott wrote:
> > +#define __PAGE_ALIGNED_DATA.section ".data.page_aligned", "aw",
> > @progbits
> > +#define __PAGE_ALIGNED_BSS .section ".bss.page_align
38 matches
Mail list logo