From patchwork Thu Nov 17 12:09:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Rutland X-Patchwork-Id: 13046682 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 DD8D6C433FE for ; Thu, 17 Nov 2022 12:10:20 +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=Tfj26Dw28/mrkqXX8/RmXiywJj8Jr3I3oxTOiwS8vfw=; b=lASszbAScMddZ6 F7VDH94P7DTAGVozffbO0ZV5va/a4Nn/Sv72Zr52S9fw97DIOib8wff+MckEoOWqdXKpfEtlE+thK Jlu2iow71E+DZAzntg2Jn5I7Ic1sds05uIBR7gwMke/hJQS5zHghUWiK8F0L5GYCD0D9TGZsPm9he 2BXJ2hPX2OmV/C5TJz2dyqi3PWu1bLQJQOxm0D4NTq/0r86hvMcMbzV775aZ94MsRzGWp7rS8vTq0 I3yzB4vzxal8/0IwG1l5/TzEDKaBEgq4Num/wHaXXvOcQb/Ggp0OgHIBvJwmew3vWyOaa98sctBvo DmC4N/ECim4h8xM3zv2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovdhl-00DgeW-UH; Thu, 17 Nov 2022 12:09:18 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovdhi-00DgcW-8p for linux-arm-kernel@lists.infradead.org; Thu, 17 Nov 2022 12:09:15 +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 1D69613D5; Thu, 17 Nov 2022 04:09:18 -0800 (PST) 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 EE1EC3F663; Thu, 17 Nov 2022 04:09:10 -0800 (PST) From: Mark Rutland To: linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, keescook@chromium.org, mark.rutland@arm.com, will@kernel.org Subject: [PATCH 0/2] arm64: stack helper cleanups Date: Thu, 17 Nov 2022 12:09:00 +0000 Message-Id: <20221117120902.3974163-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-20221117_040914_371766_7D7BFAFC X-CRM114-Status: UNSURE ( 5.59 ) 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, These two patches are minor cleanup for the stacktrace helpers, removing some dead code and making the header includes a bit easier to follow. This is effectively some residual cleanup from the STACLKEAK rework in v5.19, all local to arch/arm64. Thanks, Mark. Mark Rutland (2): arm64: remove current_top_of_stack() arm64: move on_thread_stack() to arch/arm64/include/asm/processor.h | 13 ------------- arch/arm64/include/asm/stacktrace.h | 2 ++ arch/arm64/kernel/irq.c | 9 +++++---- 3 files changed, 7 insertions(+), 17 deletions(-)