Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3349617pxp; Tue, 8 Mar 2022 12:28:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3oKv9l1rlnQUMFc5Eeq589K4GO0rvIVnUmon1KTiTAWBNwPIz0O7b5dpdFKo9yZKU3PSe X-Received: by 2002:a63:b30d:0:b0:378:c5ee:afda with SMTP id i13-20020a63b30d000000b00378c5eeafdamr15812098pgf.385.1646771291680; Tue, 08 Mar 2022 12:28:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646771291; cv=none; d=google.com; s=arc-20160816; b=TWXQuOl8Bc8exUZj+QdZV4oT3/8+MQcge7lsmdNd6JZUTJWRuMPOiFPeqt8so2TzzF nE+w1Ae9JXrtr5PglzsxsYrjwP5zg/4V6VG3r4u3iRqz/s+fMgOJTMwe+y+O4BRytkB6 3nwOQV1YoGbQedWh4dNWFulXmpaBKkYirDmwJEeJQz0qQeCtKkkqMb30XdXfunECCuhQ oPx5IpkOkrt1cOi+t8qfjnhHuRH2ayyEYdZFV/G65jDp8SXp5tJdAhhqBFvG7Y8nGwHE FuaWO3QUGKCKO5phcqIFwYeA/VfmAQu6cGeOBJEUJa4bwxMgFlEoA/w9rA7g7J7vizGm CQeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fyqN8RLn8JO7kE1GkcGhN9M7OuJ6K/kGI6Eh5ScqH74=; b=E4fFXCt5/BWiXhc9RwxIbj9qv7m9LURnr8i7+1ZO4woon+ZJ6iPDxpWYjl28s3+v0i Gb0pH9WEZ2UXvriKeT4bTFcGxOGwoad1bGpj6oHOXhRikrXwwJWS1y31qFAPQK3vvCyS hE6yagKmJDCw8hdW+dN+30wwUVPqQzkJaAaC+2VEoVNR35Fl5ATZ8NEoxd4r16DPs20w /7Y47JrmvnyWFG8Xpfnt7JmmIUpL7l0/De5dMy8AKC/dDpHOVBQ0MCULrwaQSe3AexPI fiY1CLP74MovVso4d8xsc00OnY7Fnqz/OuZKVC2Z4GKdKGdae8PQQ4B+s0hPVaFvdBjR THKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=jHFubqP+; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 19-20020a630f53000000b00372b2baa2e7si16766110pgp.392.2022.03.08.12.27.54; Tue, 08 Mar 2022 12:28:11 -0800 (PST) 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=@quicinc.com header.s=qcdkim header.b=jHFubqP+; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347266AbiCHN5C (ORCPT + 99 others); Tue, 8 Mar 2022 08:57:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241615AbiCHN5A (ORCPT ); Tue, 8 Mar 2022 08:57:00 -0500 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA54649F87 for ; Tue, 8 Mar 2022 05:56:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1646747763; x=1678283763; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=fyqN8RLn8JO7kE1GkcGhN9M7OuJ6K/kGI6Eh5ScqH74=; b=jHFubqP+r1inoGIGAn4wFAn/opXzdLnqU0bdjCHQ/NKuN9MQ9w04rvPK WM22mQpK4K3Z3XwPeJ6usd+RYQ/eKEy/EDP249Ek/DZa3uoO2GO1V63qq zAugcftC5qydoAFBGj5PGSwBXg6aIb8VdcKRXf20IZBYEqOI4Na6BBhvb k=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-01.qualcomm.com with ESMTP; 08 Mar 2022 05:56:03 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2022 05:56:03 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Tue, 8 Mar 2022 05:56:03 -0800 Received: from qian (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Tue, 8 Mar 2022 05:56:02 -0800 Date: Tue, 8 Mar 2022 08:56:00 -0500 From: Qian Cai To: Daniel Thompson CC: Andrew Morton , Subject: Re: [PATCH] configs/debug: set CONFIG_DEBUG_INFO=y properly Message-ID: References: <20220301202920.18488-1-quic_qiancai@quicinc.com> <20220308104215.q4asb6z3vicq2vja@maple.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220308104215.q4asb6z3vicq2vja@maple.lan> X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 On Tue, Mar 08, 2022 at 10:42:15AM +0000, Daniel Thompson wrote: > On Tue, Mar 01, 2022 at 03:29:20PM -0500, Qian Cai wrote: > > CONFIG_DEBUG_INFO can't be set by user directly, > > What do you mean by "can't be set by user directly"? DEBUG_INFO > is fully controlable via menuconfig. On linux-next, we no longer able to select DEBUG_INFO directly due to this patch: https://lore.kernel.org/all/20220125075126.891825-1-keescook@chromium.org/ Thus, this patch will work on both the mainline and linux-next. > Does this change actually work in the kernels it has merged into? > > DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT existence is predicated on DEBUG_INFO > being set. It makes no sense at all to set the former without the later. It works fine here. $ git reset --hard v5.17-rc7 $ rm .config $ make ARCH=arm64 defconfig debug.config $ grep -i debug_info .config CONFIG_DEBUG_INFO=y