# git rev-parse -q --verify f311d498be8f1aa49d5cfca0b18d6db4f77845b7^{commit} f311d498be8f1aa49d5cfca0b18d6db4f77845b7 already have revision, skipping fetch # git checkout -q -f -B kisskb f311d498be8f1aa49d5cfca0b18d6db4f77845b7 # git clean -qxdf # < git log -1 # commit f311d498be8f1aa49d5cfca0b18d6db4f77845b7 # Merge: d465bff130bf e18d6152ff0f # Author: Linus Torvalds # Date: Tue Oct 11 20:07:44 2022 -0700 # # Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm # # Pull more kvm updates from Paolo Bonzini: # "The main batch of ARM + RISC-V changes, and a few fixes and cleanups # for x86 (PMU virtualization and selftests). # # ARM: # # - Fixes for single-stepping in the presence of an async exception as # well as the preservation of PSTATE.SS # # - Better handling of AArch32 ID registers on AArch64-only systems # # - Fixes for the dirty-ring API, allowing it to work on architectures # with relaxed memory ordering # # - Advertise the new kvmarm mailing list # # - Various minor cleanups and spelling fixes # # RISC-V: # # - Improved instruction encoding infrastructure for instructions not # yet supported by binutils # # - Svinval support for both KVM Host and KVM Guest # # - Zihintpause support for KVM Guest # # - Zicbom support for KVM Guest # # - Record number of signal exits as a VCPU stat # # - Use generic guest entry infrastructure # # x86: # # - Misc PMU fixes and cleanups. # # - selftests: fixes for Hyper-V hypercall # # - selftests: fix nx_huge_pages_test on TDP-disabled hosts # # - selftests: cleanups for fix_hypercall_test" # # * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (57 commits) # riscv: select HAVE_POSIX_CPU_TIMERS_TASK_WORK # RISC-V: KVM: Use generic guest entry infrastructure # RISC-V: KVM: Record number of signal exits as a vCPU stat # RISC-V: KVM: add __init annotation to riscv_kvm_init() # RISC-V: KVM: Expose Zicbom to the guest # RISC-V: KVM: Provide UAPI for Zicbom block size # RISC-V: KVM: Make ISA ext mappings explicit # RISC-V: KVM: Allow Guest use Zihintpause extension # RISC-V: KVM: Allow Guest use Svinval extension # RISC-V: KVM: Use Svinval for local TLB maintenance when available # RISC-V: Probe Svinval extension form ISA string # RISC-V: KVM: Change the SBI specification version to v1.0 # riscv: KVM: Apply insn-def to hlv encodings # riscv: KVM: Apply insn-def to hfence encodings # riscv: Introduce support for defining instructions # riscv: Add X register names to gpr-nums # KVM: arm64: Advertise new kvmarm mailing list # kvm: vmx: keep constant definition format consistent # kvm: mmu: fix typos in struct kvm_arch # KVM: selftests: Fix nx_huge_pages_test on TDP-disabled hosts # ... # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 f311d498be8f1aa49d5cfca0b18d6db4f77845b7 # < make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=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_BPF_PRELOAD=n # Added to kconfig # < make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:5212:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5214:warning: override: reassigning to symbol GCC_PLUGINS .config:5218:warning: override: reassigning to symbol BPF_PRELOAD # make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /kisskb/src/mm/memory.c:95:2: error: #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid. [-Werror=cpp] 95 | #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid. | ^~~~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:250: mm/memory.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:500: mm] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/infiniband/core/user_mad.c: In function 'ib_umad_write': /kisskb/src/drivers/infiniband/core/user_mad.c:564:50: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] 564 | hdr_len = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class); | ^~ /kisskb/src/drivers/infiniband/core/user_mad.c:509:18: note: referencing an object of size 140 allocated by 'kzalloc.constprop' 509 | packet = kzalloc(sizeof *packet + IB_MGMT_RMPP_HDR, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/user_mad.c:566:42: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] 566 | if (ib_is_mad_class_rmpp(rmpp_mad->mad_hdr.mgmt_class) | ^~ /kisskb/src/drivers/infiniband/core/user_mad.c:509:18: note: referencing an object of size 140 allocated by 'kzalloc.constprop' 509 | packet = kzalloc(sizeof *packet + IB_MGMT_RMPP_HDR, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/user_mad.c:618:25: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] 618 | rmpp_mad->mad_hdr.tid = *tid; | ^~ /kisskb/src/drivers/infiniband/core/user_mad.c:509:18: note: referencing an object of size 140 allocated by 'kzalloc.constprop' 509 | packet = kzalloc(sizeof *packet + IB_MGMT_RMPP_HDR, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/user_mad.c:622:44: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] 622 | && ib_is_mad_class_rmpp(rmpp_mad->mad_hdr.mgmt_class) | ^~ /kisskb/src/drivers/infiniband/core/user_mad.c:509:18: note: referencing an object of size 140 allocated by 'kzalloc.constprop' 509 | packet = kzalloc(sizeof *packet + IB_MGMT_RMPP_HDR, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/infiniband/core/user_mad.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/infiniband/core] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/infiniband] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c: In function 'dc_stream_remove_writeback': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:527:83: error: array subscript 1 is above array bounds of 'struct dc_writeback_info[1]' [-Werror=array-bounds] 527 | stream->writeback_info[j] = stream->writeback_info[i]; | ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dc.h:1269, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:29, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/basics/dc_common.h:29, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:27: /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dc_stream.h:241:34: note: while referencing 'writeback_info' 241 | struct dc_writeback_info writeback_info[MAX_DWB_PIPES]; | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm/amd/amdgpu] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers] Error 2 make[1]: *** [/kisskb/src/Makefile:1990: .] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:03:32.750967