# git rev-parse -q --verify 00a5ae218d57741088068799b810416ac249a9ce^{commit} 00a5ae218d57741088068799b810416ac249a9ce already have revision, skipping fetch # git checkout -q -f -B kisskb 00a5ae218d57741088068799b810416ac249a9ce # git clean -qxdf # git log -1 commit 00a5ae218d57741088068799b810416ac249a9ce Merge: d6bbd51 2fd9c41 Author: Linus Torvalds Date: Wed Jan 3 16:41:07 2018 -0800 Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull x86 page table isolation fixes from Thomas Gleixner: "A couple of urgent fixes for PTI: - Fix a PTE mismatch between user and kernel visible mapping of the cpu entry area (differs vs. the GLB bit) and causes a TLB mismatch MCE on older AMD K8 machines - Fix the misplaced CR3 switch in the SYSCALL compat entry code which causes access to unmapped kernel memory resulting in double faults. - Fix the section mismatch of the cpu_tss_rw percpu storage caused by using a different mechanism for declaration and definition. - Two fixes for dumpstack which help to decode entry stack issues better - Enable PTI by default in Kconfig. We should have done that earlier, but it slipped through the cracks. - Exclude AMD from the PTI enforcement. Not necessarily a fix, but if AMD is so confident that they are not affected, then we should not burden users with the overhead" * 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/process: Define cpu_tss_rw in same section as declaration x86/pti: Switch to kernel CR3 at early in entry_SYSCALL_compat() x86/dumpstack: Print registers for first stack frame x86/dumpstack: Fix partial register dumps x86/pti: Make sure the user/kernel PTEs match x86/cpu, x86/pti: Do not enable PTI on AMD processors x86/pti: Enable PTI by default # < /opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < git log --format=%s --max-count=1 00a5ae218d57741088068799b810416ac249a9ce # < make -j 40 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=0x10536BC0 # 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 40 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 40 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 CHK include/config/kernel.release SYSTBL arch/x86/include/generated/asm/syscalls_32.h SYSHDR arch/x86/include/generated/asm/unistd_32_ia32.h HOSTCC scripts/basic/bin2c SYSHDR arch/x86/include/generated/asm/unistd_64_x32.h SYSTBL arch/x86/include/generated/asm/syscalls_64.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 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 MKDIR /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/arch/x86/lib/ 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 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/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 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/help.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 UPD include/config/kernel.release 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 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]: Leaving directory '/home/kisskb/slave/build/linus_x86_64-randconfig_x86_64' Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -j 40 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:06.177529