# git rev-parse -q --verify b555d191561a7f89b8d2108dff687d9bc4284e48^{commit} b555d191561a7f89b8d2108dff687d9bc4284e48 already have revision, skipping fetch # git checkout -q -f -B kisskb b555d191561a7f89b8d2108dff687d9bc4284e48 # git clean -qxdf # < git log -1 # commit b555d191561a7f89b8d2108dff687d9bc4284e48 # Merge: 56897d51886f fdd0ae72b34e # Author: Linus Torvalds # Date: Sat Feb 3 12:52:36 2024 +0000 # # Merge tag 'perf-tools-fixes-for-v6.8-1-2024-02-01' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools # # Pull perf tools fixes from Arnaldo Carvalho de Melo: # "Vendor events: # # - Intel Alderlake/Sapphire Rapids metric fixes, the CPU type # ("cpu_atom", "cpu_core") needs to be used as a prefix to be # considered on a metric formula, detected via one of the 'perf test' # entries. # # 'perf test' fixes: # # - Fix the creation of event selector lists on 'perf test' entries, by # initializing the sample ID flag, which is done by 'perf record', so # this fix affects only the tests, the common case isn't affected # # - Make 'perf list' respect debug settings (-v) to fix its 'perf test' # entry # # - Fix 'perf script' test when python support isn't enabled # # - Special case 'perf script' tests on s390, where only DWARF call # graphs are supported and only on software events # # - Make 'perf daemon' signal test less racy # # Compiler warnings/errors: # # - Remove needless malloc(0) call in 'perf top' that triggers # -Walloc-size # # - Fix calloc() argument order to address error introduced in gcc-14 # # Build: # # - Make minimal shellcheck version to v0.6.0, avoiding the build to # fail with older versions # # Sync kernel header copies: # # - stat.h to pick STATX_MNT_ID_UNIQUE # # - msr-index.h to pick IA32_MKTME_KEYID_PARTITIONING # # - drm.h to pick DRM_IOCTL_MODE_CLOSEFB # # - unistd.h to pick {list,stat}mount, # lsm_{[gs]et_self_attr,list_modules} syscall numbers # # - x86 cpufeatures to pick TDX, Zen, APIC MSR fence changes # # - x86's mem{cpy,set}_64.S used in 'perf bench' # # - Also, without tooling effects: asm-generic/unaligned.h, mount.h, # fcntl.h, kvm headers" # # * tag 'perf-tools-fixes-for-v6.8-1-2024-02-01' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools: (21 commits) # perf tools headers: update the asm-generic/unaligned.h copy with the kernel sources # tools include UAPI: Sync linux/mount.h copy with the kernel sources # perf evlist: Fix evlist__new_default() for > 1 core PMU # tools headers: Update the copy of x86's mem{cpy,set}_64.S used in 'perf bench' # tools headers x86 cpufeatures: Sync with the kernel sources to pick TDX, Zen, APIC MSR fence changes # tools headers UAPI: Sync unistd.h to pick {list,stat}mount, lsm_{[gs]et_self_attr,list_modules} syscall numbers # perf vendor events intel: Alderlake/sapphirerapids metric fixes # tools headers UAPI: Sync kvm headers with the kernel sources # perf tools: Fix calloc() arguments to address error introduced in gcc-14 # perf top: Remove needless malloc(0) call that triggers -Walloc-size # perf build: Make minimal shellcheck version to v0.6.0 # tools headers UAPI: Update tools's copy of drm.h headers to pick DRM_IOCTL_MODE_CLOSEFB # perf test shell daemon: Make signal test less racy # perf test shell script: Fix test for python being disabled # perf test: Workaround debug output in list test # perf list: Add output file option # perf list: Switch error message to pr_err() to respect debug settings (-v) # perf test: Fix 'perf script' tests on s390 # tools headers UAPI: Sync linux/fcntl.h with the kernel sources # tools arch x86: Sync the msr-index.h copy with the kernel sources to pick IA32_MKTME_KEYID_PARTITIONING # ... # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 b555d191561a7f89b8d2108dff687d9bc4284e48 # make -s -j 40 ARCH=mips O=/kisskb/build/linus_allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MIPS_CPS_NS16550_BASE=0x1b0003f8 # Added to kconfig CONFIG_MIPS_CPS_NS16550_SHIFT=0 # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 40 ARCH=mips O=/kisskb/build/linus_allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 40 ARCH=mips O=/kisskb/build/linus_allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- olddefconfig .config:14882:warning: override: reassigning to symbol MIPS_CPS_NS16550_SHIFT # make -s -j 40 ARCH=mips O=/kisskb/build/linus_allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- In file included from /kisskb/src/include/linux/string.h:292, from /kisskb/src/include/linux/bitmap.h:12, from /kisskb/src/include/linux/cpumask.h:12, from /kisskb/src/include/linux/smp.h:13, from /kisskb/src/arch/mips/include/asm/cpu-type.h:12, from /kisskb/src/arch/mips/include/asm/timex.h:19, from /kisskb/src/include/linux/timex.h:67, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:60, from /kisskb/src/include/linux/jiffies.h:10, from /kisskb/src/include/linux/ktime.h:25, from /kisskb/src/include/linux/iopoll.h:11, from /kisskb/src/drivers/crypto/intel/qat/qat_common/adf_gen4_hw_data.c:3: In function 'fortify_memcpy_chk', inlined from 'adf_gen4_init_thd2arb_map' at /kisskb/src/drivers/crypto/intel/qat/qat_common/adf_gen4_hw_data.c:401:3: /kisskb/src/include/linux/fortify-string.h:528:4: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror] __write_overflow_field(p_size_field, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/fortify-string.h:537:4: error: call to '__read_overflow2_field' declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Werror] __read_overflow2_field(q_size_field, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[8]: *** [/kisskb/src/scripts/Makefile.build:243: drivers/crypto/intel/qat/qat_common/adf_gen4_hw_data.o] Error 1 make[8]: *** Waiting for unfinished jobs.... make[7]: *** [/kisskb/src/scripts/Makefile.build:481: drivers/crypto/intel/qat/qat_common] Error 2 make[6]: *** [/kisskb/src/scripts/Makefile.build:481: drivers/crypto/intel/qat] Error 2 make[5]: *** [/kisskb/src/scripts/Makefile.build:481: drivers/crypto/intel] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:481: drivers/crypto] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:481: drivers] Error 2 make[2]: *** [/kisskb/src/Makefile:1921: .] 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=mips O=/kisskb/build/linus_allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_mips-gcc8 # Build took: 0:08:50.481238