# git rev-parse -q --verify bf82d38c91f857083f2d1b9770fa3df55db2ca3b^{commit} bf82d38c91f857083f2d1b9770fa3df55db2ca3b already have revision, skipping fetch # git checkout -q -f -B kisskb bf82d38c91f857083f2d1b9770fa3df55db2ca3b # git clean -qxdf # < git log -1 # commit bf82d38c91f857083f2d1b9770fa3df55db2ca3b # Merge: 30a853c1bded fe08e36be9ec # Author: Linus Torvalds # Date: Sun Nov 27 09:08:40 2022 -0800 # # Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm # # Pull kvm fixes from Paolo Bonzini: # "x86: # # - Fixes for Xen emulation. While nobody should be enabling it in the # kernel (the only public users of the feature are the selftests), # the bug effectively allows userspace to read arbitrary memory. # # - Correctness fixes for nested hypervisors that do not intercept INIT # or SHUTDOWN on AMD; the subsequent CPU reset can cause a # use-after-free when it disables virtualization extensions. While # downgrading the panic to a WARN is quite easy, the full fix is a # bit more laborious; there are also tests. This is the bulk of the # pull request. # # - Fix race condition due to incorrect mmu_lock use around # make_mmu_pages_available(). # # Generic: # # - Obey changes to the kvm.halt_poll_ns module parameter in VMs not # using KVM_CAP_HALT_POLL, restoring behavior from before the # introduction of the capability" # # * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: # KVM: Update gfn_to_pfn_cache khva when it moves within the same page # KVM: x86/xen: Only do in-kernel acceleration of hypercalls for guest CPL0 # KVM: x86/xen: Validate port number in SCHEDOP_poll # KVM: x86/mmu: Fix race condition in direct_page_fault # KVM: x86: remove exit_int_info warning in svm_handle_exit # KVM: selftests: add svm part to triple_fault_test # KVM: x86: allow L1 to not intercept triple fault # kvm: selftests: add svm nested shutdown test # KVM: selftests: move idt_entry to header # KVM: x86: forcibly leave nested mode on vCPU reset # KVM: x86: add kvm_leave_nested # KVM: x86: nSVM: harden svm_free_nested against freeing vmcb02 while still in use # KVM: x86: nSVM: leave nested mode on vCPU free # KVM: Obey kvm.halt_poll_ns in VMs not using KVM_CAP_HALT_POLL # KVM: Avoid re-reading kvm->max_halt_poll_ns during halt-polling # KVM: Cap vcpu->halt_poll_ns before halting rather than after # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 bf82d38c91f857083f2d1b9770fa3df55db2ca3b # < make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 allyesconfig # 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 24 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig .config:12809:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:12813:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:12815:warning: override: reassigning to symbol UML_NET_SLIP .config:12818:warning: override: reassigning to symbol UML_NET_MCAST .config:12820:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/drivers/spi/spi-stm32-qspi.c: In function 'stm32_qspi_dirmap_read': /kisskb/src/drivers/spi/spi-stm32-qspi.c:523:27: error: 'op' is used uninitialized [-Werror=uninitialized] 523 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/spi/spi-stm32-qspi.c:523:27: note: 'op' declared here 523 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/spi/spi-stm32-qspi.c: In function 'stm32_qspi_transfer_one_message': /kisskb/src/drivers/spi/spi-stm32-qspi.c:564:27: error: 'op' is used uninitialized [-Werror=uninitialized] 564 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/spi/spi-stm32-qspi.c:564:27: note: 'op' declared here 564 | struct spi_mem_op op; | ^~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/spi/spi-stm32-qspi.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/spi] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/x86/um/asm/processor.h:41, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/pci.h:35, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:26: /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c: In function 'kfd_cpumask_to_apic_id': /kisskb/src/arch/um/include/asm/processor-generic.h:94:19: error: called object is not a function or function pointer 94 | #define cpu_data (&boot_cpu_data) | ~^~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1930:16: note: in expansion of macro 'cpu_data' 1930 | return cpu_data(first_cpu_of_numa_node).apicid; | ^~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1934:1: error: control reaches end of non-void function [-Werror=return-type] 1934 | } | ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm/amd/amdgpu] Error 2 make[5]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/net/ethernet/marvell/prestera/prestera_flower.c: In function 'prestera_flower_tmplt_create': /kisskb/src/drivers/net/ethernet/marvell/prestera/prestera_flower.c:480:34: error: 'rule' is used uninitialized [-Werror=uninitialized] 480 | struct prestera_acl_rule rule; | ^~~~ /kisskb/src/drivers/net/ethernet/marvell/prestera/prestera_flower.c:480:34: note: 'rule' declared here 480 | struct prestera_acl_rule rule; | ^~~~ cc1: all warnings being treated as errors make[7]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/net/ethernet/marvell/prestera/prestera_flower.o] Error 1 make[6]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/net/ethernet/marvell/prestera] Error 2 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/net/ethernet/marvell] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/net/ethernet] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/net] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers] Error 2 make[1]: *** [/kisskb/src/Makefile:1992: .] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_um-allyesconfig_um-x86_64-gcc12 # Build took: 0:30:22.146368