Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1166058rdd; Wed, 10 Jan 2024 10:31:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGtp/yjIRwm6D/dqh4L65+LAk7gM6tuTAcUuElTQ2ho1Wgq/bVZ3JwUo+mW+SGN5a5mJx+W X-Received: by 2002:a25:a543:0:b0:dbe:a0ef:7672 with SMTP id h61-20020a25a543000000b00dbea0ef7672mr50049ybi.30.1704911514067; Wed, 10 Jan 2024 10:31:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704911514; cv=none; d=google.com; s=arc-20160816; b=jRzSzdOxTaGNcNFsUBtw+R3RpbQ3YnqRAWbw+YQnELWO2KEiuWUu6CltA1sUIP9Czo tQdWE7Em+6fs8Pwh3FPcTOf8mCk1XMeBEKyqPucVVLxqSe8d0g3EO+OoUTGchF+6YE2S hw7Wc6DuvQ75c2cj9BGIxahZ7iqHqncTm9UqazK7kQM7Y5WOLAe1csDVz9wdj6KxAvPs Ru9Rt17vvjxJeKZY2FWvDxrUck2IsfibZMrLNVm8ePpBBxfZ6k65j3zXVQTpchU5YESN cXJSKVn8edcCdh0MHtB4BlzofYPS8YEEm8swv/XQXEYsDwBMtXQgb5YQ0KN7R+adnc9t sAdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ygJO/yfS/kYURGo632XL+UAKC6HRU0bCt+QfkkSA/jQ=; fh=uKuUcaw9bqcsyWPKxCEbqz4kDoaLp0vX8sSk3/tdeng=; b=00Rzsbw/tPJUtxWuzMiKirXf/mmYSJL8op4Ontnb933OHJgwl53+UMjLwshJPsCZDw do1XVoQ3A5LcYVb5YQY2tH5/r3HIlHsjB4IT6GKXq0uMYxoHEQt6q7DIUKLW1WhpQ8ir aR/S/zqr2Pwl62l1gq2nKsHMPfSYreYfWkHmSYEgxo49yDVoetYPh2L+weu0jBXvpo2m KUetz4pOHRRNTFm3Qxm0tu9+/8pKD99IhOIJGY9IXY3nPdcM25qQgP2eXqkZxpzDzOPk lJBvIEbZRZm+mfngWwawM7G+zlD3KEqOkwVkhdiS9MZzIOtphn01jO8ttKNXE4L9KgnK OlVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=Altj7fFE; spf=pass (google.com: domain of linux-kernel+bounces-22603-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22603-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ey13-20020a05622a4c0d00b004298f46a4e4si4896764qtb.736.2024.01.10.10.31.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 10:31:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22603-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=Altj7fFE; spf=pass (google.com: domain of linux-kernel+bounces-22603-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22603-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CCFBF1C2247D for ; Wed, 10 Jan 2024 18:31:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA0864D589; Wed, 10 Jan 2024 18:31:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="Altj7fFE" Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 375A44D582; Wed, 10 Jan 2024 18:31:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ygJO/yfS/kYURGo632XL+UAKC6HRU0bCt+QfkkSA/jQ=; b=Altj7fFEgmnst3pkUyvqp/ev10 l8KOLFzehOuc1jSUkQ/pKC5Dr5WSCqjyO67puXiqXG1Sz+x+DYTyX5m1XDJsdvqRFRJdccIXFuwtZ f3qUcAw+XChvxpSGtvl7S7pfLiUaFbjj+Xh2mm6OKniuh+4h3rSm82IA/KeANy4uD3lgyUrGlgcyF lQCz+bnsqvqzTHaGbcXe4jrGT1DPToEkIdTYVW9oRXAgc0gJxQ/fofdHYIA902JAW0+rMS/wQvQ3E /FDlBX3atzL92Ci3v6VVOqAagyqzTsYJq57SCv1sASq7QTsfYPsFsATL+ejKr+3FsxbtfXePkCoy8 vxb/pohQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:40166) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rNdMB-0005hi-25; Wed, 10 Jan 2024 18:31:15 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rNdM7-0005XE-DA; Wed, 10 Jan 2024 18:31:11 +0000 Date: Wed, 10 Jan 2024 18:31:11 +0000 From: "Russell King (Oracle)" To: Vladimir Oltean Cc: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , Sean Wang , Landen Chao , DENG Qingfang , Daniel Golle , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Richard van Schagen , Richard van Schagen , Frank Wunderlich , Bartel Eerdekens , erkin.bozoglu@xeront.com, mithat.guner@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next 08/30] net: dsa: mt7530: change p{5,6}_interface to p{5,6}_configured Message-ID: References: <0542e150-5ff4-5f74-361a-1a531d19eb7d@arinc9.com> <7c224663-7588-988d-56cb-b9de5b43b504@arinc9.com> <20230610175553.hle2josd5s5jfhjo@skbuf> <22fba48c-054d-ff0a-ae2c-b38f192b26f7@arinc9.com> <9308fa1a-6de3-490b-9aeb-eb207b0432df@arinc9.com> <9308fa1a-6de3-490b-9aeb-eb207b0432df@arinc9.com> <20240110142721.vuthnnwhmuvghiw4@skbuf> <20240110180525.wwxkkoqam37oqm2f@skbuf> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240110180525.wwxkkoqam37oqm2f@skbuf> Sender: Russell King (Oracle) On Wed, Jan 10, 2024 at 08:05:25PM +0200, Vladimir Oltean wrote: > On Wed, Jan 10, 2024 at 08:15:20PM +0300, Arınç ÜNAL wrote: > > __builtin_return_address(1) doesn't seem to work. I'm running this on arm64. > > I can't tell you why either, I'm sorry. I can just point to the > documentation, which does specify that "On some machines it may be > impossible to determine the return address of any function other than > the current one". If somebody knows what this depends on, feel free to > interject. > https://gcc.gnu.org/onlinedocs/gcc/Return-Address.html > > On my NXP LS1028A (also arm64) plus clang-16 compiler, __builtin_return_address() > does work with multiple nesting levels. gcc will probably need to be using frame pointers so it can walk the stack, if gcc even implements non-zero values to __builtin_return_address(). Without frame pointers, it would need an unwinder. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!