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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no 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 272E9C433E7 for ; Mon, 12 Oct 2020 17:32:51 +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 C272E20797 for ; Mon, 12 Oct 2020 17:32:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ROEHksOu"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="QFeF0B5R" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C272E20797 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: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:In-Reply-To:References:List-Owner; bh=xIzAT98uTjqHUKnXo5qxrZjZcThOASKra/raUSIF+BM=; b=ROEHksOuK/IR98PfA82NYbdv71 7TeQKy+uNelqTWS1LRk1E9Sk8BDbWKNqhJC0soJDPXomhiK+aekZvTPGEU/1vi1qjc6r3OM73X+Wt t0wum74YpPnaTZhNFu6ZBO2/pTYdUhhh1lZXmqo+xIPiKO03MBCgj99bZ1LsqWiP7U2z9J/WltwlI 2x+PQDH7MuOss+1pGBPnHH/tVpTuJaJvR6VkhajDP0SNI/GwCGRBFzYi+yu9YKhACnC52r3x2lufa qHutr2v2kdI/w5ZCkoN989eoOPLhiPqa/pK9F7HweP7zH8BCNTEX/kgWj5vxecBVxBHqxDQW2QuUG rVoGvwLw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kS1fL-0006p7-FS; Mon, 12 Oct 2020 17:31:19 +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 1kS1fI-0006oZ-8C for linux-arm-kernel@lists.infradead.org; Mon, 12 Oct 2020 17:31:16 +0000 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CECB820776; Mon, 12 Oct 2020 17:31:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602523875; bh=o0FJoY+xL2NxYpiP1P6sJ80NtP4UAf2sMboClYGb85I=; h=From:To:Cc:Subject:Date:From; b=QFeF0B5Rrt/PJSKb1gEvPNSINwrUJq8iYihEb/fmwBg6jER7bBgBET+aOcdcL7L1T V0Ywchk3Ibn5fzsOPvWXrs6F0dTAOup/i2b0+PIqFRmo5EueYOkEB8jlelDv8/41fF V8jRZdWgZvn7LMgGnk8co8CIp6kFs0spu/l/qitk= From: Mark Brown To: Catalin Marinas , Will Deacon Subject: [RFC PATCH 0/3] arm64: Implement reliable stack trace Date: Mon, 12 Oct 2020 18:26:02 +0100 Message-Id: <20201012172605.10715-1-broonie@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201012_133116_373306_E08BCEED X-CRM114-Status: GOOD ( 13.98 ) 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 , Mark Brown , Miroslav Benes , 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 This patch series aims to implement reliable stacktrace for arm64. Reliable stacktrace exists mainly to support live patching, it provides a version of stacktrace that checks for consistency problems in the traces it generates and provides an error code to callers indicating if any problems were detected. This is a first cut of support for arm64, I've not really even started testing it meaningfully at this point. The main thing I'm looking for here is that I'm not sure if there are any more potential indicators of unrelabile stacks that I'm missing tests for or anything about the interfaces that I've misunderstood. There's more work that can be done here, mainly that we could sync our unwinder more with what's done on S/390 and x86 which should if nothing else help with keeping up to date with generic changes, but this should be what's needed to allow reliable stack trace. Mark Brown (2): arm64: stacktrace: Report when we reach the end of the stack arm64: stacktrace: Implement reliable stacktrace Mark Rutland (1): arm64: remove EL0 exception frame record arch/arm64/Kconfig | 1 + arch/arm64/kernel/entry.S | 10 +++---- arch/arm64/kernel/stacktrace.c | 55 ++++++++++++++++++++++++++++------ 3 files changed, 52 insertions(+), 14 deletions(-) -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel