[PATCH] s390/entry: Remove unused TIF flags

Subsystems: s390 architecture, the rest

STALE399d

4 messages, 3 authors, 2025-09-11 · open the first message on its own page

[PATCH] s390/entry: Remove unused TIF flags

From: Sven Schnelle <svens@linux.ibm.com>
Date: 2025-09-11 09:28:22

The conversion of s390 to generic entry missed to remove the
TIF_SYSCALL*/TIF_SECCOMP flags. Remove them as they are unused now.

Fixes: 56e62a737028 ("s390: convert to generic entry")
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
---
 arch/s390/include/asm/thread_info.h | 10 ----------
 1 file changed, 10 deletions(-)
diff --git a/arch/s390/include/asm/thread_info.h b/arch/s390/include/asm/thread_info.h
index fe6da066b123..7878e9bfbf07 100644
--- a/arch/s390/include/asm/thread_info.h
+++ b/arch/s390/include/asm/thread_info.h
@@ -74,12 +74,6 @@ void arch_setup_new_exec(void);
 #define TIF_BLOCK_STEP		22	/* This task is block stepped */
 #define TIF_UPROBE_SINGLESTEP	23	/* This task is uprobe single stepped */
 
-/* These could move over to SYSCALL_WORK bits, no? */
-#define TIF_SYSCALL_TRACE	24	/* syscall trace active */
-#define TIF_SYSCALL_AUDIT	25	/* syscall auditing active */
-#define TIF_SECCOMP		26	/* secure computing */
-#define TIF_SYSCALL_TRACEPOINT	27	/* syscall tracepoint instrumentation */
-
 #define _TIF_ASCE_PRIMARY	BIT(TIF_ASCE_PRIMARY)
 #define _TIF_GUARDED_STORAGE	BIT(TIF_GUARDED_STORAGE)
 #define _TIF_ISOLATE_BP_GUEST	BIT(TIF_ISOLATE_BP_GUEST)
@@ -88,9 +82,5 @@ void arch_setup_new_exec(void);
 #define _TIF_SINGLE_STEP	BIT(TIF_SINGLE_STEP)
 #define _TIF_BLOCK_STEP		BIT(TIF_BLOCK_STEP)
 #define _TIF_UPROBE_SINGLESTEP	BIT(TIF_UPROBE_SINGLESTEP)
-#define _TIF_SYSCALL_TRACE	BIT(TIF_SYSCALL_TRACE)
-#define _TIF_SYSCALL_AUDIT	BIT(TIF_SYSCALL_AUDIT)
-#define _TIF_SECCOMP		BIT(TIF_SECCOMP)
-#define _TIF_SYSCALL_TRACEPOINT	BIT(TIF_SYSCALL_TRACEPOINT)
 
 #endif /* _ASM_THREAD_INFO_H */
-- 
2.48.1

Re: [PATCH] s390/entry: Remove unused TIF flags

From: Heiko Carstens <hca@linux.ibm.com>
Date: 2025-09-11 11:04:09

On Thu, Sep 11, 2025 at 11:28:06AM +0200, Sven Schnelle wrote:
The conversion of s390 to generic entry missed to remove the
TIF_SYSCALL*/TIF_SECCOMP flags. Remove them as they are unused now.

Fixes: 56e62a737028 ("s390: convert to generic entry")
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
---
 arch/s390/include/asm/thread_info.h | 10 ----------
 1 file changed, 10 deletions(-)
Acked-by: Heiko Carstens <hca@linux.ibm.com>

Re: [PATCH] s390/entry: Remove unused TIF flags

From: Alexander Gordeev <agordeev@linux.ibm.com>
Date: 2025-09-11 12:29:48

On Thu, Sep 11, 2025 at 11:28:06AM +0200, Sven Schnelle wrote:

Hi Sven,
The conversion of s390 to generic entry missed to remove the
TIF_SYSCALL*/TIF_SECCOMP flags. Remove them as they are unused now.

Fixes: 56e62a737028 ("s390: convert to generic entry")
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
---
 arch/s390/include/asm/thread_info.h | 10 ----------
 1 file changed, 10 deletions(-)
Which branch this patch is against?
(It does not apply neither to devel nor to master).

Thanks!

Re: [PATCH] s390/entry: Remove unused TIF flags

From: Alexander Gordeev <agordeev@linux.ibm.com>
Date: 2025-09-11 12:33:04

On Thu, Sep 11, 2025 at 02:29:39PM +0200, Alexander Gordeev wrote:
Which branch this patch is against?
Please, ignore.
I guess, it would go via Thomas tree.

Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help