Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5966392ybe; Tue, 10 Sep 2019 11:27:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxW93rP7l9YxZGVhRMZahPnU+1z3NgVcTYCEDGwCIMbOWkmznXNvlmcje/uhZKOI3lPe8tj X-Received: by 2002:a17:906:30c7:: with SMTP id b7mr25962087ejb.132.1568140054908; Tue, 10 Sep 2019 11:27:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568140054; cv=none; d=google.com; s=arc-20160816; b=a+z9nGfsWdeXI2W2jd2tvIsM7U3G0u2oKYVlBHB4ilfSNLxxD9OOP/oVOfAAsKz+cV ond0RYrEXJySwfTU/VbaFgCAFhpS9tP7YY91NfKJ/dNY3BPf2DBciI97fjhoL5xLqvEu MpI3kSbGS5jjGFS4Nv+5mvKswczkqTZvOJDwfT0ZzFNOLloVUrtRwH18PQupI8Pd82h8 bJ+Mvu06cZc9gKksiyfmEHXYOn9vIKV7GLXkBKbjKTMFfmRZmcM3bClIj0mbh8oN+TmC hDxJbt3hApx0voCrjebiIzaaGEzkx3XXJqTKMQMWY+gFdL8Etdk9GyIdKVUJzStsaxYV wqJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TVzAji3GW1QKfy7eDTvui/A8m2Rjy2R5WVJhQA7E3lY=; b=FNU2l0GM2Q0v0FKppwGHympkPVBIWc0bTRNbBwlBYvimqVJix3hqmtO+C0vkktZCOh NRhQRtrA4DjHxJic1doNrUjOR6RSsHGRsL2H37hxW93AEMZdDoyn5SYgmsYbVmZ6d6YS 8eDlp0zk10GxznqkMVnWBfv5fTJ+667USAHS/WoJYKrShT0S1R6Z3GmwYler6SuuOHFg A53ivY6TImR+6Ezv4A+RNEOH2bBFwOn3neNAzPT3EwuPEOcDxEmzFCexu/fsAHFinfJM ld679jKKV2e4FuGOM0IP+HymekFihsvdrhQvyy1p7wRoxInyRNue8xOQ+7FBRKMiy2tC 64MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NX3llKcB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ha10si9755731ejb.300.2019.09.10.11.27.10; Tue, 10 Sep 2019 11:27:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NX3llKcB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729708AbfIIOpP (ORCPT + 99 others); Mon, 9 Sep 2019 10:45:15 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:46281 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727191AbfIIOpO (ORCPT ); Mon, 9 Sep 2019 10:45:14 -0400 Received: by mail-pg1-f195.google.com with SMTP id m3so7938315pgv.13 for ; Mon, 09 Sep 2019 07:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TVzAji3GW1QKfy7eDTvui/A8m2Rjy2R5WVJhQA7E3lY=; b=NX3llKcB9Vfz5GwB3fe8lqYrjLwk+0rBxImcX4jZV11gkkeNnudXWi9WTJ2LsF/dA9 DpPaPmh+I8IoYZUHijkhyFRx2sbrMY6BU60KQMM1NngqyI0qEOCywLIbcuP+QO1LHH7y watq9wRRMsMDIBA2+nO9gngjJ+gro0eqYITydnA4HlQHkzAsl6hKnM/85AQoxq0KzdDU jOZlQhsiFaZq0XmEozny47pbhm4BpRC7jtYDEX42fqP6kpB8oMKe8yszFFUfJFbdkpwP 5K14pP5MVMJR4UOh82ZlcWGcZtOq8ZFGYuD9LsChM/GPzGyPoNoRsunPaR5Gf7lPFtIF T6lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TVzAji3GW1QKfy7eDTvui/A8m2Rjy2R5WVJhQA7E3lY=; b=Qv/n0qJ31kMEBgo30yFe1n1oXwRGiNObc4Vc6AZ45nEsXjygyJCuHG8bSEDxOLFLas tyxrG+xoMJpW5qx8f/869Aq6dRO/c7MmwXgpkD5guQTPAd9t+hjBd/0yOsr5D38iGdrm qgruzO0CKk3YrqhBDof7S/XNY1V2/6CufdfZOb06YQFuDgRH0rNwHethwa0KddA+SXlr /Yf3d5GDbrHCtz48F8akAZ48tEs1Xxj/SZPwouV1OebSMI1KFvGxeNmkjtgwvG5IWddp s7Q3tsJ2WbQEZDqdKuyBbKkPgIa2NUTFrNG/UMTIA7md/wrGUn6Ip1k5oS7IOYw8wSHk TM3A== X-Gm-Message-State: APjAAAUCRXAHY/34gTn+lTPxUgNjQANHxJQmwwjUOf1iMJc6hBrQVYE4 wuYnrSCdUaKmhKriH4I035U= X-Received: by 2002:a63:ee08:: with SMTP id e8mr22406175pgi.70.1568040313430; Mon, 09 Sep 2019 07:45:13 -0700 (PDT) Received: from localhost.localdomain ([149.28.153.17]) by smtp.gmail.com with ESMTPSA id t9sm15334693pgj.89.2019.09.09.07.45.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 07:45:13 -0700 (PDT) From: Changbin Du To: Andrew Morton , Randy Dunlap Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, Changbin Du Subject: [PATCH v3 1/9] hacking: Group sysrq/kgdb/ubsan into 'Generic Kernel Debugging Instruments' Date: Mon, 9 Sep 2019 22:44:45 +0800 Message-Id: <20190909144453.3520-2-changbin.du@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190909144453.3520-1-changbin.du@gmail.com> References: <20190909144453.3520-1-changbin.du@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Group generic kernel debugging instruments sysrq/kgdb/ubsan together into a new submenu. Signed-off-by: Changbin Du --- lib/Kconfig.debug | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 10023dbac8e4..bd3938483514 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -419,6 +419,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 @@ -452,6 +454,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 @@ -2111,10 +2119,6 @@ config BUG_ON_DATA_CORRUPTION source "samples/Kconfig" -source "lib/Kconfig.kgdb" - -source "lib/Kconfig.ubsan" - config ARCH_HAS_DEVMEM_IS_ALLOWED bool -- 2.20.1