1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "XZ decompression support"
6 LZMA2 compression algorithm and BCJ filters are supported using
7 the .xz file format as the container. For integrity checking,
8 CRC32 is supported. See Documentation/staging/xz.rst for more
14 bool "x86 BCJ filter decoder" if EXPERT
19 bool "PowerPC BCJ filter decoder" if EXPERT
24 bool "ARM BCJ filter decoder" if EXPERT
28 config XZ_DEC_ARMTHUMB
29 bool "ARM-Thumb BCJ filter decoder" if EXPERT
34 bool "ARM64 BCJ filter decoder" if EXPERT
39 bool "SPARC BCJ filter decoder" if EXPERT
44 bool "RISC-V BCJ filter decoder" if EXPERT
48 config XZ_DEC_MICROLZMA
49 bool "MicroLZMA decoder"
52 MicroLZMA is a header format variant where the first byte
53 of a raw LZMA stream (without the end of stream marker) has
54 been replaced with a bitwise-negation of the lc/lp/pb
55 properties byte. MicroLZMA was created to be used in EROFS
56 but can be used by other things too where wasting minimal
57 amount of space for headers is important.
59 Unless you know that you need this, say N.
68 tristate "XZ decompressor tester"
72 This allows passing .xz files to the in-kernel XZ decoder via
73 a character special file. It calculates CRC32 of the decompressed
74 data and writes diagnostics to the system log.
76 Unless you are developing the XZ decoder, you don't need this