# 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/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 bf82d38c91f857083f2d1b9770fa3df55db2ca3b # < make -s -j 32 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- sun3_defconfig # < make -s -j 32 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 32 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 32 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/include/linux/string.h:20, from /kisskb/src/include/linux/bitmap.h:11, from /kisskb/src/include/linux/cpumask.h:12, from /kisskb/src/include/linux/mm_types_task.h:14, from /kisskb/src/include/linux/mm_types.h:5, from /kisskb/src/include/linux/buildid.h:5, from /kisskb/src/include/linux/module.h:14, from /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:32: In function 'check586', inlined from 'sun3_82586_probe1' at /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:365:6, inlined from 'sun3_82586_probe' at /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:311:8: /kisskb/src/arch/m68k/include/asm/string.h:68:25: warning: '__builtin_memset' offset [0, 11] is out of the bounds [0, 0] [-Warray-bounds] 68 | #define memset(d, c, n) __builtin_memset(d, c, n) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:218:9: note: in expansion of macro 'memset' 218 | memset((char *)p->scp,0, sizeof(struct scp_struct)); | ^~~~~~ In file included from /kisskb/src/include/linux/swab.h:5, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:14, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/m68k/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/m68k/include/asm/bitops.h:545, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:31: /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c: In function 'sun3_82586_timeout': /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:989:122: warning: array subscript 1 is above array bounds of 'volatile struct transmit_cmd_struct *[1]' [-Warray-bounds] 989 | printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); | ~~~~~~~~~~~~^~~ /kisskb/src/include/uapi/linux/swab.h:107:19: note: in definition of macro '__swab16' 107 | __fswab16(x)) | ^ /kisskb/src/include/linux/printk.h:457:26: note: in expansion of macro 'printk_index_wrap' 457 | #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:989:17: note: in expansion of macro 'printk' 989 | printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); | ^~~~~~ /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:155:46: note: while referencing 'xmit_cmds' 155 | volatile struct transmit_cmd_struct *xmit_cmds[NUM_XMIT_BUFFS]; | ^~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_sun3_defconfig_m68k-gcc11 # Build took: 0:01:54.869630