linux/arch/mips/boot/compressed
Huacai Chen bec0de4cfa
MIPS: Align kernel load address to 64KB
KEXEC needs the new kernel's load address to be aligned on a page
boundary (see sanity_check_segment_list()), but on MIPS the default
vmlinuz load address is only explicitly aligned to 16 bytes.

Since the largest PAGE_SIZE supported by MIPS kernels is 64KB, increase
the alignment calculated by calc_vmlinuz_load_addr to 64KB.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21131/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <james.hogan@mips.com>
Cc: Steven J . Hill <Steven.Hill@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: <stable@vger.kernel.org> # 2.6.36+
2018-11-20 21:05:39 -08:00
..
.gitignore MIPS: gitignore: ignore generated .c files 2017-08-07 11:57:30 +02:00
calc_vmlinuz_load_addr.c MIPS: Align kernel load address to 64KB 2018-11-20 21:05:39 -08:00
dbg.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
decompress.c zboot: fix stack protector in compressed boot phase 2018-04-05 21:36:21 -07:00
dummy.c MIPS: Add support for GZIP / BZIP2 / LZMA compressed kernel images 2009-12-17 01:56:56 +00:00
head.S MIPS: ZBOOT: copy appended dtb to the end of the kernel 2016-08-02 14:00:16 +02:00
ld.script MIPS: Add support for vmlinuz.bin appended dtb 2015-06-21 21:54:15 +02:00
Makefile kbuild: rename LDFLAGS to KBUILD_LDFLAGS 2018-08-24 08:22:08 +09:00
string.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
uart-16550.c MIPS: Fix build with DEBUG_ZBOOT and MACH_JZ4770 2018-05-14 23:54:25 +01:00
uart-alchemy.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
uart-prom.c mips: unify prom_putchar() declarations 2018-07-17 09:40:17 -07:00