linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND 0/3] Remove reference of TIF_USEDFPU on arch not using it
@ 2019-02-08 17:04 Julien Grall
  2019-02-08 17:04 ` [PATCH 1/3] nds32: Removed unused thread flag TIF_USEDFPU Julien Grall
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Julien Grall @ 2019-02-08 17:04 UTC (permalink / raw)
  To: linux-kernel
  Cc: Julien Grall, Greentime Hu, Vincent Chen, Russell King,
	Catalin Marinas, Will Deacon, linux-arm-kernel

Hi all,

This small patch series remove reference of TIF_USEDFPU on nds32, arm and
arm64 as the flag is not inuse.

Cheers,

Cc: Greentime Hu <green.hu@gmail.com>
Cc: Vincent Chen <deanbo422@gmail.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-arm-kernel@lists.infradead.org

Julien Grall (3):
  nds32: Removed unused thread flag TIF_USEDFPU
  arm: Remove documentation about TIF_USEDFPU
  arm64: Remove documentation about TIF_USEDFPU

 arch/arm/include/asm/thread_info.h   | 1 -
 arch/arm64/include/asm/thread_info.h | 1 -
 arch/nds32/include/asm/thread_info.h | 2 --
 3 files changed, 4 deletions(-)

-- 
2.11.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/3] nds32: Removed unused thread flag TIF_USEDFPU
  2019-02-08 17:04 [PATCH RESEND 0/3] Remove reference of TIF_USEDFPU on arch not using it Julien Grall
@ 2019-02-08 17:04 ` Julien Grall
  2019-02-08 17:04 ` [PATCH 2/3] arm: Remove documentation about TIF_USEDFPU Julien Grall
  2019-02-08 17:04 ` [PATCH 3/3] arm64: " Julien Grall
  2 siblings, 0 replies; 6+ messages in thread
From: Julien Grall @ 2019-02-08 17:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: Julien Grall, Greentime Hu, Vincent Chen

The bit TIF_USEDFPU is not used in the nds32 code.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Vincent Chen <deanbo422@gmail.com>

---
    Untested as I don't have a cross-compiler for it.
---
 arch/nds32/include/asm/thread_info.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/nds32/include/asm/thread_info.h b/arch/nds32/include/asm/thread_info.h
