* [PATCH v2] s390: Remove comment about TIF_FPU
@ 2024-05-03 8:06 Thomas Huth
2024-05-03 8:12 ` Heiko Carstens
2024-05-03 8:21 ` Alexander Gordeev
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Huth @ 2024-05-03 8:06 UTC (permalink / raw)
To: linux-s390, Heiko Carstens, Vasily Gorbik, Alexander Gordeev
Cc: linux-kernel, Christian Borntraeger, Sven Schnelle
It has been removed in commit 2c6b96762fbd ("s390/fpu: remove TIF_FPU"),
so we should not mention TIF_FPU in the comment here anymore. Since the
remaining parts of the comment just document the obvious fact that
save_user_fpu_regs() saves the FPU state, simply remove the comment now
completely.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
v2: Drop the comment completely
arch/s390/kernel/process.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/s390/kernel/process.c b/arch/s390/kernel/process.c
index dd456b475861..d8740631df4b 100644
--- a/arch/s390/kernel/process.c
+++ b/arch/s390/kernel/process.c
@@ -86,11 +86,6 @@ void arch_release_task_struct(struct task_struct *tsk)
int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
{
- /*
- * Save the floating-point or vector register state of the current
- * task and set the TIF_FPU flag to lazy restore the FPU register
- * state when returning to user space.
- */
save_user_fpu_regs();
*dst = *src;
--
2.44.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v2] s390: Remove comment about TIF_FPU
2024-05-03 8:06 [PATCH v2] s390: Remove comment about TIF_FPU Thomas Huth
@ 2024-05-03 8:12 ` Heiko Carstens
2024-05-03 8:21 ` Alexander Gordeev
1 sibling, 0 replies; 3+ messages in thread
From: Heiko Carstens @ 2024-05-03 8:12 UTC (permalink / raw)
To: Thomas Huth
Cc: linux-s390, Vasily Gorbik, Alexander Gordeev, linux-kernel,
Christian Borntraeger, Sven Schnelle
On Fri, May 03, 2024 at 10:06:48AM +0200, Thomas Huth wrote:
> It has been removed in commit 2c6b96762fbd ("s390/fpu: remove TIF_FPU"),
> so we should not mention TIF_FPU in the comment here anymore. Since the
> remaining parts of the comment just document the obvious fact that
> save_user_fpu_regs() saves the FPU state, simply remove the comment now
> completely.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> v2: Drop the comment completely
>
> arch/s390/kernel/process.c | 5 -----
> 1 file changed, 5 deletions(-)
Acked-by: Heiko Carstens <hca@linux.ibm.com>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH v2] s390: Remove comment about TIF_FPU
2024-05-03 8:06 [PATCH v2] s390: Remove comment about TIF_FPU Thomas Huth
2024-05-03 8:12 ` Heiko Carstens
@ 2024-05-03 8:21 ` Alexander Gordeev
1 sibling, 0 replies; 3+ messages in thread
From: Alexander Gordeev @ 2024-05-03 8:21 UTC (permalink / raw)
To: Thomas Huth
Cc: linux-s390, Heiko Carstens, Vasily Gorbik, linux-kernel,
Christian Borntraeger, Sven Schnelle
On Fri, May 03, 2024 at 10:06:48AM +0200, Thomas Huth wrote:
> It has been removed in commit 2c6b96762fbd ("s390/fpu: remove TIF_FPU"),
> so we should not mention TIF_FPU in the comment here anymore. Since the
> remaining parts of the comment just document the obvious fact that
> save_user_fpu_regs() saves the FPU state, simply remove the comment now
> completely.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> v2: Drop the comment completely
>
> arch/s390/kernel/process.c | 5 -----
> 1 file changed, 5 deletions(-)
Applied, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-03 8:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-03 8:06 [PATCH v2] s390: Remove comment about TIF_FPU Thomas Huth
2024-05-03 8:12 ` Heiko Carstens
2024-05-03 8:21 ` Alexander Gordeev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox