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
. 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 used currently, this seems pretty unlikely to actually come
up).
-Tim Abbott
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 tabb...@ksplice.com
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc: linuxppc
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 macro should
Signed-off-by: Tim Abbott tabb...@ksplice.com
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc: linuxppc-...@ozlabs.org
Acked-by: Sam Ravnborg s...@ravnborg.org
---
arch/powerpc/kernel/vmlinux.lds.S | 69 -
1 files
Signed-off-by: Tim Abbott tabb...@ksplice.com
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc: linuxppc-...@ozlabs.org
Cc: Sam Ravnborg s...@ravnborg.org
---
arch/powerpc/kernel/vmlinux.lds.S | 69 -
1 files changed
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 changed, 15
Signed-off-by: Tim Abbott tabb...@ksplice.com
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc: linuxppc-...@ozlabs.org
Cc: Sam Ravnborg s...@ravnborg.org
---
arch/powerpc/kernel/vmlinux.lds.S | 69 -
1 files changed
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_aligned, aw, @nobits
It is my understanding that the linker
Signed-off-by: Tim Abbott tabb...@mit.edu
---
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
with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form .data.foo.
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Sam Ravnborg s...@ravnborg.org
---
include/asm-generic/vmlinux.lds.h |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff
with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form .data.foo.
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Sam Ravnborg s...@ravnborg.org
---
include/asm-generic/vmlinux.lds.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff
with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form .data.foo.
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Sam Ravnborg s...@ravnborg.org
---
include/asm-generic/vmlinux.lds.h |4
1 files changed, 4 insertions(+), 0 deletions
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 macro.
Add support
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 tabb...@mit.edu
Cc: Sam Ravnborg s...@ravnborg.org
Acked-by: David Howells dhowe...@redhat.com
---
include/asm-generic
with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form .data.foo.
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Sam Ravnborg s...@ravnborg.org
---
include/asm-generic/vmlinux.lds.h |4
include/linux/init_task.h |3 +++
2 files
with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form .data.foo.
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Sam Ravnborg s...@ravnborg.org
---
include/asm-generic/vmlinux.lds.h |4
include/linux/init_task.h |3 +++
2 files
with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form .data.foo.
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Sam Ravnborg s...@ravnborg.org
---
include/asm-generic/vmlinux.lds.h |4
1 files changed, 4 insertions(+), 0 deletions
Signed-off-by: Tim Abbott tabb...@mit.edu
---
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
with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form .data.foo.
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Sam Ravnborg s...@ravnborg.org
---
include/asm-generic/vmlinux.lds.h |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff
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 tabb...@mit.edu
Cc: Sam Ravnborg s...@ravnborg.org
Acked-by: David Howells dhowe...@redhat.com
---
include/asm-generic
with -ffunction-sections
-fdata-sections. This requires renaming all magic sections with names
of the form .data.foo.
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Sam Ravnborg s...@ravnborg.org
---
include/asm-generic/vmlinux.lds.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff
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 new NOSAVE_DATA linker
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
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
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 tabb...@mit.edu
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc
(); /* -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.
powerpc
.data.nosave should not need a separate output section; this change
moves it into the .data section.
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/kernel/vmlinux.lds.S
.data.read_mostly should not need a separate output section; this
change moves it into the .data section.
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/kernel
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/Kconfig |3 +++
arch/powerpc/include/asm/cache.h |4
2 files changed, 3 insertions(+), 4
is the
correct alignment here.
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/kernel/vmlinux.lds.S |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff
that it 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 tabb...@mit.edu
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc: linuxppc-dev@ozlabs.org
---
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 section definition
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
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 the .text section, causing
link
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
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
data, I suspect having page-aligned data outside _edata
was a bug. Please comment if it is not.
Signed-off-by: Tim Abbott tabb...@mit.edu
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc: linuxppc-dev@ozlabs.org
---
arch/powerpc/kernel/vdso.c
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 tabb...@mit.edu
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc
37 matches
Mail list logo