# git rev-parse -q --verify b0546776ad3f332e215cebc0b063ba4351971cca^{commit} b0546776ad3f332e215cebc0b063ba4351971cca already have revision, skipping fetch # git checkout -q -f -B kisskb b0546776ad3f332e215cebc0b063ba4351971cca # git clean -qxdf # < git log -1 # commit b0546776ad3f332e215cebc0b063ba4351971cca # Merge: f88c3fb81c4b 7412dc6d55ee # Author: Linus Torvalds # Date: Tue Mar 12 20:54:50 2024 -0700 # # Merge tag 'printk-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux # # Pull printk updates from Petr Mladek: # "Improve the behavior during panic. The issues were found when testing # the ongoing changes introducing atomic consoles and printk kthreads: # # - pr_flush() has to wait for the last reserved record instead of the # last finalized one. Note that records are finalized in random order # when generated by more CPUs in parallel. # # - Ignore non-finalized records during panic(). Messages printed on # panic-CPU are always finalized. Messages printed by other CPUs # might never be finalized when the CPUs get stopped. # # - Block new printk() calls on non-panic CPUs completely. Backtraces # are printed before entering the panic mode. Later messages would # just mess information printed by the panic CPU. # # - Do not take console_lock in console_flush_on_panic() at all. The # original code did try_lock()/console_unlock(). The unlock part # might cause a deadlock when panic() happened in a scheduler code. # # - Fix conversion of 64-bit sequence number for 32-bit atomic # operations" # # * tag 'printk-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux: # dump_stack: Do not get cpu_sync for panic CPU # panic: Flush kernel log buffer at the end # printk: Avoid non-panic CPUs writing to ringbuffer # printk: Disable passing console lock owner completely during panic() # printk: ringbuffer: Skip non-finalized records in panic # printk: Wait for all reserved records with pr_flush() # printk: ringbuffer: Cleanup reader terminology # printk: Add this_cpu_in_panic() # printk: For @suppress_panic_printk check for other CPU in panic # printk: ringbuffer: Clarify special lpos values # printk: ringbuffer: Do not skip non-finalized records with prb_next_seq() # printk: Use prb_first_seq() as base for 32bit seq macros # printk: Adjust mapping for 32bit seq macros # printk: nbcon: Relocate 32bit seq macros # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 b0546776ad3f332e215cebc0b063ba4351971cca # make -s -j 32 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- allyesconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 32 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 32 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 32 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.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 /kisskb/src/arch/sh/math-emu/math.c:492:5: error: no previous prototype for 'do_fpu_inst' [-Werror=missing-prototypes] 492 | int do_fpu_inst(unsigned short inst, struct pt_regs *regs) | ^~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/init.c:99:29: error: no previous prototype for 'l2_cache_init' [-Werror=missing-prototypes] 99 | void __attribute__ ((weak)) l2_cache_init(void) | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:243: arch/sh/kernel/cpu/init.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:481: arch/sh/kernel/cpu] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:481: arch/sh/kernel] Error 2 make[4]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:243: arch/sh/math-emu/math.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:481: arch/sh/math-emu] Error 2 /kisskb/src/arch/sh/mm/cache-sh2.c:85:13: error: no previous prototype for 'sh2_cache_init' [-Werror=missing-prototypes] 85 | void __init sh2_cache_init(void) | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:243: arch/sh/mm/cache-sh2.o] Error 1 make[5]: *** Waiting for unfinished jobs.... /kisskb/src/arch/sh/mm/nommu.c:76:13: error: no previous prototype for 'kmap_coherent_init' [-Werror=missing-prototypes] 76 | void __init kmap_coherent_init(void) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/nommu.c:80:7: error: no previous prototype for 'kmap_coherent' [-Werror=missing-prototypes] 80 | void *kmap_coherent(struct page *page, unsigned long addr) | ^~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/nommu.c:86:6: error: no previous prototype for 'kunmap_coherent' [-Werror=missing-prototypes] 86 | void kunmap_coherent(void *kvaddr) | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:243: arch/sh/mm/nommu.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:481: arch/sh/mm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:481: arch/sh] Error 2 make[3]: *** Waiting for unfinished jobs.... {standard input}: Assembler messages: {standard input}: Warning: end of file not at end of a line; newline inserted {standard input}:1099: Error: missing operand {standard input}:1099: Error: missing operand {standard input}:1099: Error: invalid operands for opcode {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions. make[6]: *** [/kisskb/src/scripts/Makefile.build:243: drivers/net/pcs/pcs-xpcs.o] Error 4 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:481: drivers/net/pcs] Error 2 make[5]: *** Waiting for unfinished jobs.... {standard input}: Assembler messages: {standard input}: Warning: end of file not at end of a line; newline inserted {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive {standard input}:696: Error: displacement to undefined symbol .L96 overflows 12-bit field {standard input}:716: Error: displacement to undefined symbol .L96 overflows 12-bit field {standard input}:729: Error: displacement to undefined symbol .L121 overflows 12-bit field {standard input}:734: Warning: overflow in branch to .L103; converted into longer instruction sequence {standard input}:739: Error: displacement to undefined symbol .L96 overflows 12-bit field {standard input}:758: Error: displacement to undefined symbol .L107 overflows 12-bit field {standard input}:761: Error: displacement to undefined symbol .L119 overflows 12-bit field {standard input}:775: Error: displacement to undefined symbol .L96 overflows 12-bit field {standard input}:791: Error: displacement to undefined symbol .L96 overflows 12-bit field {standard input}:800: Error: displacement to undefined symbol .L96 overflows 12-bit field {standard input}:852: Error: displacement to undefined symbol .L96 overflows 12-bit field {standard input}:870: Error: displacement to undefined symbol .L96 overflows 8-bit field {standard input}:916: Error: displacement to undefined symbol .L96 overflows 12-bit field {standard input}:932: Error: displacement to undefined symbol .L96 overflows 8-bit field {standard input}:943: Error: displacement to undefined symbol .L96 overflows 12-bit field {standard input}:679: Error: pcrel too far {standard input}:700: Error: pcrel too far {standard input}:706: Error: pcrel too far {standard input}:720: Error: pcrel too far {standard input}:765: Error: pcrel too far {standard input}:779: Error: pcrel too far {standard input}:804: Error: pcrel too far {standard input}:806: Error: pcrel too far {standard input}:827: Error: pcrel too far {standard input}:828: Error: pcrel too far {standard input}:833: Error: pcrel too far {standard input}:843: Error: pcrel too far {standard input}:844: Error: pcrel too far {standard input}:856: Error: pcrel too far {standard input}:858: Error: pcrel too far {standard input}:877: Error: pcrel too far {standard input}:878: Error: pcrel too far {standard input}:884: Error: pcrel too far {standard input}:888: Error: pcrel too far {standard input}:909: Error: pcrel too far {standard input}:920: Error: pcrel too far {standard input}:925: Error: pcrel too far {standard input}:927: Error: pcrel too far {standard input}:933: Error: pcrel too far sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions. make[6]: *** [/kisskb/src/scripts/Makefile.build:243: drivers/hwmon/pmbus/mp2975.o] Error 4 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:481: drivers/hwmon/pmbus] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:481: drivers/hwmon] Error 2 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:481: drivers/net] Error 2 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 32 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allyesconfig_sh4-gcc13 # Build took: 0:09:02.856961