public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [patch v11 01/13] s390: add support for TIF_TASK_ISOL
       [not found] <20220204173537.429902988@fedora.localdomain>
@ 2022-02-04 17:35 ` Marcelo Tosatti
  2022-02-07 11:40   ` Sven Schnelle
  0 siblings, 1 reply; 2+ messages in thread
From: Marcelo Tosatti @ 2022-02-04 17:35 UTC (permalink / raw)
  To: linux-kernel
  Cc: Nitesh Lal, Nicolas Saenz Julienne, Frederic Weisbecker,
	Christoph Lameter, Juri Lelli, Peter Zijlstra, Alex Belits,
	Peter Xu, Thomas Gleixner, Daniel Bristot de Oliveira,
	Oscar Shiang, linux-s390, Marcelo Tosatti

Add TIF_TASK_ISOL handling for s390.

Cc: linux-s390@vger.kernel.org
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

Index: linux-2.6/arch/s390/include/asm/thread_info.h
===================================================================
--- linux-2.6.orig/arch/s390/include/asm/thread_info.h
+++ linux-2.6/arch/s390/include/asm/thread_info.h
@@ -73,6 +73,7 @@ void arch_setup_new_exec(void);
 #define TIF_ISOLATE_BP		8	/* Run process with isolated BP */
 #define TIF_ISOLATE_BP_GUEST	9	/* Run KVM guests with isolated BP */
 #define TIF_PER_TRAP		10	/* Need to handle PER trap on exit to usermode */
+#define TIF_TASK_ISOL		11	/* task isolation work pending */
 
 #define TIF_31BIT		16	/* 32bit process */
 #define TIF_MEMDIE		17	/* is terminating due to OOM killer */
@@ -97,6 +98,7 @@ void arch_setup_new_exec(void);
 #define _TIF_ISOLATE_BP		BIT(TIF_ISOLATE_BP)
 #define _TIF_ISOLATE_BP_GUEST	BIT(TIF_ISOLATE_BP_GUEST)
 #define _TIF_PER_TRAP		BIT(TIF_PER_TRAP)
+#define _TIF_TASK_ISOL		BIT(TIF_TASK_ISOL)
 
 #define _TIF_31BIT		BIT(TIF_31BIT)
 #define _TIF_SINGLE_STEP	BIT(TIF_SINGLE_STEP)



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

* Re: [patch v11 01/13] s390: add support for TIF_TASK_ISOL
  2022-02-04 17:35 ` [patch v11 01/13] s390: add support for TIF_TASK_ISOL Marcelo Tosatti
@ 2022-02-07 11:40   ` Sven Schnelle
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Schnelle @ 2022-02-07 11:40 UTC (permalink / raw)
  To: Marcelo Tosatti
  Cc: linux-kernel, Nitesh Lal, Nicolas Saenz Julienne,
	Frederic Weisbecker, Christoph Lameter, Juri Lelli,
	Peter Zijlstra, Alex Belits, Peter Xu, Thomas Gleixner,
	Daniel Bristot de Oliveira, Oscar Shiang, linux-s390

Marcelo Tosatti <mtosatti@redhat.com> writes:

> Add TIF_TASK_ISOL handling for s390.
>
> Cc: linux-s390@vger.kernel.org
> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

Acked-by: Sven Schnelle <svens@linux.ibm.com>

> Index: linux-2.6/arch/s390/include/asm/thread_info.h
> ===================================================================
> --- linux-2.6.orig/arch/s390/include/asm/thread_info.h
> +++ linux-2.6/arch/s390/include/asm/thread_info.h
> @@ -73,6 +73,7 @@ void arch_setup_new_exec(void);
>  #define TIF_ISOLATE_BP		8	/* Run process with isolated BP */
>  #define TIF_ISOLATE_BP_GUEST	9	/* Run KVM guests with isolated BP */
>  #define TIF_PER_TRAP		10	/* Need to handle PER trap on exit to usermode */
> +#define TIF_TASK_ISOL		11	/* task isolation work pending */
>  
>  #define TIF_31BIT		16	/* 32bit process */
>  #define TIF_MEMDIE		17	/* is terminating due to OOM killer */
> @@ -97,6 +98,7 @@ void arch_setup_new_exec(void);
>  #define _TIF_ISOLATE_BP		BIT(TIF_ISOLATE_BP)
>  #define _TIF_ISOLATE_BP_GUEST	BIT(TIF_ISOLATE_BP_GUEST)
>  #define _TIF_PER_TRAP		BIT(TIF_PER_TRAP)
> +#define _TIF_TASK_ISOL		BIT(TIF_TASK_ISOL)
>  
>  #define _TIF_31BIT		BIT(TIF_31BIT)
>  #define _TIF_SINGLE_STEP	BIT(TIF_SINGLE_STEP)

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

end of thread, other threads:[~2022-02-07 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20220204173537.429902988@fedora.localdomain>
2022-02-04 17:35 ` [patch v11 01/13] s390: add support for TIF_TASK_ISOL Marcelo Tosatti
2022-02-07 11:40   ` Sven Schnelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox