xtensa: context tracking updates
Max Filippov
maintainercover xtensa: context tracking updates
Hi Frederic,
your recent conversion of CONTEXT_TRACKING to CONTEXT_TRACKING_USER missed the xtensa architexture. These two patches hopefully fix it. Please take them to the tree that holds the rest of the conversion. (Even better if they could be folded into the corresponding conversion
patches).
Max Filippov (2):
xtensa: rename context_tracking_user_{enter,exit}
xtensa: rename CONTEXT_TRACKING to CONTEXT_TRACKING_USER
arch/xtensa/Kconfig | 2 +- arch/xtensa/kernel/entry.S | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
Signature · 2 lines
Thanks. -- Max
Max Filippov
maintainerPATCH 1/2 xtensa: rename context_tracking_user_{enter,exit}
This fixes the following build error in the linux-next:
arch/xtensa/kernel/entry.o:(.text+0x4): undefined reference to context_tracking_user_exit' arch/xtensa/kernel/entry.o: In function common_exception':
(.text+0x1ac): undefined reference to context_tracking_user_exit' arch/xtensa/kernel/entry.o:(.text+0x14): undefined reference to context_tracking_user_enter' arch/xtensa/kernel/entry.o: In function `common_exception_return':
(.text+0x20d): undefined reference to `context_tracking_user_enter'
--- arch/xtensa/kernel/entry.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/xtensa/kernel/entry.S +2 -2
@@ -458,7 +458,7 @@ KABI_W or a3, a3, a2 #ifdef CONFIG_CONTEXT_TRACKING l32i abi_tmp0, a1, PT_PS bbci.l abi_tmp0, PS_UM_BIT, 1f - abi_call context_tracking_user_exit + abi_call user_exit_callable 1: #endif
@@ -545,7 +545,7 @@ common_exception_return: .Lexit_tif_loop_user: #ifdef CONFIG_CONTEXT_TRACKING - abi_call context_tracking_user_enter + abi_call user_enter_callable #endif #ifdef CONFIG_HAVE_HW_BREAKPOINT _bbci.l abi_saved0, TIF_DB_DISABLED, 1f
Signature · 1 line
2.30.2
Max Filippov
maintainerPATCH 2/2 xtensa: rename CONTEXT_TRACKING to CONTEXT_TRACKING_USER
In reply to Max FilippovCONFIG_CONTEXT_TRACKING is renamed to CONFIG_CONTEXT_TRACKING_USER, do it for the xtensa architecture.
--- arch/xtensa/Kconfig | 2 +- arch/xtensa/kernel/entry.S | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
arch/xtensa/Kconfig +1 -1
@@ -33,7 +33,7 @@ config XTENSA select HAVE_ARCH_KCSAN select HAVE_ARCH_SECCOMP_FILTER select HAVE_ARCH_TRACEHOOK - select HAVE_CONTEXT_TRACKING + select HAVE_CONTEXT_TRACKING_USER select HAVE_DEBUG_KMEMLEAK select HAVE_DMA_CONTIGUOUS select HAVE_EXIT_THREAD
arch/xtensa/kernel/entry.S +2 -2
@@ -455,7 +455,7 @@ KABI_W or a3, a3, a2 abi_call trace_hardirqs_off 1: #endif -#ifdef CONFIG_CONTEXT_TRACKING +#ifdef CONFIG_CONTEXT_TRACKING_USER l32i abi_tmp0, a1, PT_PS bbci.l abi_tmp0, PS_UM_BIT, 1f abi_call user_exit_callable
@@ -544,7 +544,7 @@ common_exception_return: j .Lrestore_state .Lexit_tif_loop_user: -#ifdef CONFIG_CONTEXT_TRACKING +#ifdef CONFIG_CONTEXT_TRACKING_USER abi_call user_enter_callable #endif #ifdef CONFIG_HAVE_HW_BREAKPOINT
Signature · 1 line
2.30.2
Quoted 8 lines · Max Filippov
Hi Frederic,
your recent conversion of
CONTEXT_TRACKINGtoCONTEXT_TRACKING_USERmissed the xtensa architexture. These two patches hopefully fix it. Please take them to the tree that holds the rest of the conversion. (Even better if they could be folded into the corresponding conversion
patches).
Quoted 11 lines
Max Filippov (2):
xtensa: rename context_tracking_user_{enter,exit}
xtensa: renameCONTEXT_TRACKINGtoCONTEXT_TRACKING_USERarch/xtensa/Kconfig | 2 +- arch/xtensa/kernel/entry.S | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)Signature · 2 lines
Thanks. -- Max
Thanks a lot for these fixes. I'm likely going to reissue this patchset so I'm going to fold your changes inside if you don't mind (with your Signed-off-by).
Max Filippov
maintainerQuoted 18 lines · Frederic Weisbecker
Quoted 16 lines · Max Filippov
Hi Frederic,
your recent conversion of
CONTEXT_TRACKINGtoCONTEXT_TRACKING_USERmissed the xtensa architexture. These two patches hopefully fix it. Please take them to the tree that holds the rest of the conversion. (Even better if they could be folded into the corresponding conversion
patches).Max Filippov (2):
xtensa: rename context_tracking_user_{enter,exit}
xtensa: renameCONTEXT_TRACKINGtoCONTEXT_TRACKING_USERarch/xtensa/Kconfig | 2 +- arch/xtensa/kernel/entry.S | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
Quoted 7 lines
Quoted 3 lines
--
Thanks.
-- MaxThanks a lot for these fixes. I'm likely going to reissue this patchset so I'm going to fold your changes inside if you don't mind (with your Signed-off-by).
Sure, by all means.
Signature · 2 lines
Thanks. -- Max