Skip to contentSkip to conversation

s390/entry: Remove unused TIF flags

PATCH Applied Sven Schnelle 4 participants 6 messages Sep 11, 2025 – Sep 17, 2025 s390

lore
Share & tools
lore

Sven Schnelle

author reviewer
#0 lore raw

PATCH 1/1 s390/entry: Remove unused TIF flags

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")
---
 arch/s390/include/asm/thread_info.h | 10 ----------
 1 file changed, 10 deletions(-)
arch/s390/include/asm/thread_info.h +0 -10
index fe6da066b123..7878e9bfbf07 100644
@@ -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 */
Signature · 1 line
2.48.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Sven Schnelle

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")
---
 arch/s390/include/asm/thread_info.h | 10 ----------
 1 file changed, 10 deletions(-)
#2 lore raw
In reply to Sven Schnelle

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

Hi Sven,

Quoted 8 lines

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")
---
 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!

#3 lore raw
Quoted 1 line · Alexander Gordeev

Which branch this patch is against?

Please, ignore.
I guess, it would go via Thomas tree.

Thanks!

author reviewer
#4 lore raw
In reply to Alexander Gordeev
Quoted 7 lines · Alexander Gordeev

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

Hi Sven,

Quoted 3 lines

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

Quoted 8 lines
Quoted 5 lines
Fixes 56e62a737028 ("s390: convert to generic entry")
---
 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).

It's against Thomas' branch:

git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git rseq/perf

merge bot Applied
#5 lore raw
In reply to Sven Schnelle
The following commit has been merged into the core/core branch of tip:

The following commit has been merged into the core/core branch of tip:

Commit-ID:     c7ac5a089d495fd57f6851126e83e9c19205afae
Gitweb:        https://git.kernel.org/tip/c7ac5a089d495fd57f6851126e83e9c19205afae
Author:        Sven Schnelle <[email protected]>
AuthorDate:    Thu, 11 Sep 2025 11:28:06 +02:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Wed, 17 Sep 2025 08:14:04 +02:00

s390/entry: Remove unused TIF flags

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")
---
 arch/s390/include/asm/thread_info.h | 10 ----------
 1 file changed, 10 deletions(-)
arch/s390/include/asm/thread_info.h +0 -10
index fe6da06..7878e9b 100644
@@ -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 */