]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a30e36eaf7f5ce50c8611aa2b75a7b6df00b695
tree6acc44817c296f6a1f1c25894fb843880d749705
parentc5d689e83aa1adbfd9e89c2a76b5ce5b7aaf5f66
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