index bff741ff337b..8c610abe673a 100644
--- a/arch/nds32/include/asm/thread_info.h
+++ b/arch/nds32/include/asm/thread_info.h
@@ -42,7 +42,6 @@ struct thread_info {
  *  TIF_SIGPENDING	- signal pending
  *  TIF_NEED_RESCHED	- rescheduling necessary
  *  TIF_NOTIFY_RESUME	- callback before returning to user
- *  TIF_USEDFPU		- FPU was used by this task this quantum (SMP)
  *  TIF_POLLING_NRFLAG	- true if poll_idle() is polling TIF_NEED_RESCHED
  */
 #define TIF_SIGPENDING		1
@@ -50,7 +49,6 @@ struct thread_info {
 #define TIF_SINGLESTEP		3
 #define TIF_NOTIFY_RESUME	4	/* callback before returning to user */
 #define TIF_SYSCALL_TRACE	8
-#define TIF_USEDFPU             16
 #define TIF_POLLING_NRFLAG	17
 #define TIF_MEMDIE		18
 #define TIF_FREEZE		19
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/3] arm: Remove documentation about TIF_USEDFPU
  2019-02-08 17:04 [PATCH RESEND 0/3] Remove reference of TIF_USEDFPU on arch not using it Julien Grall
  2019-02-08 17:04 ` [PATCH 1/3] nds32: Removed unused thread flag TIF_USEDFPU Julien Grall
@ 2019-02-08 17:04 ` Julien Grall
  2019-02-08 17:04 ` [PATCH 3/3] arm64: " Julien Grall
  2 siblings, 0 replies; 6+ messages in thread
From: Julien Grall @ 2019-02-08 17:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: Julien Grall, Russell King, linux-arm-kernel

TIF_USEDFPU is not defined as thread flags for Arm. So drop it from
the documentation.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
---
 arch/arm/include/asm/thread_info.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/include/asm/thread_info.h b/arch/arm/include/asm/thread_info.h
index 286eb61c632b..779927f0c3c1 100644
--- a/arch/arm/include/asm/thread_info.h
+++ b/arch/arm/include/asm/thread_info.h
@@ -132,7 +132,6 @@ extern int vfp_restore_user_hwstate(struct user_vfp *,
 
 /*
  * thread information flags:
- *  TIF_USEDFPU		- FPU was used by this task this quantum (SMP)
  *  TIF_POLLING_NRFLAG	- true if poll_idle() is polling TIF_NEED_RESCHED
  */
 #define TIF_SIGPENDING		0	/* signal pending */
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/3] arm64: Remove documentation about TIF_USEDFPU
  2019-02-08 17:04 [PATCH RESEND 0/3] Remove reference of TIF_USEDFPU on arch not using it Julien Grall
  2019-02-08 17:04 ` [PATCH 1/3] nds32: Removed unused thread flag TIF_USEDFPU Julien Grall
  2019-02-08 17:04 ` [PATCH 2/3] arm: Remove documentation about TIF_USEDFPU Julien Grall
@ 2019-02-08 17:04 ` Julien Grall
  2019-02-11 11:18   ` Will Deacon
  2019-02-26 16:41   ` Catalin Marinas
  2 siblings, 2 replies; 6+ messages in thread
From: Julien Grall @ 2019-02-08 17:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: Julien Grall, Catalin Marinas, Will Deacon, linux-arm-kernel

TIF_USEDFPU is not defined as thread flags for Arm64. So drop it from
the documentation.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
---
 arch/arm64/include/asm/thread_info.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/include/asm/thread_info.h b/arch/arm64/include/asm/thread_info.h
index bbca68b54732..eb3ef73e07cf 100644
--- a/arch/arm64/include/asm/thread_info.h
+++ b/arch/arm64/include/asm/thread_info.h
@@ -79,7 +79,6 @@ void arch_release_task_struct(struct task_struct *tsk);
  *  TIF_SIGPENDING	- signal pending
  *  TIF_NEED_RESCHED	- rescheduling necessary
  *  TIF_NOTIFY_RESUME	- callback before returning to user
- *  TIF_USEDFPU		- FPU was used by this task this quantum (SMP)
  */
 #define TIF_SIGPENDING		0
 #define TIF_NEED_RESCHED	1
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 3/3] arm64: Remove documentation about TIF_USEDFPU
  2019-02-08 17:04 ` [PATCH 3/3] arm64: " Julien Grall
@ 2019-02-11 11:18   ` Will Deacon
  2019-02-26 16:41   ` Catalin Marinas
  1 sibling, 0 replies; 6+ messages in thread
From: Will Deacon @ 2019-02-11 11:18 UTC (permalink / raw)
  To: Julien Grall; +Cc: linux-kernel, Catalin Marinas, linux-arm-kernel

On Fri, Feb 08, 2019 at 05:04:25PM +0000, Julien Grall wrote:
> TIF_USEDFPU is not defined as thread flags for Arm64. So drop it from
> the documentation.
> 
> Signed-off-by: Julien Grall <julien.grall@arm.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>
> Cc: linux-arm-kernel@lists.infradead.org
> ---
>  arch/arm64/include/asm/thread_info.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm64/include/asm/thread_info.h b/arch/arm64/include/asm/thread_info.h
> index bbca68b54732..eb3ef73e07cf 100644
> --- a/arch/arm64/include/asm/thread_info.h
> +++ b/arch/arm64/include/asm/thread_info.h
> @@ -79,7 +79,6 @@ void arch_release_task_struct(struct task_struct *tsk);
>   *  TIF_SIGPENDING	- signal pending
>   *  TIF_NEED_RESCHED	- rescheduling necessary
>   *  TIF_NOTIFY_RESUME	- callback before returning to user
> - *  TIF_USEDFPU		- FPU was used by this task this quantum (SMP)
>   */
>  #define TIF_SIGPENDING		0
>  #define TIF_NEED_RESCHED	1

Acked-by: Will Deacon <will.deacon@arm.com>

Will

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 3/3] arm64: Remove documentation about TIF_USEDFPU
  2019-02-08 17:04 ` [PATCH 3/3] arm64: " Julien Grall
  2019-02-11 11:18   ` Will Deacon
@ 2019-02-26 16:41   ` Catalin Marinas
  1 sibling, 0 replies; 6+ messages in thread
From: Catalin Marinas @ 2019-02-26 16:41 UTC (permalink / raw)
  To: Julien Grall; +Cc: linux-kernel, Will Deacon, linux-arm-kernel

On Fri, Feb 08, 2019 at 05:04:25PM +0000, Julien Grall wrote:
> TIF_USEDFPU is not defined as thread flags for Arm64. So drop it from
> the documentation.
> 
> Signed-off-by: Julien Grall <julien.grall@arm.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>
> Cc: linux-arm-kernel@lists.infradead.org

Queued for 5.1. Thanks.

-- 
Catalin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-02-26 16:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-08 17:04 [PATCH RESEND 0/3] Remove reference of TIF_USEDFPU on arch not using it Julien Grall
2019-02-08 17:04 ` [PATCH 1/3] nds32: Removed unused thread flag TIF_USEDFPU Julien Grall
2019-02-08 17:04 ` [PATCH 2/3] arm: Remove documentation about TIF_USEDFPU Julien Grall
2019-02-08 17:04 ` [PATCH 3/3] arm64: " Julien Grall
2019-02-11 11:18   ` Will Deacon
2019-02-26 16:41   ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).