# git rev-parse -q --verify 6116dea80dfd5b8d3825bf7f2e44a8bc2730f3d0^{commit} 6116dea80dfd5b8d3825bf7f2e44a8bc2730f3d0 already have revision, skipping fetch # git checkout -q -f -B kisskb 6116dea80dfd5b8d3825bf7f2e44a8bc2730f3d0 # git clean -qxdf # < git log -1 # commit 6116dea80dfd5b8d3825bf7f2e44a8bc2730f3d0 # Merge: 21d2f6850c09 440ab9e10e2e # Author: Linus Torvalds # Date: Sat Jun 27 08:53:49 2020 -0700 # # Merge tag 'kgdb-5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux # # Pull kgdb fixes from Daniel Thompson: # "The main change here is a fix for a number of unsafe interactions # between kdb and the console system. The fixes are specific to kdb # (pure kgdb debugging does not use the console system at all). On # systems with an NMI then kdb, if it is enabled, must get messages to # the user despite potentially running from some "difficult" calling # contexts. These fixes avoid using the console system where we have # been provided an alternative (safer) way to interact with the user # and, if using the console system in unavoidable, use oops_in_progress # for deadlock avoidance. These fixes also ensure kdb honours the # console enable flag. # # Also included is a fix that wraps kgdb trap handling in an RCU read # lock to avoids triggering diagnostic warnings. This is a wide lock # scope but this is OK because kgdb is a stop-the-world debugger. When # we stop the world we put all the CPUs into holding pens and this # inhibits RCU update anyway" # # * tag 'kgdb-5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux: # kgdb: Avoid suspicious RCU usage warning # kdb: Switch to use safer dbg_io_ops over console APIs # kdb: Make kdb_printf() console handling more robust # kdb: Check status of console prior to invoking handlers # kdb: Re-factor kdb_printf() message write code # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 6116dea80dfd5b8d3825bf7f2e44a8bc2730f3d0 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0xFFE720F0 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:6009:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:6014:warning: override: reassigning to symbol UBSAN # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:30: /kisskb/src/drivers/net/ethernet/aurora/nb8800.h:92: warning: "TCR_DIE" redefined 92 | #define TCR_DIE BIT(7) | In file included from /kisskb/src/arch/powerpc/include/asm/reg.h:21, from /kisskb/src/arch/powerpc/include/asm/processor.h:9, from /kisskb/src/arch/powerpc/include/asm/thread_info.h:40, from /kisskb/src/include/linux/thread_info.h:38, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:13, from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:13: /kisskb/src/arch/powerpc/include/asm/reg_booke.h:551: note: this is the location of the previous definition 551 | #define TCR_DIE TCR_PIE /* DEC Interrupt Enable */ | ERROR: start_text address is c000000000000200, should be c000000000000100 ERROR: try to enable LD_HEAD_STUB_CATCH config option ERROR: see comments in arch/powerpc/tools/head_check.sh make[2]: *** [/kisskb/src/arch/powerpc/Makefile.postlink:31: vmlinux] Error 1 make[1]: *** [/kisskb/src/Makefile:1139: vmlinux] Error 2 make[1]: *** Deleting file 'vmlinux' make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 # Build took: 0:03:48.656347