# git rev-parse -q --verify 68453767131a5deec1e8f9ac92a9042f929e585d^{commit} 68453767131a5deec1e8f9ac92a9042f929e585d already have revision, skipping fetch # git checkout -q -f -B kisskb 68453767131a5deec1e8f9ac92a9042f929e585d # git clean -qxdf # < git log -1 # commit 68453767131a5deec1e8f9ac92a9042f929e585d # Author: Randy Dunlap # Date: Fri Mar 11 11:49:12 2022 -0800 # # ARM: Spectre-BHB: provide empty stub for non-config # # When CONFIG_GENERIC_CPU_VULNERABILITIES is not set, references # to spectre_v2_update_state() cause a build error, so provide an # empty stub for that function when the Kconfig option is not set. # # Fixes this build error: # # arm-linux-gnueabi-ld: arch/arm/mm/proc-v7-bugs.o: in function `cpu_v7_bugs_init': # proc-v7-bugs.c:(.text+0x52): undefined reference to `spectre_v2_update_state' # arm-linux-gnueabi-ld: proc-v7-bugs.c:(.text+0x82): undefined reference to `spectre_v2_update_state' # # Fixes: b9baf5c8c5c3 ("ARM: Spectre-BHB workaround") # Signed-off-by: Randy Dunlap # Reported-by: kernel test robot # Cc: Russell King # Cc: Catalin Marinas # Cc: linux-arm-kernel@lists.infradead.org # Cc: patches@armlinux.org.uk # Acked-by: Russell King (Oracle) # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 68453767131a5deec1e8f9ac92a9042f929e585d # < make -s -j 120 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- randconfig # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # < make -s -j 120 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 120 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig .config:5535:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD # make -s -j 120 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 # Build took: 0:01:26.845216