1*d2c16535SElliott Hughesconfig XZ_DEC 2*d2c16535SElliott Hughes tristate "XZ decompression support" 3*d2c16535SElliott Hughes select CRC32 4*d2c16535SElliott Hughes help 5*d2c16535SElliott Hughes LZMA2 compression algorithm and BCJ filters are supported using 6*d2c16535SElliott Hughes the .xz file format as the container. For integrity checking, 7*d2c16535SElliott Hughes CRC32 is supported. See Documentation/staging/xz.rst for more 8*d2c16535SElliott Hughes information. 9*d2c16535SElliott Hughes 10*d2c16535SElliott Hughesif XZ_DEC 11*d2c16535SElliott Hughes 12*d2c16535SElliott Hughesconfig XZ_DEC_X86 13*d2c16535SElliott Hughes bool "x86 BCJ filter decoder" if EXPERT 14*d2c16535SElliott Hughes default y 15*d2c16535SElliott Hughes select XZ_DEC_BCJ 16*d2c16535SElliott Hughes 17*d2c16535SElliott Hughesconfig XZ_DEC_POWERPC 18*d2c16535SElliott Hughes bool "PowerPC BCJ filter decoder" if EXPERT 19*d2c16535SElliott Hughes default y 20*d2c16535SElliott Hughes select XZ_DEC_BCJ 21*d2c16535SElliott Hughes 22*d2c16535SElliott Hughesconfig XZ_DEC_IA64 23*d2c16535SElliott Hughes bool "IA-64 BCJ filter decoder" if EXPERT 24*d2c16535SElliott Hughes default y 25*d2c16535SElliott Hughes select XZ_DEC_BCJ 26*d2c16535SElliott Hughes 27*d2c16535SElliott Hughesconfig XZ_DEC_ARM 28*d2c16535SElliott Hughes bool "ARM BCJ filter decoder" if EXPERT 29*d2c16535SElliott Hughes default y 30*d2c16535SElliott Hughes select XZ_DEC_BCJ 31*d2c16535SElliott Hughes 32*d2c16535SElliott Hughesconfig XZ_DEC_ARMTHUMB 33*d2c16535SElliott Hughes bool "ARM-Thumb BCJ filter decoder" if EXPERT 34*d2c16535SElliott Hughes default y 35*d2c16535SElliott Hughes select XZ_DEC_BCJ 36*d2c16535SElliott Hughes 37*d2c16535SElliott Hughesconfig XZ_DEC_ARM64 38*d2c16535SElliott Hughes bool "ARM64 BCJ filter decoder" if EXPERT 39*d2c16535SElliott Hughes default y 40*d2c16535SElliott Hughes select XZ_DEC_BCJ 41*d2c16535SElliott Hughes 42*d2c16535SElliott Hughesconfig XZ_DEC_SPARC 43*d2c16535SElliott Hughes bool "SPARC BCJ filter decoder" if EXPERT 44*d2c16535SElliott Hughes default y 45*d2c16535SElliott Hughes select XZ_DEC_BCJ 46*d2c16535SElliott Hughes 47*d2c16535SElliott Hughesconfig XZ_DEC_RISCV 48*d2c16535SElliott Hughes bool "RISC-V BCJ filter decoder" if EXPERT 49*d2c16535SElliott Hughes default y 50*d2c16535SElliott Hughes select XZ_DEC_BCJ 51*d2c16535SElliott Hughes 52*d2c16535SElliott Hughesconfig XZ_DEC_MICROLZMA 53*d2c16535SElliott Hughes bool "MicroLZMA decoder" 54*d2c16535SElliott Hughes default n 55*d2c16535SElliott Hughes help 56*d2c16535SElliott Hughes MicroLZMA is a header format variant where the first byte 57*d2c16535SElliott Hughes of a raw LZMA stream (without the end of stream marker) has 58*d2c16535SElliott Hughes been replaced with a bitwise-negation of the lc/lp/pb 59*d2c16535SElliott Hughes properties byte. MicroLZMA was created to be used in EROFS 60*d2c16535SElliott Hughes but can be used by other things too where wasting minimal 61*d2c16535SElliott Hughes amount of space for headers is important. 62*d2c16535SElliott Hughes 63*d2c16535SElliott Hughes Unless you know that you need this, say N. 64*d2c16535SElliott Hughes 65*d2c16535SElliott Hughesendif 66*d2c16535SElliott Hughes 67*d2c16535SElliott Hughesconfig XZ_DEC_BCJ 68*d2c16535SElliott Hughes bool 69*d2c16535SElliott Hughes default n 70*d2c16535SElliott Hughes 71*d2c16535SElliott Hughesconfig XZ_DEC_TEST 72*d2c16535SElliott Hughes tristate "XZ decompressor tester" 73*d2c16535SElliott Hughes default n 74*d2c16535SElliott Hughes depends on XZ_DEC 75*d2c16535SElliott Hughes help 76*d2c16535SElliott Hughes This allows passing .xz files to the in-kernel XZ decoder via 77*d2c16535SElliott Hughes a character special file. It calculates CRC32 of the decompressed 78*d2c16535SElliott Hughes data and writes diagnostics to the system log. 79*d2c16535SElliott Hughes 80*d2c16535SElliott Hughes Unless you are developing the XZ decoder, you don't need this 81*d2c16535SElliott Hughes and should say N. 82