# git rev-parse -q --verify 22b8cc3e78f5448b4c5df00303817a9137cd663f^{commit} 22b8cc3e78f5448b4c5df00303817a9137cd663f already have revision, skipping fetch # git checkout -q -f -B kisskb 22b8cc3e78f5448b4c5df00303817a9137cd663f # git clean -qxdf # < git log -1 # commit 22b8cc3e78f5448b4c5df00303817a9137cd663f # Merge: 7b664cc38ea7 97740266de26 # Author: Linus Torvalds # Date: Fri Apr 28 09:43:49 2023 -0700 # # Merge tag 'x86_mm_for_6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip # # Pull x86 LAM (Linear Address Masking) support from Dave Hansen: # "Add support for the new Linear Address Masking CPU feature. # # This is similar to ARM's Top Byte Ignore and allows userspace to store # metadata in some bits of pointers without masking it out before use" # # * tag 'x86_mm_for_6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: # x86/mm/iommu/sva: Do not allow to set FORCE_TAGGED_SVA bit from outside # x86/mm/iommu/sva: Fix error code for LAM enabling failure due to SVA # selftests/x86/lam: Add test cases for LAM vs thread creation # selftests/x86/lam: Add ARCH_FORCE_TAGGED_SVA test cases for linear-address masking # selftests/x86/lam: Add inherit test cases for linear-address masking # selftests/x86/lam: Add io_uring test cases for linear-address masking # selftests/x86/lam: Add mmap and SYSCALL test cases for linear-address masking # selftests/x86/lam: Add malloc and tag-bits test cases for linear-address masking # x86/mm/iommu/sva: Make LAM and SVA mutually exclusive # iommu/sva: Replace pasid_valid() helper with mm_valid_pasid() # mm: Expose untagging mask in /proc/$PID/status # x86/mm: Provide arch_prctl() interface for LAM # x86/mm: Reduce untagged_addr() overhead for systems without LAM # x86/uaccess: Provide untagged_addr() and remove tags before address check # mm: Introduce untagged_addr_remote() # x86/mm: Handle LAM on context switch # x86: CPUID and CR3/CR4 flags for Linear Address Masking # x86: Allow atomic MM_CONTEXT flags setting # x86/mm: Rework address range check in get_user() and put_user() # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 22b8cc3e78f5448b4c5df00303817a9137cd663f # < make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 allmodconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=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_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig CONFIG_BPF_PRELOAD=n # < make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig .config:12741:warning: override: reassigning to symbol GCC_PLUGIN_SANCOV .config:12746:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:12748:warning: override: reassigning to symbol UML_NET_SLIP .config:12753:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/arch/um/os-Linux/util.c:17:24: fatal error: sys/random.h: No such file or directory compilation terminated. make[3]: *** [/kisskb/src/scripts/Makefile.build:252: arch/um/os-Linux/util.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:494: arch/um/os-Linux] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:2025: .] Error 2 make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_um-allmodconfig_um-x86_64 # Build took: 0:11:42.366864