# git rev-parse -q --verify 14b6320953a3f856a3f93bf9a0e423395baa593d^{commit} 14b6320953a3f856a3f93bf9a0e423395baa593d already have revision, skipping fetch # git checkout -q -f -B kisskb 14b6320953a3f856a3f93bf9a0e423395baa593d # git clean -qxdf # < git log -1 # commit 14b6320953a3f856a3f93bf9a0e423395baa593d # Merge: 5456ec9dab3a aa0d42cacf09 # Author: Linus Torvalds # Date: Tue Nov 12 13:35:13 2024 -0800 # # Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm # # Pull kvm fixes from Paolo Bonzini: # "x86 and selftests fixes. # # x86: # # - When emulating a guest TLB flush for a nested guest, flush vpid01, # not vpid02, if L2 is active but VPID is disabled in vmcs12, i.e. if # L2 and L1 are sharing VPID '0' (from L1's perspective). # # - Fix a bug in the SNP initialization flow where KVM would return '0' # to userspace instead of -errno on failure. # # - Move the Intel PT virtualization (i.e. outputting host trace to # host buffer and guest trace to guest buffer) behind CONFIG_BROKEN. # # - Fix memory leak on failure of KVM_SEV_SNP_LAUNCH_START # # - Fix a bug where KVM fails to inject an interrupt from the IRR after # KVM_SET_LAPIC. # # Selftests: # # - Increase the timeout for the memslot performance selftest to avoid # false failures on arm64 and nested x86 platforms. # # - Fix a goof in the guest_memfd selftest where a for-loop initialized # a bit mask to zero instead of BIT(0). # # - Disable strict aliasing when building KVM selftests to prevent the # compiler from treating things like "u64 *" to "uint64_t *" cases as # undefined behavior, which can lead to nasty, hard to debug # failures. # # - Force -march=x86-64-v2 for KVM x86 selftests if and only if the # uarch is supported by the compiler. # # - Fix broken compilation of kvm selftests after a header sync in # tools/" # # * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: # KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind CONFIG_BROKEN # KVM: x86: Unconditionally set irr_pending when updating APICv state # kvm: svm: Fix gctx page leak on invalid inputs # KVM: selftests: use X86_MEMTYPE_WB instead of VMX_BASIC_MEM_TYPE_WB # KVM: SVM: Propagate error from snp_guest_req_init() to userspace # KVM: nVMX: Treat vpid01 as current if L2 is active, but with VPID disabled # KVM: selftests: Don't force -march=x86-64-v2 if it's unsupported # KVM: selftests: Disable strict aliasing # KVM: selftests: fix unintentional noop test in guest_memfd_test.c # KVM: selftests: memslot_perf_test: increase guest sync timeout # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 14b6320953a3f856a3f93bf9a0e423395baa593d # make -s -j 40 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- allmodconfig # < make -s -j 40 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 40 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 40 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sparc/vdso/vclock_gettime.c:254:1: error: no previous prototype for '__vdso_clock_gettime' [-Werror=missing-prototypes] 254 | __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts) | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/vdso/vclock_gettime.c:282:1: error: no previous prototype for '__vdso_clock_gettime_stick' [-Werror=missing-prototypes] 282 | __vdso_clock_gettime_stick(clockid_t clock, struct __kernel_old_timespec *ts) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/vdso/vclock_gettime.c:307:1: error: no previous prototype for '__vdso_gettimeofday' [-Werror=missing-prototypes] 307 | __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/vdso/vclock_gettime.c:343:1: error: no previous prototype for '__vdso_gettimeofday_stick' [-Werror=missing-prototypes] 343 | __vdso_gettimeofday_stick(struct __kernel_old_timeval *tv, struct timezone *tz) | ^~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:229: arch/sparc/vdso/vclock_gettime.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:478: arch/sparc/vdso] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:478: arch/sparc] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/kernel/fork.c: In function '__do_sys_clone3': /kisskb/src/kernel/fork.c:3077:2: error: #warning clone3() entry point is missing, please fix [-Werror=cpp] 3077 | #warning clone3() entry point is missing, please fix | ^~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:229: kernel/fork.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:478: kernel] Error 2 make[2]: *** [/kisskb/src/Makefile:1936: .] Error 2 make[1]: *** [/kisskb/src/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 Command 'make -s -j 40 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_sparc64-gcc13 # Build took: 0:08:27.868367