# git rev-parse -q --verify 06afb0f36106ecb839c5e2509905e68c1e2677de^{commit} 06afb0f36106ecb839c5e2509905e68c1e2677de already have revision, skipping fetch # git checkout -q -f -B kisskb 06afb0f36106ecb839c5e2509905e68c1e2677de # git clean -qxdf # < git log -1 # commit 06afb0f36106ecb839c5e2509905e68c1e2677de # Merge: 4b01712311c6 45af52e7d3b8 # Author: Linus Torvalds # Date: Fri Nov 22 13:27:01 2024 -0800 # # Merge tag 'trace-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace # # Pull tracing updates from Steven Rostedt: # # - Addition of faultable tracepoints # # There's a tracepoint attached to both a system call entry and exit. # This location is known to allow page faults. The tracepoints are # called under an rcu_read_lock() which does not allow faults that can # sleep. This limits the ability of tracepoint handlers to page fault # in user space system call parameters. Now these tracepoints have been # made "faultable", allowing the callbacks to fault in user space # parameters and record them. # # Note, only the infrastructure has been implemented. The consumers # (perf, ftrace, BPF) now need to have their code modified to allow # faults. # # - Fix up of BPF code for the tracepoint faultable logic # # - Update tracepoints to use the new static branch API # # - Remove trace_*_rcuidle() variants and the SRCU protection they used # # - Remove unused TRACE_EVENT_FL_FILTERED logic # # - Replace strncpy() with strscpy() and memcpy() # # - Use replace per_cpu_ptr(smp_processor_id()) with this_cpu_ptr() # # - Fix perf events to not duplicate samples when tracing is enabled # # - Replace atomic64_add_return(1, counter) with # atomic64_inc_return(counter) # # - Make stack trace buffer 4K instead of PAGE_SIZE # # - Remove TRACE_FLAG_IRQS_NOSUPPORT flag as it was never used # # - Get the true return address for function tracer when function graph # tracer is also running. # # When function_graph trace is running along with function tracer, the # parent function of the function tracer sometimes is # "return_to_handler", which is the function graph trampoline to record # the exit of the function. Use existing logic that calls into the # fgraph infrastructure to find the real return address. # # - Remove (un)regfunc pointers out of tracepoint structure # # - Added last minute bug fix for setting pending modules in stack # function filter. # # echo "write*:mod:ext3" > /sys/kernel/tracing/stack_trace_filter # # Would cause a kernel NULL dereference. # # - Minor clean ups # # * tag 'trace-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: (31 commits) # ftrace: Fix regression with module command in stack_trace_filter # tracing: Fix function name for trampoline # ftrace: Get the true parent ip for function tracer # tracing: Remove redundant check on field->field in histograms # bpf: ensure RCU Tasks Trace GP for sleepable raw tracepoint BPF links # bpf: decouple BPF link/attach hook and BPF program sleepable semantics # bpf: put bpf_link's program when link is safe to be deallocated # tracing: Replace strncpy() with strscpy() when copying comm # tracing: Add might_fault() check in __DECLARE_TRACE_SYSCALL # tracing: Fix syscall tracepoint use-after-free # tracing: Introduce tracepoint_is_faultable() # tracing: Introduce tracepoint extended structure # tracing: Remove TRACE_FLAG_IRQS_NOSUPPORT # tracing: Replace multiple deprecated strncpy with memcpy # tracing: Make percpu stack trace buffer invariant to PAGE_SIZE # tracing: Use atomic64_inc_return() in trace_clock_counter() # trace/trace_event_perf: remove duplicate samples on the first tracepoint event # tracing/bpf: Add might_fault check to syscall probes # tracing/perf: Add might_fault check to syscall probes # tracing/ftrace: Add might_fault check to syscall probes # ... # < /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 06afb0f36106ecb839c5e2509905e68c1e2677de # make -s -j 32 ARCH=um O=/kisskb/build/linus_allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 allyesconfig # 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 32 ARCH=um O=/kisskb/build/linus_allyesconfig_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 32 ARCH=um O=/kisskb/build/linus_allyesconfig_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:15177:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:15181:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:15183:warning: override: reassigning to symbol UML_NET_SLIP .config:15186:warning: override: reassigning to symbol UML_NET_MCAST # make -s -j 32 ARCH=um O=/kisskb/build/linus_allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 /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:229: lib/iomap.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:478: lib] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:1936: .] Error 2 make[1]: *** [/kisskb/src/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 Command 'make -s -j 32 ARCH=um O=/kisskb/build/linus_allyesconfig_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_allyesconfig_um-x86_64-gcc12 # Build took: 0:17:46.058948