From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8046D222580 for ; Thu, 9 Jan 2025 16:16:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736439387; cv=none; b=RhC1IY6E8hjnT8K0LLIQl4LwFo/F2PLXUboKT33wHnHmjoAqvzWzz3qECVpJpjzW2ViqONbViLmgQNfdknPGIxPo3V54rdP4W+yIc7D+F1GhSJVYsJeXQ4WRg9UI514hGJeo/ZBJuOC1F3+WUwpKi3DcaZ69mEJ0iYakjz2iC6w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736439387; c=relaxed/simple; bh=P4omZiuNPKRvfWFtFyjMMe2KlP1PlaCHnveL+GNvOfc=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=DlRS5QX95sqCe4w5bjc2PSOo9YNOUUmj2VNDBRsUjn8MaXyrHJECunN2RrOQ0axgtr90zz9eIOEylh/GJ2UPyBZh1AE4iZaUH+hnqHj90CaJyVmKdi8xcMHq+86scjaK1s2b7gSPDskWAyyOAtzAexUuMiXXc6Cm24iCrGxIIvo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=N+OLsBxL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="N+OLsBxL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8465C4CED3; Thu, 9 Jan 2025 16:16:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736439385; bh=P4omZiuNPKRvfWFtFyjMMe2KlP1PlaCHnveL+GNvOfc=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=N+OLsBxL39t8/zEdqoVMIaKdv36/PzzEpTg0c+I4Q1EWxTh/txmYM74trpiwWY7Ge +HomxJCp7LzH11ryhNdqZYqv2cLHXonQdgTwxfcTHdjNKIfgORR5JZ65k+ZQ5LBsKf idHWrcDQ5JALk7kh7AiDyJGNN84EU0fD5iAQm/9/MWFO4to1CiURqBUeKHc9ccSqZV NuysTwK4b7ijzXHqVV0cUBs0hx5fH52d+86DS/EbnE3zaSCpCkzYFsLm7StwPyiYPm y5pAvjwmJuIcTssK7SkuHYB/9qXjG91eFsNPO+17i+DkacNMunuhUqNX/WUBnh02uv inXLIsHNV/6tw== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id ADFCB380A97D; Thu, 9 Jan 2025 16:16:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] riscv: stacktrace: fix backtracing through exceptions From: patchwork-bot+linux-riscv@kernel.org Message-Id: <173643940723.1375203.17763630478007232527.git-patchwork-notify@kernel.org> Date: Thu, 09 Jan 2025 16:16:47 +0000 References: <20241209155714.1239665-1-cleger@rivosinc.com> In-Reply-To: <20241209155714.1239665-1-cleger@rivosinc.com> To: =?utf-8?b?Q2zDqW1lbnQgTMOpZ2VyIDxjbGVnZXJAcml2b3NpbmMuY29tPg==?=@aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, linux-kernel@vger.kernel.org, antonb@tenstorrent.com Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Mon, 9 Dec 2024 16:57:12 +0100 you wrote: > Prior to commit 5d5fc33ce58e ("riscv: Improve exception and system call > latency"), backtrace through exception worked since ra was filled with > ret_from_exception symbol address and the stacktrace code checked 'pc' to > be equal to that symbol. Now that handle_exception uses regular 'call' > instructions, this isn't working anymore and backtrace stops at > handle_exception(). Since there are multiple call site to C code in the > exception handling path, rather than checking multiple potential return > addresses, add a new symbol at the end of exception handling and check pc > to be in that range. > > [...] Here is the summary with links: - riscv: stacktrace: fix backtracing through exceptions https://git.kernel.org/riscv/c/51356ce60e59 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html