# git rev-parse -q --verify c0136321924dd338bb8fc5661c4b0e27441a8d04^{commit} c0136321924dd338bb8fc5661c4b0e27441a8d04 already have revision, skipping fetch # git checkout -q -f -B kisskb c0136321924dd338bb8fc5661c4b0e27441a8d04 # git clean -qxdf # git log -1 commit c0136321924dd338bb8fc5661c4b0e27441a8d04 Merge: 846ade7 3a0a397 Author: Linus Torvalds Date: Thu Feb 8 10:44:25 2018 -0800 Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux Pull more arm64 updates from Catalin Marinas: "As I mentioned in the last pull request, there's a second batch of security updates for arm64 with mitigations for Spectre/v1 and an improved one for Spectre/v2 (via a newly defined firmware interface API). Spectre v1 mitigation: - back-end version of array_index_mask_nospec() - masking of the syscall number to restrict speculation through the syscall table - masking of __user pointers prior to deference in uaccess routines Spectre v2 mitigation update: - using the new firmware SMC calling convention specification update - removing the current PSCI GET_VERSION firmware call mitigation as vendors are deploying new SMCCC-capable firmware - additional branch predictor hardening for synchronous exceptions and interrupts while in user mode Meltdown v3 mitigation update: - Cavium Thunder X is unaffected but a hardware erratum gets in the way. The kernel now starts with the page tables mapped as global and switches to non-global if kpti needs to be enabled. Other: - Theoretical trylock bug fixed" * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (38 commits) arm64: Kill PSCI_GET_VERSION as a variant-2 workaround arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support arm/arm64: smccc: Implement SMCCC v1.1 inline primitive arm/arm64: smccc: Make function identifiers an unsigned quantity firmware/psci: Expose SMCCC version through psci_ops firmware/psci: Expose PSCI conduit arm64: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support arm/arm64: KVM: Turn kvm_psci_version into a static inline arm/arm64: KVM: Advertise SMCCC v1.1 arm/arm64: KVM: Implement PSCI 1.0 support arm/arm64: KVM: Add smccc accessors to PSCI code arm/arm64: KVM: Add PSCI_VERSION helper arm/arm64: KVM: Consolidate the PSCI include files arm64: KVM: Increment PC after handling an SMC trap arm: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls arm64: entry: Apply BP hardening for suspicious interrupts from EL0 arm64: entry: Apply BP hardening for high-priority synchronous exceptions arm64: futex: Mask __user pointers prior to dereference ... # < /opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < git log --format=%s --max-count=1 c0136321924dd338bb8fc5661c4b0e27441a8d04 # < make -j 48 ARCH=x86_64 O=/home/kisskb/slave/build/linus_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- randconfig KCONFIG_SEED=0xFAEA2390 # 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 # yes \n | make -j 48 ARCH=x86_64 O=/home/kisskb/slave/build/linus_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -j 48 ARCH=x86_64 O=/home/kisskb/slave/build/linus_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- make[1]: Entering directory '/home/kisskb/slave/build/linus_x86_64-randconfig_x86_64' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig scripts/Makefile.gcc-plugins:24: warning: cannot use CONFIG_KCOV: -fsanitize-coverage=trace-pc is not supported by compiler CHK include/config/kernel.release HOSTCC scripts/basic/bin2c SYSTBL arch/x86/include/generated/asm/syscalls_32.h SYSHDR arch/x86/include/generated/asm/unistd_32_ia32.h SYSHDR arch/x86/include/generated/asm/unistd_64_x32.h SYSTBL arch/x86/include/generated/asm/syscalls_64.h HYPERCALLS arch/x86/include/generated/asm/xen-hypercalls.h SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h GEN ./Makefile WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h WRAP arch/x86/include/generated/uapi/asm/poll.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h gcc: error trying to exec 'cc1plus': execvp: No such file or directory Cannot use CONFIG_GCC_PLUGINS: your gcc installation does not support plugins, perhaps the necessary headers are missing? scripts/Makefile.gcc-plugins:69: recipe for target 'gcc-plugins-check' failed make[1]: *** [gcc-plugins-check] Error 1 make[1]: *** Waiting for unfinished jobs.... DESCEND objtool HOSTCC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/fixdep.o HOSTLD /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/fixdep-in.o LINK /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/fixdep CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/builtin-check.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/builtin-orc.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/check.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/orc_gen.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/orc_dump.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/elf.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/special.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/objtool.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/libstring.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/str_error_r.o MKDIR /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/arch/x86/lib/ GEN /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/arch/x86/lib/inat-tables.c CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/help.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/exec-cmd.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/pager.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/parse-options.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/run-command.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/subcmd-config.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/sigchain.o UPD include/config/kernel.release CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/arch/x86/decode.o LD /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/arch/x86/objtool-in.o LD /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/libsubcmd-in.o AR /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/libsubcmd.a LD /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/objtool-in.o LINK /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/objtool make[1]: *** wait: No child processes. Stop. Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -j 48 ARCH=x86_64 O=/home/kisskb/slave/build/linus_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64 # Build took: 0:00:07.305266