# git rev-parse -q --verify 2f87d0916ce0d2925cedbc9e8f5d6291ba2ac7b2^{commit} 2f87d0916ce0d2925cedbc9e8f5d6291ba2ac7b2 already have revision, skipping fetch # git checkout -q -f -B kisskb 2f87d0916ce0d2925cedbc9e8f5d6291ba2ac7b2 # git clean -qxdf # < git log -1 # commit 2f87d0916ce0d2925cedbc9e8f5d6291ba2ac7b2 # Merge: bdc727651223 09661f75e75c # Author: Linus Torvalds # Date: Tue Oct 15 11:18:44 2024 -0700 # # Merge tag 'trace-ringbuffer-v6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace # # Pull ring-buffer fixes from Steven Rostedt: # # - Fix ref counter of buffers assigned at boot up # # A tracing instance can be created from the kernel command line. If it # maps to memory, it is considered permanent and should not be deleted, # or bad things can happen. If it is not mapped to memory, then the # user is fine to delete it via rmdir from the instances directory. But # the ref counts assumed 0 was free to remove and greater than zero was # not. But this was not the case. When an instance is created, it # should have the reference of 1, and if it should not be removed, it # must be greater than 1. The boot up code set normal instances with a # ref count of 0, which could get removed if something accessed it and # then released it. And memory mapped instances had a ref count of 1 # which meant it could be deleted, and bad things happen. Keep normal # instances ref count as 1, and set memory mapped instances ref count # to 2. # # - Protect sub buffer size (order) updates from other modifications # # When a ring buffer is changing the size of its sub-buffers, no other # operations should be performed on the ring buffer. That includes # reading it. But the locking only grabbed the buffer->mutex that keeps # some operations from touching the ring buffer. It also must hold the # cpu_buffer->reader_lock as well when updates happen as other paths # use that to do some operations on the ring buffer. # # * tag 'trace-ringbuffer-v6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: # ring-buffer: Fix reader locking when changing the sub buffer order # ring-buffer: Fix refcount setting of boot mapped buffers # < /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 2f87d0916ce0d2925cedbc9e8f5d6291ba2ac7b2 # make -s -j 32 ARCH=mips O=/kisskb/build/linus_bigsur_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- bigsur_defconfig # < make -s -j 32 ARCH=mips O=/kisskb/build/linus_bigsur_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 32 ARCH=mips O=/kisskb/build/linus_bigsur_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 32 ARCH=mips O=/kisskb/build/linus_bigsur_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- /kisskb/src/arch/mips/sibyte/bcm1480/setup.c:104:13: warning: no previous prototype for 'bcm1480_setup' [-Wmissing-prototypes] void __init bcm1480_setup(void) ^~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/bcm1480/time.c:10:13: warning: no previous prototype for 'plat_time_init' [-Wmissing-prototypes] void __init plat_time_init(void) ^~~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/bcm1480/irq.c:200:13: warning: no previous prototype for 'init_bcm1480_irqs' [-Wmissing-prototypes] void __init init_bcm1480_irqs(void) ^~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/bcm1480/smp.c:49:6: warning: no previous prototype for 'bcm1480_smp_init' [-Wmissing-prototypes] 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] void bcm1480_mailbox_interrupt(void) ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/swarm/setup.c:59:5: warning: no previous prototype for 'swarm_be_handler' [-Wmissing-prototypes] int swarm_be_handler(struct pt_regs *regs, int is_fixup) ^~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/swarm/rtc_xicor1241.c:108:5: warning: no previous prototype for 'xicor_set_time' [-Wmissing-prototypes] 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] 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] int xicor_probe(void) ^~~~~~~~~~~ /kisskb/src/arch/mips/sibyte/swarm/rtc_m41t81.c:139:5: warning: no previous prototype for 'm41t81_set_time' [-Wmissing-prototypes] 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] 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] int m41t81_probe(void) ^~~~~~~~~~~~ /kisskb/src/arch/mips/mm/cerr-sb1.c:165:17: warning: no previous prototype for 'sb1_cache_error' [-Wmissing-prototypes] 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] 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] void __init sb1480_clocksource_init(void) ^~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_bigsur_defconfig_mips-gcc8 # Build took: 0:01:26.299346