# git rev-parse -q --verify 453f5db0619e2ad64076aab16ff5a00e0f7c53a2^{commit} 453f5db0619e2ad64076aab16ff5a00e0f7c53a2 already have revision, skipping fetch # git checkout -q -f -B kisskb 453f5db0619e2ad64076aab16ff5a00e0f7c53a2 # git clean -qxdf # < git log -1 # commit 453f5db0619e2ad64076aab16ff5a00e0f7c53a2 # Merge: b106bcf0f99a d05cb470663a # Author: Linus Torvalds # Date: Sat Dec 30 11:37:35 2023 -0800 # # Merge tag 'trace-v6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace # # Pull tracing fixes from Steven Rostedt: # # - Fix readers that are blocked on the ring buffer when buffer_percent # is 100%. They are supposed to wake up when the buffer is full, but # because the sub-buffer that the writer is on is never considered # "dirty" in the calculation, dirty pages will never equal nr_pages. # Add +1 to the dirty count in order to count for the sub-buffer that # the writer is on. # # - When a reader is blocked on the "snapshot_raw" file, it is to be # woken up when a snapshot is done and be able to read the snapshot # buffer. But because the snapshot swaps the buffers (the main one with # the snapshot one), and the snapshot reader is waiting on the old # snapshot buffer, it was not woken up (because it is now on the main # buffer after the swap). Worse yet, when it reads the buffer after a # snapshot, it's not reading the snapshot buffer, it's reading the live # active main buffer. # # Fix this by forcing a wakeup of all readers on the snapshot buffer # when a new snapshot happens, and then update the buffer that the # reader is reading to be back on the snapshot buffer. # # - Fix the modification of the direct_function hash. There was a race # when new functions were added to the direct_function hash as when it # moved function entries from the old hash to the new one, a direct # function trace could be hit and not see its entry. # # This is fixed by allocating the new hash, copy all the old entries # onto it as well as the new entries, and then use rcu_assign_pointer() # to update the new direct_function hash with it. # # This also fixes a memory leak in that code. # # - Fix eventfs ownership # # * tag 'trace-v6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: # ftrace: Fix modification of direct_function hash while in use # tracing: Fix blocked reader of snapshot buffer # ring-buffer: Fix wake ups when buffer_percent is set to 100 # eventfs: Fix file and directory uid and gid ownership # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 453f5db0619e2ad64076aab16ff5a00e0f7c53a2 # make -s -j 40 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 40 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 40 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 40 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:357: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:360: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence {standard input}: Assembler messages: {standard input}: Warning: end of file not at end of a line; newline inserted {standard input}:1100: Error: expected comma after name `xpcs_co' in .size directive sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[6]: *** [/kisskb/src/scripts/Makefile.build:243: drivers/net/pcs/pcs-xpcs.o] Error 4 make[5]: *** [/kisskb/src/scripts/Makefile.build:480: drivers/net/pcs] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:480: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:480: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:1911: .] Error 2 make[1]: *** [/kisskb/src/Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2 Command 'make -s -j 40 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_sh4-gcc11 # Build took: 0:04:26.378296