linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] x86, doc: Add LZ4 magic number for the new compression
@ 2013-04-26  5:08 Kyungsik Lee
  2013-04-26 20:19 ` H. Peter Anvin
  0 siblings, 1 reply; 2+ messages in thread
From: Kyungsik Lee @ 2013-04-26  5:08 UTC (permalink / raw)
  To: Andrew Morton, H. Peter Anvin, Rob Landley
  Cc: linux-doc, linux-kernel, linux-kbuild, x86, celinux-dev,
	hyojun.im, chan.jeong, raphael.andy.lee, Kyungsik Lee,
	Ingo Molnar, Thomas Gleixner, Russell King, Borislav Petkov,
	Florian Fainelli, Yann Collet

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@lge.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Yann Collet <yann.collet.73@gmail.com>
---
 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
-- 
1.8.1.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] x86, doc: Add LZ4 magic number for the new compression
  2013-04-26  5:08 [PATCH -next] x86, doc: Add LZ4 magic number for the new compression Kyungsik Lee
@ 2013-04-26 20:19 ` H. Peter Anvin
  0 siblings, 0 replies; 2+ messages in thread
From: H. Peter Anvin @ 2013-04-26 20:19 UTC (permalink / raw)
  To: Kyungsik Lee
  Cc: Andrew Morton, Rob Landley, linux-doc, linux-kernel, linux-kbuild,
	x86, celinux-dev, hyojun.im, chan.jeong, raphael.andy.lee,
	Ingo Molnar, Thomas Gleixner, Russell King, Borislav Petkov,
	Florian Fainelli, Yann Collet

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@lge.com>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Ingo Molnar <mingo@elte.hu>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Russell King <rmk@arm.linux.org.uk>
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: Florian Fainelli <florian@openwrt.org>
> Cc: Yann Collet <yann.collet.73@gmail.com>
> ---
>  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@linux.intel.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-26 20:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-26  5:08 [PATCH -next] x86, doc: Add LZ4 magic number for the new compression Kyungsik Lee
2013-04-26 20:19 ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).