The patch titled Subject: kernel-hacking: group sysrq/kgdb/ubsan into 'Generic Kernel Debugging Instruments' has been added to the -mm tree. Its filename is hacking-group-sysrq-kgdb-ubsan-into-generic-kernel-debugging-instruments.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/hacking-group-sysrq-kgdb-ubsan-into-generic-kernel-debugging-instruments.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/hacking-group-sysrq-kgdb-ubsan-into-generic-kernel-debugging-instruments.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Changbin Du <changbin.du@xxxxxxxxx> Subject: kernel-hacking: group sysrq/kgdb/ubsan into 'Generic Kernel Debugging Instruments' Patch series "hacking: make 'kernel hacking' menu better structurized", v3. This series is a trivial improvment for the layout of 'kernel hacking' configuration menu. Now we have many items in it which makes takes a little time to look up them since they are not well structurized yet. Early discussion is here: https://lkml.org/lkml/2019/9/1/39 This patch (of 9): Group generic kernel debugging instruments sysrq/kgdb/ubsan together into a new submenu. Link: http://lkml.kernel.org/r/20190909144453.3520-2-changbin.du@xxxxxxxxx Signed-off-by: Changbin Du <changbin.du@xxxxxxxxx> Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/Kconfig.debug | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) --- a/lib/Kconfig.debug~hacking-group-sysrq-kgdb-ubsan-into-generic-kernel-debugging-instruments +++ a/lib/Kconfig.debug @@ -409,6 +409,8 @@ config DEBUG_FORCE_WEAK_PER_CPU endmenu # "Compiler options" +menu "Generic Kernel Debugging Instruments" + config MAGIC_SYSRQ bool "Magic SysRq key" depends on !UML @@ -442,6 +444,12 @@ config MAGIC_SYSRQ_SERIAL This option allows you to decide whether you want to enable the magic SysRq key. +source "lib/Kconfig.kgdb" + +source "lib/Kconfig.ubsan" + +endmenu + config DEBUG_KERNEL bool "Kernel debugging" help @@ -2103,10 +2111,6 @@ config BUG_ON_DATA_CORRUPTION source "samples/Kconfig" -source "lib/Kconfig.kgdb" - -source "lib/Kconfig.ubsan" - config ARCH_HAS_DEVMEM_IS_ALLOWED bool _ Patches currently in -mm which might be from changbin.du@xxxxxxxxx are hacking-group-sysrq-kgdb-ubsan-into-generic-kernel-debugging-instruments.patch hacking-create-submenu-for-arch-special-debugging-options.patch hacking-group-kernel-data-structures-debugging-together.patch hacking-move-kernel-testing-and-coverage-options-to-same-submenu.patch hacking-move-oops-into-lockups-and-hangs.patch hacking-move-sched_stack_end_check-after-debug_stack_usage.patch hacking-create-a-submenu-for-scheduler-debugging-options.patch hacking-move-debug_bugverbose-to-printk-and-dmesg-options.patch hacking-move-debug_fs-to-generic-kernel-debugging-instruments.patch