# 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/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 71d7b52cc33bc3b6697cce8a0a5ac9032f372e47 # make -s -j 40 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- allmodconfig # < make -s -j 40 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 40 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 40 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow' /kisskb/src/arch/sparc/power/hibernate.c:22:5: error: no previous prototype for 'pfn_is_nosave' [-Werror=missing-prototypes] int pfn_is_nosave(unsigned long pfn) ^ /kisskb/src/arch/sparc/power/hibernate.c:30:6: error: no previous prototype for 'save_processor_state' [-Werror=missing-prototypes] void save_processor_state(void) ^ /kisskb/src/arch/sparc/power/hibernate.c:35:6: error: no previous prototype for 'restore_processor_state' [-Werror=missing-prototypes] void restore_processor_state(void) ^ cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sparc/power/hibernate.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sparc/power] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/arch/sparc/vdso/vclock_gettime.c:254:1: error: no previous prototype for '__vdso_clock_gettime' [-Werror=missing-prototypes] __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts) ^ /kisskb/src/arch/sparc/vdso/vclock_gettime.c:282:1: error: no previous prototype for '__vdso_clock_gettime_stick' [-Werror=missing-prototypes] __vdso_clock_gettime_stick(clockid_t clock, struct __kernel_old_timespec *ts) ^ /kisskb/src/arch/sparc/vdso/vclock_gettime.c:307:1: error: no previous prototype for '__vdso_gettimeofday' [-Werror=missing-prototypes] __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) ^ /kisskb/src/arch/sparc/vdso/vclock_gettime.c:343:1: error: no previous prototype for '__vdso_gettimeofday_stick' [-Werror=missing-prototypes] __vdso_gettimeofday_stick(struct __kernel_old_timeval *tv, struct timezone *tz) ^ cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sparc/vdso/vclock_gettime.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sparc/vdso] Error 2 make[4]: *** Waiting for unfinished jobs.... /kisskb/src/arch/sparc/prom/misc_64.c:165:5: error: no previous prototype for 'prom_get_mmu_ihandle' [-Werror=missing-prototypes] int prom_get_mmu_ihandle(void) ^ cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sparc/prom/misc_64.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sparc/prom] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sparc] Error 2 In file included from /kisskb/src/arch/sparc/include/asm/floppy.h:5:0, from /kisskb/src/drivers/block/floppy.c:250: /kisskb/src/arch/sparc/include/asm/floppy_64.h:200:13: error: no previous prototype for 'sparc_floppy_irq' [-Werror=missing-prototypes] irqreturn_t sparc_floppy_irq(int irq, void *dev_cookie) ^ In file included from /kisskb/src/arch/sparc/include/asm/floppy.h:5:0, from /kisskb/src/drivers/block/floppy.c:250: /kisskb/src/arch/sparc/include/asm/floppy_64.h:437:6: error: no previous prototype for 'sun_pci_fd_dma_callback' [-Werror=missing-prototypes] void sun_pci_fd_dma_callback(struct ebus_dma_info *p, int event, void *cookie) ^ cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: drivers/block/floppy.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/block] Error 2 make[4]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:16:9: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] #pragma GCC diagnostic ignored "-Wunused-const-variable" ^ In file included from /kisskb/src/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:18:0: /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h:924:19: error: 'gen7_0_0_external_core_regs' defined but not used [-Werror=unused-variable] static const u32 *gen7_0_0_external_core_regs[] = { ^ In file included from /kisskb/src/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:19:0: /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h:748:19: error: 'gen7_2_0_external_core_regs' defined but not used [-Werror=unused-variable] static const u32 *gen7_2_0_external_core_regs[] = { ^ In file included from /kisskb/src/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:20:0: /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h:1188:43: error: 'gen7_9_0_sptp_clusters' defined but not used [-Werror=unused-variable] static struct gen7_sptp_cluster_registers gen7_9_0_sptp_clusters[] = { ^ /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h:1438:19: error: 'gen7_9_0_external_core_regs' defined but not used [-Werror=unused-variable] static const u32 *gen7_9_0_external_core_regs[] = { ^ cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors make[7]: *** [/kisskb/src/scripts/Makefile.build:244: drivers/gpu/drm/msm/adreno/a6xx_gpu_state.o] Error 1 make[7]: *** Waiting for unfinished jobs.... make[6]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/gpu/drm/msm] Error 2 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/gpu/drm] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/gpu] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: drivers] 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=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_sparc64-gcc5 # Build took: 0:03:45.540227