From patchwork Fri Mar 24 13:49:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Rutland X-Patchwork-Id: 13186770 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1BA66C6FD1C for ; Fri, 24 Mar 2023 13:50:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=P7lUCLsjSnIO0SHRGB2E0Hv8P7ClZZoDy7YkfkC8HPI=; b=WLGz48SxljOgAo AgzOqCWln0Bus3SwRlgHm5vILLEF1KclG9i+AOV30xCqi1Kr2MhBkCKE7MNlvVKduEeOZrOXtISVr mJv+88DC4DcPyDX3XGxwO1psdfjGcnuBx+GTOglywC9J9iYTY3kp/wVBR4e+ej2ZFXO1Xg//ZhCPf We5xhrdfamSXUtWhOX/iaf6nDHr0Y8kjQYic5gEU/iwzqIBQrcXBO0KBai6zinD9MEUBC/at/dst3 4hKKL3SL5c2Kv44kOtp8x5alPm6hqmTplaztgeIj90Hwq6b8ay0QRxyRkjawkAzTMneRx82RCr5vx ZgaFieDtavqSt7HO5w3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pfho6-004XLe-0C; Fri, 24 Mar 2023 13:50:14 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pfho2-004XJ5-1h for linux-arm-kernel@lists.infradead.org; Fri, 24 Mar 2023 13:50:11 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BC12B11FB; Fri, 24 Mar 2023 06:50:48 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9CF703F71E; Fri, 24 Mar 2023 06:50:03 -0700 (PDT) From: Mark Rutland To: linux-arm-kernel@lists.infradead.org Cc: broonie@kernel.org, catalin.marinas@arm.com, kaleshsingh@google.com, madvenka@linux.microsoft.com, mark.rutland@arm.com, will@kernel.org Subject: [PATCH 0/3] arm64: stacktrace: cleanups Date: Fri, 24 Mar 2023 13:49:55 +0000 Message-Id: <20230324134958.2496891-1-mark.rutland@arm.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230324_065010_613505_69F2A124 X-CRM114-Status: UNSURE ( 8.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Catalin, Will, These are a few minor cleanups for the arm64 stacktrace code, based on v6.3-rc3. The first patch is a minor fix (which I don't think we need to worry about backporting), and the last two are a cleanup for consistency. I'd originally intended to send these as part of a more substantial rework of the stacktrace code, but due to some other recent time sinks that's still in a half-baked state and I suspect I won't get that out before v6.4. Thanks, Mark. Mark Rutland (3): arm64: stacktrace: recover return address for first entry arm64: stacktrace: move dump functions to end of file arm64: stacktrace: always inline core stacktrace functions arch/arm64/kernel/stacktrace.c | 141 ++++++++++++++++++--------------- 1 file changed, 75 insertions(+), 66 deletions(-)