Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5962585ybe; Tue, 10 Sep 2019 11:23:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbZe7/XGf+UyCFd9WvEKT8LS2gVUYyJzpMOIdv5JRcbh8ugnF1ujOtoFetkw9kAHedEdgl X-Received: by 2002:a50:f98c:: with SMTP id q12mr31416129edn.75.1568139835840; Tue, 10 Sep 2019 11:23:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568139835; cv=none; d=google.com; s=arc-20160816; b=MGPVKpDOvEDWXvrjX+Wa2bEVVUJfvTOZhrQjGD8qdfYitlxKl7RAHIJT5RXcb2yWN9 Mc64ap0eAS2c7YdGczlnvqRol+LGxJl4OrBBuBHNEXWsez54T4KvbWJndt+tQ+nCA+CP Ps+KT1tVxr5FkxVQu36kGRpUvkAzaxUbtcoaIFfBSTutMs+mveApro6vZiWbQo41TZ8w 9MuGC7p6vG9mP3ZyqLSaJCkisRrp064CDtJLOnNTgJZMZ/fBQpOavnGTYshpF7vJX+Z6 kwIy58zol7QF6mKldc4SNW+us5j9MFpPdEhXRPoJ1lVhqPA1Uab8Affhzb6D9hK3fmeU Qvqg== 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=eWiHRwnDRi2dvJ8g2N7KPg5zJePXiRj44WoPZqLYUNiC8PCvUtmLjvUNGYnk/ERaBG SL3rX7zjMtlVZFFB9HYegY+bPbqcWaX9SlbCORDFPf8oQX1saNABeiniqdpHWszJciLQ 0Yku/WMyjZ5mnndiEw/SyMG1h4seTR4+vOP9VVL6cHKGEgVXPWk3HBO3ktAexhO4Tkq3 InaRJV+SErG351EaxG6ltrgOWsskpAM+dTZZHHJ214gyYYeqY7FU8BPdrRtioPkGUvOx kwWaNnqU95n1ooMo52/YO4SwWWWpXsS8Na2XnVxWHw9WlAVWK5DOB9CuIEWj6O2fF7BL etfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FA6Y2gps; 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 c10si10909797edc.419.2019.09.10.11.23.31; Tue, 10 Sep 2019 11:23:55 -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=FA6Y2gps; 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 S2387478AbfIIOSr (ORCPT + 99 others); Mon, 9 Sep 2019 10:18:47 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:43608 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387403AbfIIOSr (ORCPT ); Mon, 9 Sep 2019 10:18:47 -0400 Received: by mail-pg1-f193.google.com with SMTP id u72so7909632pgb.10 for ; Mon, 09 Sep 2019 07:18:46 -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=FA6Y2gps0ifX4uvnMDS0DOiT+Fgh3UqtUE72ZWqOu8lwrz0rbfDuEq1Otp/RC4ymAE QnicVLMtN9dR6FciZ8oeyYzfJxSXpvmqh2DthA2zxib/0mtBfvwKi1lIFk3Fw15LCaIz nP+yXwI6LC+5srReh5dwKLtthYueXmWqI3HilJSbX+7cKh7rEHVvlEaFn+072/1BwhiD t6NNv6ypve4lOYDsvbn+Xc5S19KFBJZGJAwsv30kQOju2pmFyvnwrOhpxmFSJoSdLW5p hS6AbUV8sti03LRs59bq2s6AhcBqiD2Ie8q/pw0S4snbMat7pi40iAvbp2SgX7sSwhfe riUA== 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=H5/rtEupUAsfTV8hF8MWnzgpo98yCMgGY9WNT2gijo78bvz7IOZ4ecfrqBDGhb3yrb cgcv7TEY6A5bdoZf9+47x4fgETYQNGtfT15EwTHmm46lqZHg+Te7yxPx8Afx1ReVWN3i 9kvgLtSVGNELRi1OcI7J22lmViyV3bmKNxYV18Iy5GrjGGUyHKdFfdxM+qU5doLyB5Np VHy0MYCiRgTTKx9/Ku94qxPgaNO3G+eLuqHc8InVOZjKxt9Lya/5xyJQEQsFuXlfSmuM bb//40TcS59clEGyP5RxzH7jcwT6O7C/HeSiS+oPtM+3u/VD8yQqYDnQuuIQtYml7rpU bOsw== X-Gm-Message-State: APjAAAXKxW5uqmeWdxLkYgAjlNbYX6wRIQi8CRy9YJ1AC5oCeW9s73Xm +6asxT7PUIFM0QAuLT/otOs= X-Received: by 2002:a62:1cd2:: with SMTP id c201mr28282621pfc.51.1568038726507; Mon, 09 Sep 2019 07:18:46 -0700 (PDT) Received: from localhost.localdomain ([149.28.153.17]) by smtp.gmail.com with ESMTPSA id w6sm34574695pfw.84.2019.09.09.07.18.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 07:18:46 -0700 (PDT) From: Changbin Du To: Andrew Morton , Randy Dunlap Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, Changbin Du Subject: [PATCH v2 1/9] kconfig/hacking: Group sysrq/kgdb/ubsan into 'Generic Kernel Debugging Instruments' Date: Mon, 9 Sep 2019 22:18:15 +0800 Message-Id: <20190909141823.8638-2-changbin.du@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190909141823.8638-1-changbin.du@gmail.com> References: <20190909141823.8638-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