summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/Kconfig
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2022-04-14 05:41:12 +0200
committerMax Filippov <jcmvbkbc@gmail.com>2022-05-02 04:51:21 +0200
commit55427d5b0dff5754f3579dde93955aac483e8d6a (patch)
tree6acc44817c296f6a1f1c25894fb843880d749705 /arch/xtensa/Kconfig
parentxtensa: use abi_* register names in the kernel exit code (diff)
downloadlinux-55427d5b0dff5754f3579dde93955aac483e8d6a.tar.xz
linux-55427d5b0dff5754f3579dde93955aac483e8d6a.zip
xtensa: enable context tracking
Put user exit context tracking call on the common kernel entry/exit path (function calls are impossible at earlier kernel entry stages because PS.EXCM is not cleared yet). Put user entry context tracking call on the user exit path. Syscalls go through this common code too, so nothing specific needs to be done for them. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r--arch/xtensa/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index bca2763495a1..553144ae1d4d 100644
--- a/arch/xtensa/Kconfig
+++ b/arch/xtensa/Kconfig
@@ -31,6 +31,7 @@ config XTENSA
select HAVE_ARCH_KASAN if MMU && !XIP_KERNEL
select HAVE_ARCH_SECCOMP_FILTER
select HAVE_ARCH_TRACEHOOK
+ select HAVE_CONTEXT_TRACKING
select HAVE_DEBUG_KMEMLEAK
select HAVE_DMA_CONTIGUOUS
select HAVE_EXIT_THREAD