# 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/korg/gcc-13.1.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 06afb0f36106ecb839c5e2509905e68c1e2677de # make -s -j 160 ARCH=mips O=/kisskb/build/linus_bigsur_defconfig_mips-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/mips-linux/bin/mips-linux- bigsur_defconfig # < make -s -j 160 ARCH=mips O=/kisskb/build/linus_bigsur_defconfig_mips-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 160 ARCH=mips O=/kisskb/build/linus_bigsur_defconfig_mips-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 160 ARCH=mips O=/kisskb/build/linus_bigsur_defconfig_mips-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/mips-linux/bin/mips-linux- /kisskb/src/arch/mips/sibyte/bcm1480/time.c:10:13: warning: no previous prototype for 'plat_time_init' [-Wmissing-prototypes] 10 | void __init plat_time_init(void) | ^~~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/bcm1480/setup.c:104:13: warning: no previous prototype for 'bcm1480_setup' [-Wmissing-prototypes] 104 | void __init bcm1480_setup(void) | ^~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/swarm/rtc_xicor1241.c:108:5: warning: no previous prototype for 'xicor_set_time' [-Wmissing-prototypes] 108 | int xicor_set_time(time64_t t) | ^~~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/swarm/rtc_xicor1241.c:167:10: warning: no previous prototype for 'xicor_get_time' [-Wmissing-prototypes] 167 | time64_t xicor_get_time(void) | ^~~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/swarm/rtc_xicor1241.c:203:5: warning: no previous prototype for 'xicor_probe' [-Wmissing-prototypes] 203 | int xicor_probe(void) | ^~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/bcm1480/smp.c:49:6: warning: no previous prototype for 'bcm1480_smp_init' [-Wmissing-prototypes] 49 | void bcm1480_smp_init(void) | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/bcm1480/smp.c:158:6: warning: no previous prototype for 'bcm1480_mailbox_interrupt' [-Wmissing-prototypes] 158 | void bcm1480_mailbox_interrupt(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/swarm/rtc_m41t81.c:139:5: warning: no previous prototype for 'm41t81_set_time' [-Wmissing-prototypes] 139 | int m41t81_set_time(time64_t t) | ^~~~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/swarm/rtc_m41t81.c:186:10: warning: no previous prototype for 'm41t81_get_time' [-Wmissing-prototypes] 186 | time64_t m41t81_get_time(void) | ^~~~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/swarm/rtc_m41t81.c:219:5: warning: no previous prototype for 'm41t81_probe' [-Wmissing-prototypes] 219 | int m41t81_probe(void) | ^~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/bcm1480/irq.c:200:13: warning: no previous prototype for 'init_bcm1480_irqs' [-Wmissing-prototypes] 200 | void __init init_bcm1480_irqs(void) | ^~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/swarm/setup.c:59:5: warning: no previous prototype for 'swarm_be_handler' [-Wmissing-prototypes] 59 | int swarm_be_handler(struct pt_regs *regs, int is_fixup) | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/mm/cerr-sb1.c:165:17: warning: no previous prototype for 'sb1_cache_error' [-Wmissing-prototypes] 165 | asmlinkage void sb1_cache_error(void) | ^~~~~~~~~~~~~~~ /kisskb/src/arch/mips/kernel/cevt-bcm1480.c:96:6: warning: no previous prototype for 'sb1480_clockevent_init' [-Wmissing-prototypes] 96 | void sb1480_clockevent_init(void) | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/kernel/csrc-bcm1480.c:37:13: warning: no previous prototype for 'sb1480_clocksource_init' [-Wmissing-prototypes] 37 | void __init sb1480_clocksource_init(void) | ^~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_bigsur_defconfig_mips-gcc13 # Build took: 0:01:05.432945