parisc: Include compressed vmlinux file in vmlinuz boot kernel
authorHelge Deller <deller@gmx.de>
Mon, 15 Oct 2018 20:14:01 +0000 (22:14 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 17 Oct 2018 06:18:01 +0000 (08:18 +0200)
commit34c201ae49fe9e0bf3b389da5869d810f201c740
tree74d0bcbe8ad7befaffda4cb81429d556babf35dc
parentdb139d71c4c377c56a67ae219f120186ce9934d1
parisc: Include compressed vmlinux file in vmlinuz boot kernel

Change the parisc vmlinuz boot code to include and process the real
compressed vmlinux.gz ELF file instead of a compressed memory dump.
This brings parisc in sync on how it's done on x86_64.

The benefit of this change is that, e.g. for debugging purposes, one can
then extract the vmlinux file out of the vmlinuz which was booted which
wasn't possible before. This can be archieved with the existing
scripts/extract-vmlinux script, which just needs a small tweak to prefer
to extract a compressed file before trying the existing given binary.

The downside of this approach is that due to the extra round of
decompression/ELF processing we need more physical memory installed to
be able to boot a kernel.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/boot/compressed/Makefile
arch/parisc/boot/compressed/misc.c
arch/parisc/boot/compressed/vmlinux.lds.S
arch/parisc/include/asm/page.h