# git rev-parse -q --verify 24625f7d91fb86b91e14749633a7f022f5866116^{commit} 24625f7d91fb86b91e14749633a7f022f5866116 already have revision, skipping fetch # git checkout -q -f -B kisskb 24625f7d91fb86b91e14749633a7f022f5866116 # git clean -qxdf # < git log -1 # commit 24625f7d91fb86b91e14749633a7f022f5866116 # Merge: 8e8afafb0b55 e0f3f46e4206 # Author: Linus Torvalds # Date: Tue Jun 14 07:57:18 2022 -0700 # # Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm # # Pull kvm fixes from Paolo Bonzini: # "While last week's pull request contained miscellaneous fixes for x86, # this one covers other architectures, selftests changes, and a bigger # series for APIC virtualization bugs that were discovered during 5.20 # development. The idea is to base 5.20 development for KVM on top of # this tag. # # ARM64: # # - Properly reset the SVE/SME flags on vcpu load # # - Fix a vgic-v2 regression regarding accessing the pending state of a # HW interrupt from userspace (and make the code common with vgic-v3) # # - Fix access to the idreg range for protected guests # # - Ignore 'kvm-arm.mode=protected' when using VHE # # - Return an error from kvm_arch_init_vm() on allocation failure # # - A bunch of small cleanups (comments, annotations, indentation) # # RISC-V: # # - Typo fix in arch/riscv/kvm/vmid.c # # - Remove broken reference pattern from MAINTAINERS entry # # x86-64: # # - Fix error in page tables with MKTME enabled # # - Dirty page tracking performance test extended to running a nested # guest # # - Disable APICv/AVIC in cases that it cannot implement correctly" # # [ This merge also fixes a misplaced end parenthesis bug introduced in # commit 3743c2f02517 ("KVM: x86: inhibit APICv/AVIC on changes to APIC # ID or APIC base") pointed out by Sean Christopherson ] # # Link: https://lore.kernel.org/all/20220610191813.371682-1-seanjc@google.com/ # # * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (34 commits) # KVM: selftests: Restrict test region to 48-bit physical addresses when using nested # KVM: selftests: Add option to run dirty_log_perf_test vCPUs in L2 # KVM: selftests: Clean up LIBKVM files in Makefile # KVM: selftests: Link selftests directly with lib object files # KVM: selftests: Drop unnecessary rule for STATIC_LIBS # KVM: selftests: Add a helper to check EPT/VPID capabilities # KVM: selftests: Move VMX_EPT_VPID_CAP_AD_BITS to vmx.h # KVM: selftests: Refactor nested_map() to specify target level # KVM: selftests: Drop stale function parameter comment for nested_map() # KVM: selftests: Add option to create 2M and 1G EPT mappings # KVM: selftests: Replace x86_page_size with PG_LEVEL_XX # KVM: x86: SVM: fix nested PAUSE filtering when L0 intercepts PAUSE # KVM: x86: SVM: drop preempt-safe wrappers for avic_vcpu_load/put # KVM: x86: disable preemption around the call to kvm_arch_vcpu_{un|}blocking # KVM: x86: disable preemption while updating apicv inhibition # KVM: x86: SVM: fix avic_kick_target_vcpus_fast # KVM: x86: SVM: remove avic's broken code that updated APIC ID # KVM: x86: inhibit APICv/AVIC on changes to APIC ID or APIC base # KVM: x86: document AVIC/APICv inhibit reasons # KVM: x86/mmu: Set memory encryption "value", not "mask", in shadow PDPTRs # ... # < /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 24625f7d91fb86b91e14749633a7f022f5866116 # < make -s -j 24 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 24 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 24 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 24 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] /kisskb/src/arch/sh/kernel/machvec.c: In function 'sh_mv_setup': /kisskb/src/arch/sh/kernel/machvec.c:105:33: warning: array subscript 'struct sh_machine_vector[0]' is partly outside array bounds of 'long int[1]' [-Warray-bounds] 105 | sh_mv = *(struct sh_machine_vector *)&__machvec_start; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/sh/kernel/machvec.c:13: /kisskb/src/arch/sh/include/asm/sections.h:7:13: note: while referencing '__machvec_start' 7 | extern long __machvec_start, __machvec_end; | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/sh/include/asm/hw_irq.h:6, from /kisskb/src/include/linux/irq.h:594, 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:36.240333