xtensa: enable context tracking
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 14 Apr 2022 03:41:12 +0000 (20:41 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 2 May 2022 02:51:21 +0000 (19:51 -0700)
commit55427d5b0dff5754f3579dde93955aac483e8d6a
tree6acc44817c296f6a1f1c25894fb843880d749705
parent961c5efbc493ef497fe68ec07a4ed081acba4c92
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>
Documentation/features/time/context-tracking/arch-support.txt
arch/xtensa/Kconfig
arch/xtensa/kernel/entry.S