# git rev-parse -q --verify db886979683a8360ced9b24ab1125ad0c4d2cf76^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify db886979683a8360ced9b24ab1125ad0c4d2cf76^{commit} db886979683a8360ced9b24ab1125ad0c4d2cf76 # git checkout -q -f -B kisskb db886979683a8360ced9b24ab1125ad0c4d2cf76 # git clean -qxdf # < git log -1 # commit db886979683a8360ced9b24ab1125ad0c4d2cf76 # Author: Nathan Chancellor # Date: Wed Jul 13 08:24:37 2022 -0700 # # x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current # # Clang warns: # # arch/x86/kernel/cpu/bugs.c:58:21: error: section attribute is specified on redeclared variable [-Werror,-Wsection] # DEFINE_PER_CPU(u64, x86_spec_ctrl_current); # ^ # arch/x86/include/asm/nospec-branch.h:283:12: note: previous declaration is here # extern u64 x86_spec_ctrl_current; # ^ # 1 error generated. # # The declaration should be using DECLARE_PER_CPU instead so all # attributes stay in sync. # # Cc: stable@vger.kernel.org # Fixes: fc02735b14ff ("KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS") # Reported-by: kernel test robot # Signed-off-by: Nathan Chancellor # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 db886979683a8360ced9b24ab1125ad0c4d2cf76 # < make -s -j 40 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- randconfig # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # < make -s -j 40 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 40 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig .config:6263:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD # make -s -j 40 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 # Build took: 0:03:42.136706