Message ID | 20230713163626.31338-21-jim.cromie@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp1963528vqm; Thu, 13 Jul 2023 10:06:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlGCwgDfQNzTYfDVKWghZ9PvIkZGBYQLqBQfRqH9XVSfdOYhJueWuCPRbQflAW1fI6DBoWi0 X-Received: by 2002:a17:907:970a:b0:98d:4b97:acc8 with SMTP id jg10-20020a170907970a00b0098d4b97acc8mr383264ejc.25.1689267984232; Thu, 13 Jul 2023 10:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689267984; cv=none; d=google.com; s=arc-20160816; b=J8yKtuBXcTiEGeS5Ha4LA806YJ5rINzMYV89PRNjXhA0xgX30Sc19XF6oLDd/uLb1r nAgcpPF89vTZSuo5/urwXsAK2d6vHsHzq9hQsYC0kHTSPSfy8Qddzi0W/hG8xeXtlQDk P/BB9g3hif0K3VU9XDolNfGaeKd3+u4RU7rlp+VWQ71MPLJh9yzVi0yfJKTT15XABDRc +hk1f996S9ZIYk+r5ad1ne+stLfBG6lk/vBbeTsnI3xxcAlscApgW0tEXqJ1pNOCrpRR sE80YW8QWol0WzWlVpQUL17iTHONriK8hjxd8PxmReLpWjgSi8fFSnzAFVjwET/wzESL tCxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tc9Brh2W3dPQvcqCOoVpte1ruNYD5JWFtpqITlawe8U=; fh=/CYHsJHkAPOgOy4IDXYU5w+VojxE3561vOD18ijZg9Q=; b=fl/KpwULWFEqyGIgkPgz2uejjiJ3S4HBHyjtHRS2IxXacFoux+1TEDwoL5i8CCvuYD 0Rj7GI1XtZcqB+SifjzKT53fvGdTyjWYiLPUA3cpCPZlqrIuvlyGjEqPpyXSvviDuN52 rQ60ruGpduEQe2NBmf5BOKFlzLIiLCTprufnmc+YPAjX0ZuX97KUQ79SrZgkpZtZJGMA 0XqjILplBDJ089aScFSGK9A7SITCnWlUpb8h1+x/Un2BP6lBsalHdmllUrL7IHmfiQYT 5gOPthffR2Nzba2jyLQ0l/RC37DCiR7bIunD0Tt3FjorIOqqJJRhENIgwOmjSbvgBKOB nkVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=VsfyQKiL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v5-20020a1709063bc500b009920f18a5e9si7193667ejf.728.2023.07.13.10.05.50; Thu, 13 Jul 2023 10:06:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=VsfyQKiL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S235238AbjGMQiz (ORCPT <rfc822;ybw1215001957@gmail.com> + 99 others); Thu, 13 Jul 2023 12:38:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234957AbjGMQhY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 13 Jul 2023 12:37:24 -0400 Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E48242719 for <linux-kernel@vger.kernel.org>; Thu, 13 Jul 2023 09:37:06 -0700 (PDT) Received: by mail-il1-x135.google.com with SMTP id e9e14a558f8ab-3463de183b0so3825285ab.2 for <linux-kernel@vger.kernel.org>; Thu, 13 Jul 2023 09:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689266226; x=1691858226; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tc9Brh2W3dPQvcqCOoVpte1ruNYD5JWFtpqITlawe8U=; b=VsfyQKiLjbzKK/SahsmLfJl8Z5jeUynfr0CGupnuqwUvhXarUNFxb4dr2w1hr+uGyT s7PuO6sZxBKzI85rB0M97T7GRy4O6xyqTT5e7Fw9ikPjgU4ipxt1Qz9iHBFfW/yDOTRl ckLv3sT5eUP2QZTIZrP9F5b6dhLZPm/ABHMG6573blneUR6G0Ye+wsj1MMCbZJxoKxC4 LqY7RLUKs9KWXWuIay4vywY5Z8jeU42vhb1vepjVcJWtPe5cQMDZbWwAVVBQJXHQW9gv 1RhkzAb/nIU6ZLKkOg3TePjFGtilKseYtyWY2vBL01JW7jw68B9zDC+7Ipfqxd2mYpL4 J9Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689266226; x=1691858226; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tc9Brh2W3dPQvcqCOoVpte1ruNYD5JWFtpqITlawe8U=; b=VV1c2AkDaz4qydR6lu0MfBpkq5bYswGAOjHJY9FZKCxSiAm4J0cHJk4omzBtTghN9f 2RyBH1OXu5/joPzfzzl2O3hj5gJzWrCiMNTOUBZCuuTG9DU8DXx8PcZoI89V5JO49Tjc NfkwKX7A99tlb9FendVyIx7RSiWpw4O4atGpOH5UKLgaQp7m2ERGjiUJLtCtmmqmu84w ChzquoNeK28qWNx5j6d9BQzq6ykKwg/F7qaMmv2FTsUsRsdVU9dPembA/Q//DpTGA4HS 4BCNlfOzTSdpBqx5sWBAfPHBcYYZ41cajwgBmPIqSdTywChsLQwV1uC9eWc/z1HxM6qU Zuqg== X-Gm-Message-State: ABy/qLY4wnl45lyRBJ6y/qBI6IS0QSRFY2Q0xQ1MTen9Os1+KKU1BJmp Ly/Gfgqezk9kIlH1FsE9nzA= X-Received: by 2002:a92:cd0d:0:b0:346:28e:ebf with SMTP id z13-20020a92cd0d000000b00346028e0ebfmr2059677iln.2.1689266226260; Thu, 13 Jul 2023 09:37:06 -0700 (PDT) Received: from frodo.. (c-73-78-62-130.hsd1.co.comcast.net. [73.78.62.130]) by smtp.googlemail.com with ESMTPSA id s7-20020a92d907000000b00345950d7e94sm2147571iln.20.2023.07.13.09.37.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 09:37:05 -0700 (PDT) From: Jim Cromie <jim.cromie@gmail.com> To: jbaron@akamai.com, daniel.vetter@ffwll.ch, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: jani.nikula@intel.com, ville.syrjala@linux.intel.com, seanpaul@chromium.org, robdclark@gmail.com, gregkh@linuxfoundation.org, Jim Cromie <jim.cromie@gmail.com> Subject: [PATCH v4 20/21] config TEST_DYNAMIC_DEBUG default m Date: Thu, 13 Jul 2023 10:36:25 -0600 Message-ID: <20230713163626.31338-21-jim.cromie@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230713163626.31338-1-jim.cromie@gmail.com> References: <20230713163626.31338-1-jim.cromie@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771325865471329662 X-GMAIL-MSGID: 1771325865471329662 |
Series |
fix DRM_USE_DYNAMIC_DEBUG regression
|
|
Commit Message
Jim Cromie
July 13, 2023, 4:36 p.m. UTC
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
---
lib/Kconfig.debug | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Comments
Hi Jim, On 7/13/23 09:36, Jim Cromie wrote: > Signed-off-by: Jim Cromie <jim.cromie@gmail.com> > --- > lib/Kconfig.debug | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index d4fbbcc395d2..82d11ac63758 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -2696,13 +2696,14 @@ config TEST_STATIC_KEYS > > config TEST_DYNAMIC_DEBUG > tristate "Build test-dynamic-debug module" > + default m You need to justify such a change, and since it's not required for running the system, I don't think it should be 'm'. > depends on DYNAMIC_DEBUG || DYNAMIC_DEBUG_CORE > help > This module works/demo's the dyndbg's classmap API, by > creating 2 classes: a DISJOINT classmap (like DRM.debug) > and a LEVELS/VERBOSE classmap (where 2>1). > > - If unsure, say N. > + If unsure, say N. If bored/curious, say M > > config TEST_KMOD > tristate "kmod stress tester"
On Thu, Jul 13, 2023 at 1:04 PM Randy Dunlap <rdunlap@infradead.org> wrote: > > Hi Jim, > > On 7/13/23 09:36, Jim Cromie wrote: > > Signed-off-by: Jim Cromie <jim.cromie@gmail.com> > > --- > > lib/Kconfig.debug | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > > index d4fbbcc395d2..82d11ac63758 100644 > > --- a/lib/Kconfig.debug > > +++ b/lib/Kconfig.debug > > @@ -2696,13 +2696,14 @@ config TEST_STATIC_KEYS > > > > config TEST_DYNAMIC_DEBUG > > tristate "Build test-dynamic-debug module" > > + default m > > You need to justify such a change, and since it's not required > for running the system, I don't think it should be 'm'. > meh, now I cant "justify" the bored/curious comment. ;-) I'll drop this patch. > > depends on DYNAMIC_DEBUG || DYNAMIC_DEBUG_CORE > > help > > This module works/demo's the dyndbg's classmap API, by > > creating 2 classes: a DISJOINT classmap (like DRM.debug) > > and a LEVELS/VERBOSE classmap (where 2>1). > > > > - If unsure, say N. > > + If unsure, say N. If bored/curious, say M > > > > config TEST_KMOD > > tristate "kmod stress tester" > > -- > ~Randy
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index d4fbbcc395d2..82d11ac63758 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -2696,13 +2696,14 @@ config TEST_STATIC_KEYS config TEST_DYNAMIC_DEBUG tristate "Build test-dynamic-debug module" + default m depends on DYNAMIC_DEBUG || DYNAMIC_DEBUG_CORE help This module works/demo's the dyndbg's classmap API, by creating 2 classes: a DISJOINT classmap (like DRM.debug) and a LEVELS/VERBOSE classmap (where 2>1). - If unsure, say N. + If unsure, say N. If bored/curious, say M config TEST_KMOD tristate "kmod stress tester"