Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753087AbdLEIz5 (ORCPT ); Tue, 5 Dec 2017 03:55:57 -0500 Received: from mx2.suse.de ([195.135.220.15]:34914 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752804AbdLEIzl (ORCPT ); Tue, 5 Dec 2017 03:55:41 -0500 From: Jiri Slaby To: mingo@redhat.com Cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby , Josh Poimboeuf , Thomas Gleixner , "H. Peter Anvin" , x86@kernel.org Subject: [PATCH v2 5/5] x86/stacktrace: orc, mark it as reliable Date: Tue, 5 Dec 2017 09:55:38 +0100 Message-Id: <20171205085538.24322-5-jslaby@suse.cz> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171205085538.24322-1-jslaby@suse.cz> References: <20171205085538.24322-1-jslaby@suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In SUSE, we need a reliable stack unwinder for kernel live patching, but we do not want to enable frame pointers for performance reasons. So after the previous patches to make the ORC reliable, mark ORC as a reliable stack unwinder on x86. Signed-off-by: Jiri Slaby Cc: Josh Poimboeuf Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x86@kernel.org --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index bb757400869e..54d4f67ad4bf 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -172,7 +172,7 @@ config X86 select HAVE_PERF_USER_STACK_DUMP select HAVE_RCU_TABLE_FREE select HAVE_REGS_AND_STACK_ACCESS_API - select HAVE_RELIABLE_STACKTRACE if X86_64 && UNWINDER_FRAME_POINTER && STACK_VALIDATION + select HAVE_RELIABLE_STACKTRACE if X86_64 && (UNWINDER_FRAME_POINTER || UNWINDER_ORC) && STACK_VALIDATION select HAVE_STACK_VALIDATION if X86_64 select HAVE_SYSCALL_TRACEPOINTS select HAVE_UNSTABLE_SCHED_CLOCK -- 2.15.1