# git rev-parse -q --verify a4145ce1e7bc247fd6f2846e8699473448717b37^{commit} a4145ce1e7bc247fd6f2846e8699473448717b37 already have revision, skipping fetch # git checkout -q -f -B kisskb a4145ce1e7bc247fd6f2846e8699473448717b37 # git clean -qxdf # < git log -1 # commit a4145ce1e7bc247fd6f2846e8699473448717b37 # Merge: 78c3925c048c 2e92d26b2543 # Author: Linus Torvalds # Date: Tue Mar 19 17:27:25 2024 -0700 # # Merge tag 'bcachefs-2024-03-19' of https://evilpiepirate.org/git/bcachefs # # Pull bcachefs fixes from Kent Overstreet: # "Assorted bugfixes. # # Most are fixes for simple assertion pops; the most significant fix is # for a deadlock in recovery when we have to rewrite large numbers of # btree nodes to fix errors. This was incorrectly running out of the # same workqueue as the core interior btree update path - we now give it # its own single threaded workqueue. # # This was visible to users as "bch2_btree_update_start(): error: # BCH_ERR_journal_reclaim_would_deadlock" - and then recovery hanging" # # * tag 'bcachefs-2024-03-19' of https://evilpiepirate.org/git/bcachefs: # bcachefs: Fix lost wakeup on journal shutdown # bcachefs; Fix deadlock in bch2_btree_update_start() # bcachefs: ratelimit errors from async_btree_node_rewrite # bcachefs: Run check_topology() first # bcachefs: Improve bch2_fatal_error() # bcachefs: Fix lost transaction restart error # bcachefs: Don't corrupt journal keys gap buffer when dropping alloc info # bcachefs: fix for building in userspace # bcachefs: bch2_snapshot_is_ancestor() now safe to call in early recovery # bcachefs: Fix nested transaction restart handling in bch2_bucket_gens_init() # bcachefs: Improve sysfs internal/btree_updates # bcachefs: Split out btree_node_rewrite_worker # bcachefs: Fix locking in bch2_alloc_write_key() # bcachefs: Avoid extent entry type assertions in .invalid() # bcachefs: Fix spurious -BCH_ERR_transaction_restart_nested # bcachefs: Fix check_key_has_snapshot() call # bcachefs: Change "accounting overran journal reservation" to a warning # < /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 a4145ce1e7bc247fd6f2846e8699473448717b37 # make -s -j 32 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.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 32 ARCH=sh O=/kisskb/build/linus_allmodconfig_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_allmodconfig_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_allmodconfig_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) | ^~~~~~~~~~~ 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 make[4]: *** Waiting for unfinished jobs.... /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 /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[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[5]: *** [/kisskb/src/scripts/Makefile.build:481: drivers/net/pcs] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:481: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:481: drivers] Error 2 make[2]: *** [/kisskb/src/Makefile:1912: .] 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_allmodconfig_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_allmodconfig_sh4-gcc13 # Build took: 0:07:13.513770