Re: [PATCH -next] x86, doc: Add LZ4 magic number for the new compression

From: H. Peter Anvin
Date: Fri Apr 26 2013 - 16:20:58 EST


On 04/25/2013 10:08 PM, Kyungsik Lee wrote:
> Documentation/x86/boot.txt is updated to list the LZ4 magic number.
> This LZ4 magic number is used for the new compression format.
>
> Signed-off-by: Kyungsik Lee <kyungsik.lee@xxxxxxx>
> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Russell King <rmk@xxxxxxxxxxxxxxxx>
> Cc: Borislav Petkov <bp@xxxxxxxxx>
> Cc: Florian Fainelli <florian@xxxxxxxxxxx>
> Cc: Yann Collet <yann.collet.73@xxxxxxxxx>
> ---
> Documentation/x86/boot.txt | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/x86/boot.txt b/Documentation/x86/boot.txt
> index 3840b6f..fc66d42 100644
> --- a/Documentation/x86/boot.txt
> +++ b/Documentation/x86/boot.txt
> @@ -657,9 +657,10 @@ Protocol: 2.08+
> uncompressed data should be determined using the standard magic
> numbers. The currently supported compression formats are gzip
> (magic numbers 1F 8B or 1F 9E), bzip2 (magic number 42 5A), LZMA
> - (magic number 5D 00), and XZ (magic number FD 37). The uncompressed
> - payload is currently always ELF (magic number 7F 45 4C 46).
> -
> + (magic number 5D 00), XZ (magic number FD 37), and LZ4 (magic number
> + 02 21). The uncompressed payload is currently always ELF (magic
> + number 7F 45 4C 46).
> +
> Field name: payload_length
> Type: read
> Offset/size: 0x24c/4
>

Acked-by: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/