Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3084569rwb; Mon, 15 Aug 2022 17:45:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR6VS7nj27kOUb8hW0MF2Rb188S7s90P70BPgPsm6x7p9q5ypGh58UTuY3CLjj7NjJG4fzmf X-Received: by 2002:a17:907:a057:b0:730:a2d8:d5ac with SMTP id gz23-20020a170907a05700b00730a2d8d5acmr11694570ejc.764.1660610705401; Mon, 15 Aug 2022 17:45:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660610705; cv=none; d=google.com; s=arc-20160816; b=uB/If9/pe0OkoKe8E0BcsCqrncRzZhf8uwrTletgGJCoMH09kAmiN1C+Io1LSQ0R9Q bSzWTEpi6eObukfzGXxMGGAZKJ8RNVCY9kHaixZ5YNYpyESmWQuWrTNjp1cj74L+CO5O Ru7Z3qeEnUAGsIbeeoAxAkd9Pm4BS8wEIAZGmQxligEwgNzEzvCGnutvgbh0faPEGQ2P g1ntBREhVojJpQbThYrStnZFqRZaIjUSjSpeE5taqtAfqYsLOH1CSNfvxqJwzquXL+VS 1N59gz51c8yXc0Hl41ysPZpMCOlv7yRQk+R0F5VXk5LAoA14//UK8/xOqtpFhjwz8ZYf rURQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=y+VM1E4Aj0uheZc+1AvUp042vcrGn26bF/yF93ZjfVE=; b=CIlQiMl9FVaP0OHxtUh9Iu+LC959QfVBc547TsA9p4f4tz3NgK2N8mESN9R+8rAUlh zn1JoLl2Qm4zfG0dbf8UavmyIinzeZz5WgFw7aIDLb/TK4PsI97KkG8+eRgFW4RLYXpa y+Y+jcZau9f1ak1DGcJzxmdc14OoB3DrFu1traQnedpggF3Y1TI4kc7bEVwNJsgTTH+6 i/KHPoaVXY1BI2ZviEQwCKUOrMfLUlkKJ9zhnor+OQ20ouLaBHYysU8eHdTy2l834+Dp C9iO0uz6N4VWavs0kriAE5K/x27Db1sOHU8wsJCgXMRPPeQJ4PEQLWLYSrche/VEWOKT l83A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Otw8msMN; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q28-20020a50c35c000000b0043cd18d34e1si7706056edb.177.2022.08.15.17.44.40; Mon, 15 Aug 2022 17:45:05 -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=@linuxfoundation.org header.s=korg header.b=Otw8msMN; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353489AbiHOXjg (ORCPT + 99 others); Mon, 15 Aug 2022 19:39:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353872AbiHOXgs (ORCPT ); Mon, 15 Aug 2022 19:36:48 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6D16152403; Mon, 15 Aug 2022 13:09:26 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 21147B80EAD; Mon, 15 Aug 2022 20:09:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 609DDC433C1; Mon, 15 Aug 2022 20:09:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660594163; bh=iy8R8sqgD1gbKLq9szHjKnBerfPbsLFLctTGUlSnXtM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Otw8msMNlEgZf1LHF3wXfXhy16P8ATVcZdu8nRt9Q6vcLPGYf7gjWA/D0v0UGTmX+ ESUiXAkPwLZ8ymFremfhxeM1dt2PLy4RAMrNLUTirzZwaNmakPLUgizaG6KgeRT7sc 8uZpS3qeXOktu5gaV8jkayBpRkgg1Hcy066Fjkdw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Paul E. McKenney" , Sasha Levin Subject: [PATCH 5.19 0388/1157] torture: Adjust to again produce debugging information Date: Mon, 15 Aug 2022 19:55:44 +0200 Message-Id: <20220815180455.216861829@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: X-Mailing-List: linux-kernel@vger.kernel.org From: Paul E. McKenney [ Upstream commit 5c92d7501699a5deb72a579f808500db5bb6f92a ] A recent change to the DEBUG_INFO Kconfig option means that simply adding CONFIG_DEBUG_INFO=y to the .config file and running "make oldconfig" no longer works. It is instead necessary to add CONFIG_DEBUG_INFO_NONE=n and (for example) CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y. This combination will then result in CONFIG_DEBUG_INFO being selected. This commit therefore updates the Kconfig options produced in response to the kvm.sh --gdb, --kasan, and --kcsan Kconfig options. Fixes: f9b3cd245784 ("Kconfig.debug: make DEBUG_INFO selectable from a choice") Signed-off-by: Paul E. McKenney Signed-off-by: Sasha Levin --- tools/testing/selftests/rcutorture/bin/kvm.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/selftests/rcutorture/bin/kvm.sh index 263e16aeca0e..6c734818a875 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm.sh @@ -164,7 +164,7 @@ do shift ;; --gdb) - TORTURE_KCONFIG_GDB_ARG="CONFIG_DEBUG_INFO=y"; export TORTURE_KCONFIG_GDB_ARG + TORTURE_KCONFIG_GDB_ARG="CONFIG_DEBUG_INFO_NONE=n CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y"; export TORTURE_KCONFIG_GDB_ARG TORTURE_BOOT_GDB_ARG="nokaslr"; export TORTURE_BOOT_GDB_ARG TORTURE_QEMU_GDB_ARG="-s -S"; export TORTURE_QEMU_GDB_ARG ;; @@ -180,7 +180,7 @@ do shift ;; --kasan) - TORTURE_KCONFIG_KASAN_ARG="CONFIG_DEBUG_INFO=y CONFIG_KASAN=y"; export TORTURE_KCONFIG_KASAN_ARG + TORTURE_KCONFIG_KASAN_ARG="CONFIG_DEBUG_INFO_NONE=n CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y CONFIG_KASAN=y"; export TORTURE_KCONFIG_KASAN_ARG if test -n "$torture_qemu_mem_default" then TORTURE_QEMU_MEM=2G @@ -192,7 +192,7 @@ do shift ;; --kcsan) - TORTURE_KCONFIG_KCSAN_ARG="CONFIG_DEBUG_INFO=y CONFIG_KCSAN=y CONFIG_KCSAN_STRICT=y CONFIG_KCSAN_REPORT_ONCE_IN_MS=100000 CONFIG_KCSAN_VERBOSE=y CONFIG_DEBUG_LOCK_ALLOC=y CONFIG_PROVE_LOCKING=y"; export TORTURE_KCONFIG_KCSAN_ARG + TORTURE_KCONFIG_KCSAN_ARG="CONFIG_DEBUG_INFO_NONE=n CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y CONFIG_KCSAN=y CONFIG_KCSAN_STRICT=y CONFIG_KCSAN_REPORT_ONCE_IN_MS=100000 CONFIG_KCSAN_VERBOSE=y CONFIG_DEBUG_LOCK_ALLOC=y CONFIG_PROVE_LOCKING=y"; export TORTURE_KCONFIG_KCSAN_ARG ;; --kmake-arg|--kmake-args) checkarg --kmake-arg "(kernel make arguments)" $# "$2" '.*' '^error$' -- 2.35.1