From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77B4FC433E0 for ; Thu, 25 Feb 2021 11:04:08 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 07A2F64F0D for ; Thu, 25 Feb 2021 11:04:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 07A2F64F0D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RHXg3fc6c9QGSn0nfGUabm1te1Qm2C3wEWVqkyE5eco=; b=MLYfiFrSrIK5YWcHzE4BL0ZnP lTTp9seoVe+MNLPlo2oKo9Aq38HJ4crbHe/SbqYVY1C9H5cyRGDidTe8d/zThRFjLLJNk9uQ91sJf +nfge/nSvKDBjymktXBcUFx2lh6K0/rIk1cpxZPXXCXsP4rWT5MCRrdFWPNwJsUzXbyemK0NNiP5+ rgbubRvj6gSN5waVyBcHCl0pEQ4SrPFryNg0bj9aCbJ3ZKSm5Stq6s0MTtE5P/Q/pmPdYwNsb5rU9 MkK8WB7/cCwLDBBNX05MHUcaFD4AzDNTwpXcG04pUCBnu38oRH1G0dcX7W+J3xcmgRckPvgMp2GlI 783g8pEdQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lFEPe-0006v3-1N; Thu, 25 Feb 2021 11:02:30 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lFEPa-0006uD-BB for linux-arm-kernel@lists.infradead.org; Thu, 25 Feb 2021 11:02:27 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id D61D764F0D; Thu, 25 Feb 2021 11:02:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614250945; bh=YYRLTQpgxXQixiBmaphruSfyNCxiJIftXglPATM/CSI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ISugUI8DS++/+NcQ2AJAMOBAniGRYwGxx++iAeg7ReLF9hwUbgmKcBkPiPb+Fp9gj H0rdszwiBxrQQB2Unv3ioWBBdlQEERCz4StVadPPoshGym4GdBbpHnMjHk/Ub9rmVz s5O5C6nNSDAbec8dJCfHtnhIQ3ark3yR2U50k/eUvejSICe6f0oOWfNGRGmuzuuCpw dzaaJevw4oYitNtNsJVp8Ik+fzXvNwzLOOAze++qwK/UvJGrFp9yvdLutA/vjZirim srVp/qtPvS42QjXrVOMaHK1irNkKsQk7W/5D+4hcUbkXfRjAZakqHGSPlbwasXOfRZ /Z6dfrL7RwSNQ== From: Will Deacon To: "Madhavan T . Venkataraman" , Mark Brown , Catalin Marinas Subject: Re: [PATCH RESEND] arm64: stacktrace: Report when we reach the end of the stack Date: Thu, 25 Feb 2021 11:02:17 +0000 Message-Id: <161424929153.2126168.131678154066148564.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210224165037.24138-1-broonie@kernel.org> References: <20210224165037.24138-1-broonie@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210225_060226_488480_09C438E1 X-CRM114-Status: GOOD ( 12.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Will Deacon , kernel-team@android.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 24 Feb 2021 16:50:37 +0000, Mark Brown wrote: > Currently the arm64 unwinder code returns -EINVAL whenever it can't find > the next stack frame, not distinguishing between cases where the stack has > been corrupted or is otherwise in a state it shouldn't be and cases > where we have reached the end of the stack. At the minute none of the > callers care what error code is returned but this will be important for > reliable stack trace which needs to be sure that the stack is intact. > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: stacktrace: Report when we reach the end of the stack https://git.kernel.org/arm64/c/3c02600144bd Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel