# git rev-parse -q --verify 71d7b52cc33bc3b6697cce8a0a5ac9032f372e47^{commit} 71d7b52cc33bc3b6697cce8a0a5ac9032f372e47 already have revision, skipping fetch # git checkout -q -f -B kisskb 71d7b52cc33bc3b6697cce8a0a5ac9032f372e47 # git clean -qxdf # < git log -1 # commit 71d7b52cc33bc3b6697cce8a0a5ac9032f372e47 # Merge: 51214520ad62 db574f2f96d0 # Author: Linus Torvalds # Date: Wed Jun 5 08:43:41 2024 -0700 # # Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm # # Pull kvm fixes from Paolo Bonzini: # "This is dominated by a couple large series for ARM and x86 # respectively, but apart from that things are calm. # # ARM: # # - Large set of FP/SVE fixes for pKVM, addressing the fallout from the # per-CPU data rework and making sure that the host is not involved # in the FP/SVE switching any more # # - Allow FEAT_BTI to be enabled with NV now that FEAT_PAUTH is # completely supported # # - Fix for the respective priorities of Failed PAC, Illegal Execution # state and Instruction Abort exceptions # # - Fix the handling of AArch32 instruction traps failing their # condition code, which was broken by the introduction of # ESR_EL2.ISS2 # # - Allow vcpus running in AArch32 state to be restored in System mode # # - Fix AArch32 GPR restore that would lose the 64 bit state under some # conditions # # RISC-V: # # - No need to use mask when hart-index-bits is 0 # # - Fix incorrect reg_subtype labels in # kvm_riscv_vcpu_set_reg_isa_ext() # # x86: # # - Fixes and debugging help for the #VE sanity check. # # Also disable it by default, even for CONFIG_DEBUG_KERNEL, because # it was found to trigger spuriously (most likely a processor erratum # as the exact symptoms vary by generation). # # - Avoid WARN() when two NMIs arrive simultaneously during an # NMI-disabled situation (GIF=0 or interrupt shadow) when the # processor supports virtual NMI. # # While generally KVM will not request an NMI window when virtual # NMIs are supported, in this case it *does* have to single-step over # the interrupt shadow or enable the STGI intercept, in order to # deliver the latched second NMI. # # - Drop support for hand tuning APIC timer advancement from userspace. # # Since we have adaptive tuning, and it has proved to work well, drop # the module parameter for manual configuration and with it a few # stupid bugs that it had" # # * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (32 commits) # KVM: x86/mmu: Don't save mmu_invalidate_seq after checking private attr # KVM: arm64: Ensure that SME controls are disabled in protected mode # KVM: arm64: Refactor CPACR trap bit setting/clearing to use ELx format # KVM: arm64: Consolidate initializing the host data's fpsimd_state/sve in pKVM # KVM: arm64: Eagerly restore host fpsimd/sve state in pKVM # KVM: arm64: Allocate memory mapped at hyp for host sve state in pKVM # KVM: arm64: Specialize handling of host fpsimd state on trap # KVM: arm64: Abstract set/clear of CPTR_EL2 bits behind helper # KVM: arm64: Fix prototype for __sve_save_state/__sve_restore_state # KVM: arm64: Reintroduce __sve_save_state # KVM: x86: Drop support for hand tuning APIC timer advancement from userspace # KVM: SEV-ES: Delegate LBR virtualization to the processor # KVM: SEV-ES: Disallow SEV-ES guests when X86_FEATURE_LBRV is absent # KVM: SEV-ES: Prevent MSR access post VMSA encryption # RISC-V: KVM: Fix incorrect reg_subtype labels in kvm_riscv_vcpu_set_reg_isa_ext function # RISC-V: KVM: No need to use mask when hart-index-bit is 0 # KVM: arm64: nv: Expose BTI and CSV_frac to a guest hypervisor # KVM: arm64: nv: Fix relative priorities of exceptions generated by ERETAx # KVM: arm64: AArch32: Fix spurious trapping of conditional instructions # KVM: arm64: Allow AArch32 PSTATE.M to be restored as System mode # ... # < /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 71d7b52cc33bc3b6697cce8a0a5ac9032f372e47 # make -s -j 40 ARCH=um O=/kisskb/build/linus_allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 allmodconfig # 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 # Added to kconfig CONFIG_SPI_STM32_QSPI=n # < make -s -j 40 ARCH=um O=/kisskb/build/linus_allmodconfig_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 40 ARCH=um O=/kisskb/build/linus_allmodconfig_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:14180:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:14184:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:14186:warning: override: reassigning to symbol UML_NET_SLIP .config:14191:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 40 ARCH=um O=/kisskb/build/linus_allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 In file included from /kisskb/src/include/linux/bpf_verifier.h:9, from /kisskb/src/kernel/bpf/verifier.c:13: /kisskb/src/kernel/bpf/verifier.c: In function ‘do_misc_fixups’: /kisskb/src/kernel/bpf/verifier.c:20321:85: error: ‘pcpu_hot’ undeclared (first use in this function) 20321 | insn_buf[0] = BPF_MOV32_IMM(BPF_REG_0, (u32)(unsigned long)&pcpu_hot.cpu_number); | ^~~~~~~~ /kisskb/src/include/linux/filter.h:219:26: note: in definition of macro ‘BPF_MOV32_IMM’ 219 | .imm = IMM }) | ^~~ /kisskb/src/kernel/bpf/verifier.c:20321:85: note: each undeclared identifier is reported only once for each function it appears in 20321 | insn_buf[0] = BPF_MOV32_IMM(BPF_REG_0, (u32)(unsigned long)&pcpu_hot.cpu_number); | ^~~~~~~~ /kisskb/src/include/linux/filter.h:219:26: note: in definition of macro ‘BPF_MOV32_IMM’ 219 | .imm = IMM }) | ^~~ make[5]: *** [/kisskb/src/scripts/Makefile.build:244: kernel/bpf/verifier.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:485: kernel/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:485: kernel] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/lib/iomap.c:156:5: error: no previous prototype for ‘ioread64_lo_hi’ [-Werror=missing-prototypes] 156 | u64 ioread64_lo_hi(const void __iomem *addr) | ^~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:163:5: error: no previous prototype for ‘ioread64_hi_lo’ [-Werror=missing-prototypes] 163 | u64 ioread64_hi_lo(const void __iomem *addr) | ^~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:170:5: error: no previous prototype for ‘ioread64be_lo_hi’ [-Werror=missing-prototypes] 170 | u64 ioread64be_lo_hi(const void __iomem *addr) | ^~~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:178:5: error: no previous prototype for ‘ioread64be_hi_lo’ [-Werror=missing-prototypes] 178 | u64 ioread64be_hi_lo(const void __iomem *addr) | ^~~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:264:6: error: no previous prototype for ‘iowrite64_lo_hi’ [-Werror=missing-prototypes] 264 | void iowrite64_lo_hi(u64 val, void __iomem *addr) | ^~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:272:6: error: no previous prototype for ‘iowrite64_hi_lo’ [-Werror=missing-prototypes] 272 | void iowrite64_hi_lo(u64 val, void __iomem *addr) | ^~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:280:6: error: no previous prototype for ‘iowrite64be_lo_hi’ [-Werror=missing-prototypes] 280 | void iowrite64be_lo_hi(u64 val, void __iomem *addr) | ^~~~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:288:6: error: no previous prototype for ‘iowrite64be_hi_lo’ [-Werror=missing-prototypes] 288 | void iowrite64be_hi_lo(u64 val, void __iomem *addr) | ^~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: lib/iomap.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: lib] Error 2 make[2]: *** [/kisskb/src/Makefile:1934: .] Error 2 make[1]: *** [/kisskb/src/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 Command 'make -s -j 40 ARCH=um O=/kisskb/build/linus_allmodconfig_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_allmodconfig_um-x86_64-gcc12 # Build took: 0:10:00.290461