[PATCH] s390/entry: Remove unused TIF flags

Sven Schnelle posted 1 patch 3 weeks ago
There is a newer version of this series
arch/s390/include/asm/thread_info.h | 10 ----------
1 file changed, 10 deletions(-)
[PATCH] s390/entry: Remove unused TIF flags
Posted by Sven Schnelle 3 weeks ago
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
Posted by Alexander Gordeev 3 weeks ago
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
Posted by Sven Schnelle 3 weeks ago
Alexander Gordeev <agordeev@linux.ibm.com> writes:

> 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).

It's against Thomas' branch:

git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git rseq/perf
Re: [PATCH] s390/entry: Remove unused TIF flags
Posted by Alexander Gordeev 3 weeks ago
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!
Re: [PATCH] s390/entry: Remove unused TIF flags
Posted by Heiko Carstens 3 weeks ago
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>
[tip: core/core] s390/entry: Remove unused TIF flags
Posted by tip-bot2 for Sven Schnelle 2 weeks, 1 day ago
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 <svens@linux.ibm.com>
AuthorDate:    Thu, 11 Sep 2025 11:28:06 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
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")
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Heiko Carstens <hca@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 fe6da06..7878e9b 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 */