# 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-8.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 6116dea80dfd5b8d3825bf7f2e44a8bc2730f3d0 # < make -s -j 24 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- m5272c3_defconfig # < make -s -j 24 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 24 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 24 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/arch/m68k/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/spinlock.h:460, 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/net/core/filter.c:20: /kisskb/src/net/core/filter.c: In function 'bpf_clear_redirect_map': /kisskb/src/arch/m68k/include/asm/cmpxchg.h:137:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr), (unsigned long)(o),\ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned long)(n), sizeof(*(ptr)))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/cmpxchg.h:106:28: note: in expansion of macro 'cmpxchg_local' #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) ^~~~~~~~~~~~~ /kisskb/src/net/core/filter.c:3569:4: note: in expansion of macro 'cmpxchg' cmpxchg(&ri->map, map, NULL); ^~~~~~~ /kisskb/src/drivers/net/ethernet/freescale/fec_main.c: In function 'fec_restart': /kisskb/src/drivers/net/ethernet/freescale/fec_main.c:949:6: warning: unused variable 'val' [-Wunused-variable] u32 val; ^~~ /kisskb/src/drivers/net/ethernet/freescale/fec_main.c: In function 'fec_get_mac': /kisskb/src/drivers/net/ethernet/freescale/fec_main.c:1692:28: warning: unused variable 'pdata' [-Wunused-variable] struct fec_platform_data *pdata = dev_get_platdata(&fep->pdev->dev); ^~~~~ Completed OK # rm -rf /kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 # Build took: 0:00:38.513288