Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp219584pxb; Fri, 15 Oct 2021 04:16:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydOhOpo9Ell6iSJeKN2OZm5Iko5zVGpBrwzHeT6hyK4swO+7WEvYuTUycM65XxeXeWZZX2 X-Received: by 2002:a63:7456:: with SMTP id e22mr8675967pgn.324.1634296584477; Fri, 15 Oct 2021 04:16:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634296584; cv=none; d=google.com; s=arc-20160816; b=zucLSaS7BzpK2aqJ3CvBc1vi5yif9E6XNOrnDbT0coGI1k87qFYgCegiCzOu8bTN3v 9kwayktW/40kj2YrXuO3y7Cj3wxkPQRok2+3dzzyullFl5TDRLHewtbdOdFqsovFvUZE et4ai0EnvJ60pD1yL9b4Dd+AOS3U/yykS092QFL69xWsbzA8R+/Kn/KtRpe2Id0WSrnm L31D8ZIPRy89PZRRlKVScTi/osQcO7+NtWOXgUG6c9YPYD8XlPP3gREmx6FH7NMyT47h QS8MU2RegaaEnlOeg0ZI847IpRMaM1j/5xMZ3dA6WmzayU61Gdkq93v+otTz24j/wC6A mqWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature:dkim-filter; bh=0yghf4gyl+zuLPydKc3wkqnxys2UvYghl6oElnkiR2M=; b=IkUnObv1CV3FvDI93TyTdix+9uIFxuC+2vTgcIdCXHxwhM427IRB4Dvz2FnVQijxvr mwkj5EmQaPkWESqjKrV/43S2MvyJL2MHB4iYzWOg1R8hevXmr28ioktINnye2GXFblw+ sgOnW2V0auvtidzmls0rYQa+5bigtLXIxJKTmSD9fXmyo34uson+WOpavTX6A3eKY+kH beBc28xw8974TASkDNGygENP2YU9nLQLElooYZqLoHOqCWI4HNekav8RSEstwARC9FpM OAfsG8A4KG6uilV1HMiMWP7tK5k7R67RXq2PFKm+ZsyDnquNP2LTapd0jiaKalIQBQnz IGcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=q92AH8yQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a24si7170231plm.211.2021.10.15.04.16.10; Fri, 15 Oct 2021 04:16:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=q92AH8yQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235096AbhJODBL (ORCPT + 99 others); Thu, 14 Oct 2021 23:01:11 -0400 Received: from linux.microsoft.com ([13.77.154.182]:58120 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234124AbhJODBK (ORCPT ); Thu, 14 Oct 2021 23:01:10 -0400 Received: from x64host.home (unknown [47.187.212.181]) by linux.microsoft.com (Postfix) with ESMTPSA id 6CCCA20B9D1C; Thu, 14 Oct 2021 19:59:03 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 6CCCA20B9D1C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1634266744; bh=0yghf4gyl+zuLPydKc3wkqnxys2UvYghl6oElnkiR2M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=q92AH8yQOnrbpPu1+rvgRHk4kgLV3xQy81DDuXSYiOxlY03kc8BdrRq9Gpyh6wNQj av1dMLOD+/I/VCFJr0qk4jD8Flmagw5ycaIfNMFDXyjLJaCiDiN1TKF3n8WwE7nkJd T37iNdTqs7mrAPsgngHWYT8Gpd8Pa0eURvMQt55Q= 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 v10 01/11] arm64: Select STACKTRACE in arch/arm64/Kconfig Date: Thu, 14 Oct 2021 21:58:37 -0500 Message-Id: <20211015025847.17694-2-madvenka@linux.microsoft.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211015025847.17694-1-madvenka@linux.microsoft.com> References: <20211015025847.17694-1-madvenka@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Madhavan T. Venkataraman" Currently, there are multiple functions in ARM64 code that walk the stack using start_backtrace() and unwind_frame() or start_backtrace() and walk_stackframe(). They should all be converted to use arch_stack_walk(). This makes maintenance easier. To do that, arch_stack_walk() must always be defined. arch_stack_walk() is within #ifdef CONFIG_STACKTRACE. So, select STACKTRACE in arch/arm64/Kconfig. 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 fdcd54d39c1e..bfb0ce60d820 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -35,6 +35,7 @@ config ARM64 select ARCH_HAS_SET_DIRECT_MAP select ARCH_HAS_SET_MEMORY select ARCH_STACKWALK + select STACKTRACE select ARCH_HAS_STRICT_KERNEL_RWX select ARCH_HAS_STRICT_MODULE_RWX select ARCH_HAS_SYNC_DMA_FOR_DEVICE -- 2.25.1