From patchwork Mon Jan 3 16:52:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhavan T. Venkataraman" X-Patchwork-Id: 12702686 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 2D799C433EF for ; Mon, 3 Jan 2022 16:58:48 +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:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uGN239n2YGZHokvh/heprTpSwyEB7pkR/JZ+LMofdZU=; b=buixIpFAcYC1+4 kZeFbqq97zFxfdoSzo5w0Ei97HyEr+SXV+TK9tF2n/Bk4vOAmQ5oyL8jlbpvHynpl4cTxAyZkHCWe tL9+Dp83s/N2eZffUcqbdvyMtbqk5egCjqvox/dORUDF5tspH8sUZCqeuvOUOC2vpWG8OKLv92KsL GrVIXSya1g7xSOL4cfZedwbzkORVN3Cl96e5X+i3WPISZlYX8fs2AERN7hpFdxhM+SwnKBCnNpgdV 9z4rdl7BK4C+sNDMOwIikP2XWd9/nzMZ+jP1zt6oqY7ywtPmjIwOaRM0VRqf4d8MrXhIL4nLmOUUP 3R/xDwCX4tnhUhBwwhQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4Qdn-009aoK-9l; Mon, 03 Jan 2022 16:56:59 +0000 Received: from linux.microsoft.com ([13.77.154.182]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4QZq-009YsT-RQ for linux-arm-kernel@lists.infradead.org; Mon, 03 Jan 2022 16:52:56 +0000 Received: from x64host.home (unknown [47.187.212.181]) by linux.microsoft.com (Postfix) with ESMTPSA id CD85420B718D; Mon, 3 Jan 2022 08:52:53 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com CD85420B718D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1641228774; bh=L7BINNZKLPpPqJ8YVvJ1Ceh6JZSHPJZT929hJRDYxLM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BgFvMnffEcMsB/tWPa67ElUGVIsgWCNjz/7jBojGCmyp8WVfd9ecskZUTib1C/D9q IdSIOQcqGxJyN9uN0YakvIL7Ho5+/cB6O+nYX7wKJAGN9jpyKN53eQZavQH8QZCDJO JQfKtpbSY0cCCJnMkI+AeRtHSi8omCIxkRskEaYI= From: madvenka@linux.microsoft.com To: mark.rutland@arm.com, broonie@kernel.org, jpoimboe@redhat.com, ardb@kernel.org, nobuta.keiya@fujitsu.com, sjitindarsingh@gmail.com, catalin.marinas@arm.com, will@kernel.org, jmorris@namei.org, linux-arm-kernel@lists.infradead.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, madvenka@linux.microsoft.com Subject: [PATCH v12 10/10] arm64: Select HAVE_RELIABLE_STACKTRACE Date: Mon, 3 Jan 2022 10:52:12 -0600 Message-Id: <20220103165212.9303-11-madvenka@linux.microsoft.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220103165212.9303-1-madvenka@linux.microsoft.com> References: <0d0eb36f348fb5a6af6eb592c0525f6e94007328> <20220103165212.9303-1-madvenka@linux.microsoft.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220103_085254_941486_D8B61B14 X-CRM114-Status: UNSURE ( 7.36 ) 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 From: "Madhavan T. Venkataraman" Select HAVE_RELIABLE_STACKTRACE in arm64/Kconfig to allow arch_stack_walk_reliable() to be used. Note that this is conditional upon STACK_VALIDATION which will be added when frame pointer validation is implemented (say via objtool). Signed-off-by: Madhavan T. Venkataraman --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index c4207cf9bb17..4f6312784650 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -222,6 +222,7 @@ config ARM64 select THREAD_INFO_IN_TASK select HAVE_ARCH_USERFAULTFD_MINOR if USERFAULTFD select TRACE_IRQFLAGS_SUPPORT + select HAVE_RELIABLE_STACKTRACE if FRAME_POINTER && STACK_VALIDATION help ARM 64-bit (AArch64) Linux support.