The following series adds support and APIs for handling uImage formatted RAMDISK. The support for PPC has been implemented. Changes since V1: * Do not uncompress RAMDISK uImage (Pointed by Sebastian) * Introduce new APIs uImage_probe_kernel/uImage_probe_ramdisk to be used by the arch specific code. * Fix coding style related issues pointed by Sebastian. * Add a new patch for fixing payload length calculation and also fix a vulnerability where the image is manipulated. (catches only the file size related changes. When compiled with zlib, CRC check is enabled by default and the contents are verified.) TODO: Implement crc check in kexec, if ZLIB is not compiled in --- Suzuki K. Poulose (4): kexec/uImage: Introduce uImage_probe_kernel kexec/uImage: Fix the payload length in uImage_load kexec/uImage: Recognize uImage RAM Disks ppc/uImage: Add support for RAM Disks include/kexec-uImage.h | 2 ++ kexec/arch/arm/kexec-uImage-arm.c | 2 +- kexec/arch/ppc/kexec-uImage-ppc.c | 29 +++++++++++++++++++++- kexec/arch/sh/kexec-uImage-sh.c | 2 +- kexec/kexec-uImage.c | 48 ++++++++++++++++++++++++++++++++++--- 5 files changed, 75 insertions(+), 8 deletions(-) -- Suzuki