# git rev-parse -q --verify 07953c54a10567e484cefd8f8c782025dc68b3b1^{commit} 07953c54a10567e484cefd8f8c782025dc68b3b1 already have revision, skipping fetch # 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-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.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-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.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-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.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-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:6533:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:6535:warning: override: reassigning to symbol GCC_PLUGINS # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- vmlinux.o: warning: objtool: lkdtm_UNSET_SMEP.cold+0x14b: relocation to !ENDBR: native_write_cr4+0x41 vmlinux.o: warning: objtool: dn_bind.cold+0xc: relocation to !ENDBR: dn_bind+0x419 vmlinux.o: warning: objtool: dn_route_input_slow.cold+0xc: relocation to !ENDBR: dn_route_input_slow+0x3b2 vmlinux.o: warning: objtool: dn_route_input_slow.cold+0x3d: relocation to !ENDBR: dn_route_input_slow+0x291 vmlinux.o: warning: objtool: dn_route_output_slow.cold+0xc: relocation to !ENDBR: dn_route_output_slow+0x6bd vmlinux.o: warning: objtool: dn_route_output_slow.cold+0xa2: relocation to !ENDBR: dn_route_output_slow+0x38e vmlinux.o: warning: objtool: dn_route_output_slow.cold+0xe1: relocation to !ENDBR: dn_route_output_slow+0x1621 vmlinux.o: warning: objtool: dn_route_output_slow.cold+0x10c: relocation to !ENDBR: dn_route_output_slow+0xfd7 vmlinux.o: warning: objtool: dn_route_output_slow.cold+0x137: relocation to !ENDBR: dn_route_output_slow+0x4c6 vmlinux.o: warning: objtool: dn_route_output_slow.cold+0x16c: relocation to !ENDBR: dn_route_output_slow+0x14ba Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:09:05.267833