Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2177876imi; Sun, 24 Jul 2022 10:02:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tJMDH+nh6spHMpg5GLQ0XSTDlr0ZkpMBChffv2J3WJz3f4sP91f5zdYABJRxLaukFuLTxC X-Received: by 2002:a17:906:8a5a:b0:72b:6b60:2d9f with SMTP id gx26-20020a1709068a5a00b0072b6b602d9fmr7076522ejc.324.1658682153148; Sun, 24 Jul 2022 10:02:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658682153; cv=none; d=google.com; s=arc-20160816; b=kwKXvPyEAxdPACYed3y8fB+qv16vkhe3LUmQpA2PPlDM/54e+mZo8jP9TCyFn+Epku dcQ5lUU5x7PpvLj5c/OqUCwj9W7b44qRz4FDBCfrLPJIqjnrcaxwrJjWhnpzGJ22p5f0 KtVjLRLzpSxR37sahC04k13WrBPCrgiAhWHDW+2U8eIj285PF8xeTkYSEYAKFvT74LpI 0qvAMQ5Pg/3FGOu4z02M8MnK0TNTn4fUPLUrGsN4VWxRnatURBLCfFe6gTQtGVFytdo0 MPUcy+AVhVuSIYiqeeU4YQtFPjo9Rsv+nM9MqXIWE32PdeeUeJGFD1LZeXNsDUGdJ8gc g6pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=XKvsGvwSeZ38K8I2T9pFV6AFoeIH79QR38DqdCWXeYQ=; b=XZfBnRD/1bve3ohi62bFrFs1NLDNKjEvtRy42fd4kNF3GpxFL+GbMWoGyJC8a9PdVX EcW5MNX1fxDobyc7zyyc5n02cxbJuU+1JRg1HK0ekiaHDJ71neiXUKp7dPjwyIXKZv+1 JZ+0EYKJ5mQZ5FR04OPGrJST8CYIe3l4DGn66vwMMZqzqbCmMj/ohaiI/JH5vZnYwimH w3Sd+Cp+09efnuY0QKf6tMm/DBhmIIT2JnKuDT2niNB1/TL4/eigowzmLOEudK9D1fGL 6sM5/x/3L15Xp4weBV4EeBezLKoJAZcWSKU3CYef1FKbv/vnWUg+5WxM244dV0xRJXqn Rhbg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ek19-20020a056402371300b0043bc778b19asi4376382edb.166.2022.07.24.10.02.05; Sun, 24 Jul 2022 10:02:33 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229992AbiGXQtr (ORCPT + 99 others); Sun, 24 Jul 2022 12:49:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbiGXQtq (ORCPT ); Sun, 24 Jul 2022 12:49:46 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FDAF1057C for ; Sun, 24 Jul 2022 09:49:45 -0700 (PDT) Received: from fraeml701-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4LrTZg4dxWz67Mxp; Mon, 25 Jul 2022 00:46:03 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml701-chm.china.huawei.com (10.206.15.50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2375.24; Sun, 24 Jul 2022 18:49:42 +0200 Received: from localhost.localdomain (10.69.192.58) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sun, 24 Jul 2022 17:49:39 +0100 From: John Garry To: , , , , , CC: , , John Garry Subject: [PATCH 0/2] arm64 defconfig: Get faddr2line working Date: Mon, 25 Jul 2022 00:43:22 +0800 Message-ID: <1658681004-132191-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.58] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 scripts/faddr2line has not worked by default for arm64 since 5.17 Firstly, since commit f9b3cd245784 ("Kconfig.debug: make DEBUG_INFO selectable from a choice"), CONFIG_DEBUG_INFO was not getting enabled by default (and this is required for faddr2line to work). Secondly, commit dcea997beed6 ("faddr2line: Fix overlapping text section failures, the sequel") caused a breakage for arm64, as reported at the following: https://lore.kernel.org/lkml/3bd9817d-1959-c081-e5d0-8b0e70b3f41e@huawei.com/ Josh has sent fixes/improvements for faddr2line at the following: https://lore.kernel.org/lkml/cover.1658426357.git.jpoimboe@kernel.org/ In this series I enable CONFIG_DEBUG_INFO by enabling CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT, which seems the sensible option. As for merging this, I am not sure who would pick it up - any takers welcome. Note: this is based on next-20220722 and it may be wiser to sync the defconfig manually (instead of using 1/2). Indeed I am not sure what is the policy is of sync'ing this anyway. Thanks! John Garry (2): arm64: defconfig: Sync with savedefconfig arm64: defconfig: Enable DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT arch/arm64/configs/defconfig | 85 ++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 48 deletions(-) -- 2.35.3