{"shas":[["d784117b6436d7aa0a0998ae8c71a5e3b15e4fa3","54c4a333fa12d5afeed41b942e93e34dc37c3466@tukaani.org","decompressors: add XZ decompressor module\n\nIn userspace, the .lzma format has become mostly a legacy file format that\ngot superseded by the .xz format.  Similarly, LZMA Utils was superseded by\nXZ Utils.\n\nThese patches add support for XZ decompression into the kernel.  Most of\nthe code is as is from XZ Embedded <http://tukaani.org/xz/embedded.html>.\nIt was written for the Linux kernel but is usable in other projects too.\n\nAdvantages of XZ over the current LZMA code in the kernel:\n  - Nice API that can be used by other kernel modules; it's\n    not limited to kernel, initramfs, and initrd decompression.\n  - Integrity check support (CRC32)\n  - BCJ filters improve compression of executable code on\n    certain architectures. These together with LZMA2 can\n    produce a few percent smaller kernel or Squashfs images\n    than plain LZMA without making the decompression slower.\n\nThis patch: Add the main decompression code (xz_dec), testing module\n(xz_dec_test), wrapper script (xz_wrap.sh) for the xz command line tool,\nand documentation.  The xz_dec module is enough to have a usable XZ\ndecompressor e.g.  for Squashfs.\n\nSigned-off-by: Lasse Collin <lasse.collin@tukaani.org>\nCc: \"H. Peter Anvin\" <hpa@zytor.com>\nCc: Alain Knaff <alain@knaff.lu>\nCc: Albin Tonnerre <albin.tonnerre@free-electrons.com>\nCc: Phillip Lougher <phillip@lougher.demon.co.uk>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","Lasse Collin"],["e40b190a46b7657afe1f3f69e27079f5822a1be3","54c4a333fa12d5afeed41b942e93e34dc37c3466@tukaani.org","decompressors: add boot-time XZ support\n\nThis implements the API defined in <linux/decompress/generic.h> which is\nused for kernel, initramfs, and initrd decompression.  This patch together\nwith the first patch is enough for XZ-compressed initramfs and initrd;\nXZ-compressed kernel will need arch-specific changes.\n\nThe buffering requirements described in decompress_unxz.c are stricter\nthan with gzip, so the relevant changes should be done to the\narch-specific code when adding support for XZ-compressed kernel.\nSimilarly, the heap size in arch-specific pre-boot code may need to be\nincreased (30 KiB is enough).\n\nThe XZ decompressor needs memmove(), memeq() (memcmp() == 0), and\nmemzero() (memset(ptr, 0, size)), which aren't available in all\narch-specific pre-boot environments.  I'm including simple versions in\ndecompress_unxz.c, but a cleaner solution would naturally be nicer.\n\nSigned-off-by: Lasse Collin <lasse.collin@tukaani.org>\nCc: \"H. Peter Anvin\" <hpa@zytor.com>\nCc: Alain Knaff <alain@knaff.lu>\nCc: Albin Tonnerre <albin.tonnerre@free-electrons.com>\nCc: Phillip Lougher <phillip@lougher.demon.co.uk>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","Lasse Collin"],["4563bf6949129d6269a30dc1c65072a7c198800b","54c4a333fa12d5afeed41b942e93e34dc37c3466@tukaani.org","XZ decompressor: Fix decoding of empty LZMA2 streams\n\nThe old code considered valid empty LZMA2 streams to be corrupt.\nNote that a typical empty .xz file has no LZMA2 data at all,\nand thus most .xz files having no uncompressed data are handled\ncorrectly even without this fix.\n\nSigned-off-by: Lasse Collin <lasse.collin@tukaani.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","Lasse Collin"],["76c106cd61e484b8c493b8c5f29ebb42e601f42b","209ba179947c35aa8a2a46f4caa398fd10622190@gmail.com","ARM: support XZ compressed kernels","Arne Coucheron"],["77bdad7706a9e4a368caa8bf3c48523bf438d31b","26c0bfb8dcba4564971f8a2628200e91d7ecbf52@gmail.com","ARM: Talon: switch to XZ kernel compression; initramfs to none","existz"]],"ref":"refs/heads/0.4.x-dev","size":5,"head":"77bdad7706a9e4a368caa8bf3c48523bf438d31b","push_id":37972356}