From 4df734683e2aec5f3287bc5eedeb5bb2a1f9a6e5 Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Thu, 16 Jul 2020 14:03:52 -0700 Subject: [PATCH] x86: 32-bit: enable thread stack info The hardware stack overflow feature requires CONFIG_THREAD_STACK_INFO enabled in order to distingush stack overflows from other causes when we get an exception. Signed-off-by: Andrew Boie --- arch/x86/core/Kconfig.ia32 | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/core/Kconfig.ia32 b/arch/x86/core/Kconfig.ia32 index 8f1e9b9d00a..c17106b6814 100644 --- a/arch/x86/core/Kconfig.ia32 +++ b/arch/x86/core/Kconfig.ia32 @@ -55,6 +55,7 @@ config X86_ENABLE_TSS config X86_STACK_PROTECTION bool default y if HW_STACK_PROTECTION + select THREAD_STACK_INFO select SET_GDT select GDT_DYNAMIC select X86_ENABLE_TSS