- x86_64-mm-i386-reloc-data-4k-aligned.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     i386: Force data segment to be 4K aligned
has been removed from the -mm tree.  Its filename was
     x86_64-mm-i386-reloc-data-4k-aligned.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: i386: Force data segment to be 4K aligned
From: Vivek Goyal <vgoyal@xxxxxxxxxx>

o Currently there is no specific alignment restriction in linker script
  and in some cases it can be placed non 4K aligned addresses. This fails
  kexec which checks that segment to be loaded is page aligned.

o I guess, it does not harm data segment to be 4K aligned.

Signed-off-by: Vivek Goyal <vgoyal@xxxxxxxxxx>
Signed-off-by: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/i386/kernel/vmlinux.lds.S |    1 +
 1 file changed, 1 insertion(+)

diff -puN arch/i386/kernel/vmlinux.lds.S~x86_64-mm-i386-reloc-data-4k-aligned arch/i386/kernel/vmlinux.lds.S
--- a/arch/i386/kernel/vmlinux.lds.S~x86_64-mm-i386-reloc-data-4k-aligned
+++ a/arch/i386/kernel/vmlinux.lds.S
@@ -51,6 +51,7 @@ SECTIONS
   __tracedata_end = .;
 
   /* writeable */
+  . = ALIGN(4096);
   .data : AT(ADDR(.data) - LOAD_OFFSET) {	/* Data */
 	*(.data)
 	CONSTRUCTORS
_

Patches currently in -mm which might be from vgoyal@xxxxxxxxxx are

origin.patch
fix-x86_64-mm-i386-reloc-cleanup-align.patch
fix-x86_64-mm-i386-reloc-kallsyms.patch
i386-mark-config_relocatable-experimental.patch
i386-extend-bzimage-protocol-for-relocatable-protected-mode-kernel.patch
i386-convert-more-absolute-symbols-to-section-relative.patch
clockevents-core-check-for-clock-event-device-handler-being-non-null-before-calling-it.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux