# git rev-parse -q --verify 07953c54a10567e484cefd8f8c782025dc68b3b1^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify 07953c54a10567e484cefd8f8c782025dc68b3b1^{commit} 07953c54a10567e484cefd8f8c782025dc68b3b1 # git checkout -q -f -B kisskb 07953c54a10567e484cefd8f8c782025dc68b3b1 # git clean -qxdf # < git log -1 # commit 07953c54a10567e484cefd8f8c782025dc68b3b1 # Author: Linus Torvalds # Date: Fri Jun 3 15:46:03 2022 -0700 # # firmware_loader: enable XZ by default if compressed support is enabled # # Commit 23cfbc6ec44e ("firmware: Add the support for ZSTD-compressed # firmware files") added support for ZSTD compression, but in the process # also made the previously default XZ compression a config option. # # That means that anybody who upgrades their kernel and does a # # make oldconfig # # to update their configuration, will end up without the XZ compression # that the configuration used to have. # # Add the 'default y' to make sure this doesn't happen. # # The whole compression question should probably be improved upon, since # it is now possible to "enable" compression in the kernel config but not # enable any actual compression algorithm, which makes it all very # useless. It makes no sense to ask Kconfig questions that enable # situations that are nonsensical like that. # # This at least fixes the immediate problem of a kernel update resulting # in a nonbootable machine because of a missed option. # # Fixes: 23cfbc6ec44e ("firmware: Add the support for ZSTD-compressed firmware files") # Cc: Takashi Iwai # Cc: Greg Kroah-Hartman # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 07953c54a10567e484cefd8f8c782025dc68b3b1 # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:7066:warning: override: reassigning to symbol STANDALONE .config:7069:warning: override: reassigning to symbol GCC_PLUGINS # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- vmlinux.o: warning: objtool: fixup_exception+0x2e8: unreachable instruction vmlinux.o: warning: objtool: relocate_restore_code+0x3d: relocation to !ENDBR: sort_extable+0x18 Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:03:06.512965