Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1198866pxb; Fri, 21 Jan 2022 12:04:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwLtA02lNuq4sOFpLy+eH+ALxCMqiixWxirvHjeXVKAbIf1Ete1tsKxyV/RTr4t5EHLwQzi X-Received: by 2002:a17:902:7681:b0:149:bb15:c53f with SMTP id m1-20020a170902768100b00149bb15c53fmr5327589pll.159.1642795481971; Fri, 21 Jan 2022 12:04:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642795481; cv=none; d=google.com; s=arc-20160816; b=nkxOsVwyN6kMiNkvoILZrMWmLyx0ql+x7/onDGIA7ki/9QypgrX5wMzv9JDh0M98XI f6ZoswCF0uOUjyU3zCn3JWGJmWSkBzY3OdSk7lf1dIMcH+uc4CZIaQ9EX9wQ4YNvxnMJ o+QE40GZnZ6Qu2P1SbJc1SAWhKKuorH9OxpU5s1iiFhV7qwBpWIr5x6gy4o+uwS2306F QTVIJ0nD3ikV0pAXHlkUgWj+J6IODDd+7tFo8MGmmY4KfdDiG7sAq4hTk05cVyT49gIv tooUlUoYWHrbK+WIVcOWfv8vf4gxprRsBN8qPoMgxeKADhjHov3hnqLPLJPUT5EN7u25 LoIg== 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:message-id:in-reply-to:date:references:subject:cc:to :from; bh=63T475eMa0Nt8XotdKpkNsBxqsKvReYxtnTT/qJMC7w=; b=AFJ9LkhIaDoBlWXVvJ0A4WpHbwOm/JBR3N4H2RgTn3GUYhs0lXq6bIhZV2uSrEwWqZ L6C03RCNP5Nw2k1bVtiRUuUgIkuB+dh/wGRAfMgRALMnIUdLafCdEOcBlVEP1GE7+G1N hCAHWn2nY+oJajv4WyAI78/JInCpSwQ0jXpnEq+gn6FHj9rj40Q6lJKBXjgZe3Jg6jp2 vfHyYi/QrNz9GN0J4PfLHCwgdhnh5xrpnV9SzSk8Gvsy6lAjF3BcrkM6YGbaoMHxtuoR 9/d1qJsR+lkDU6stWckkpZwPaHXHkqCCW1TrxEGPntsnOsxPQJwpO6rkfCX9SZgShDVX xqgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mm21si4261806pjb.144.2022.01.21.12.04.30; Fri, 21 Jan 2022 12:04:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357401AbiASUpW (ORCPT + 99 others); Wed, 19 Jan 2022 15:45:22 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:54468 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357468AbiASUoX (ORCPT ); Wed, 19 Jan 2022 15:44:23 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4JfHgQ5sXnz1qwxw; Wed, 19 Jan 2022 21:44:18 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4JfHgQ50LCz1qqkB; Wed, 19 Jan 2022 21:44:18 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 6L6xe3EddrKa; Wed, 19 Jan 2022 21:44:17 +0100 (CET) X-Auth-Info: nJuTUY16BLditwCx3N+8RgW7uEoB4EG3dgp1fSm5IYXv2+7XoCryn5F+CymGT4hG Received: from igel.home (ppp-46-244-165-91.dynamic.mnet-online.de [46.244.165.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 19 Jan 2022 21:44:17 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 4B0C22C36EF; Wed, 19 Jan 2022 21:44:17 +0100 (CET) From: Andreas Schwab To: Jessica Clarke Cc: Changbin Du , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv , linux-kernel@vger.kernel.org Subject: Re: [PATCH] riscv: eliminate unreliable __builtin_frame_address(1) References: <20220117154433.3124-1-changbin.du@gmail.com> <87v8yg6lhf.fsf@igel.home> X-Yow: Did you move a lot of KOREAN STEAK KNIVES this trip, Dingy? Date: Wed, 19 Jan 2022 21:44:17 +0100 In-Reply-To: (Jessica Clarke's message of "Wed, 19 Jan 2022 19:05:13 +0000") Message-ID: <8735lj78wu.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Jan 19 2022, Jessica Clarke wrote: > Leaf functions by definition don’t have callees that are trying to read > their frame pointer so aren’t relevant here. ??? __builtin_frame_address(1) is about the caller, not the callee. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."