# 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/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 bf82d38c91f857083f2d1b9770fa3df55db2ca3b # < make -s -j 160 ARCH=sh O=/kisskb/build/linus_sh-allnoconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux- allnoconfig # < make -s -j 160 ARCH=sh O=/kisskb/build/linus_sh-allnoconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 160 ARCH=sh O=/kisskb/build/linus_sh-allnoconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 160 ARCH=sh O=/kisskb/build/linus_sh-allnoconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/arch/sh/include/asm/hw_irq.h:6, from /kisskb/src/include/linux/irq.h:596, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/serial_core.h:13, from /kisskb/src/include/linux/serial_sci.h:6, from /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:11: /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:105:31: note: in expansion of macro '_INTC_ARRAY' 105 | _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:106:9: note: in expansion of macro '_INTC_ARRAY' 106 | _INTC_ARRAY(mask_regs), _INTC_ARRAY(prio_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:9: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:34: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ Kernel: arch/sh/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_sh-allnoconfig_sh4-gcc11 # Build took: 0:00:28.424663