All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] powerpc: Stop exporting __clear_user which is now inlined.
@ 2020-12-04 23:28 ` Michal Suchanek
  0 siblings, 0 replies; 7+ messages in thread
From: Michal Suchanek @ 2020-12-04 23:28 UTC (permalink / raw)
  To: stable
  Cc: Michal Suchanek, Benjamin Herrenschmidt, Paul Mackerras,
	Michael Ellerman, linuxppc-dev, linux-kernel

Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP
enabled") redefines __clear_user as inline function but does not remove
the export.

Fixes: 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
 arch/powerpc/lib/ppc_ksyms.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/powerpc/lib/ppc_ksyms.c b/arch/powerpc/lib/ppc_ksyms.c
index c7f8e9586316..4b81fd96aa3e 100644
--- a/arch/powerpc/lib/ppc_ksyms.c
+++ b/arch/powerpc/lib/ppc_ksyms.c
@@ -24,7 +24,6 @@ EXPORT_SYMBOL(csum_tcpudp_magic);
 #endif
 
 EXPORT_SYMBOL(__copy_tofrom_user);
-EXPORT_SYMBOL(__clear_user);
 EXPORT_SYMBOL(copy_page);
 
 #ifdef CONFIG_PPC64
-- 
2.26.2


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

* [PATCH] powerpc: Stop exporting __clear_user which is now inlined.
@ 2020-12-04 23:28 ` Michal Suchanek
  0 siblings, 0 replies; 7+ messages in thread
From: Michal Suchanek @ 2020-12-04 23:28 UTC (permalink / raw)
  To: stable; +Cc: linux-kernel, Paul Mackerras, Michal Suchanek, linuxppc-dev

Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP
enabled") redefines __clear_user as inline function but does not remove
the export.

Fixes: 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
 arch/powerpc/lib/ppc_ksyms.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/powerpc/lib/ppc_ksyms.c b/arch/powerpc/lib/ppc_ksyms.c
index c7f8e9586316..4b81fd96aa3e 100644
--- a/arch/powerpc/lib/ppc_ksyms.c
+++ b/arch/powerpc/lib/ppc_ksyms.c
@@ -24,7 +24,6 @@ EXPORT_SYMBOL(csum_tcpudp_magic);
 #endif
 
 EXPORT_SYMBOL(__copy_tofrom_user);
-EXPORT_SYMBOL(__clear_user);
 EXPORT_SYMBOL(copy_page);
 
 #ifdef CONFIG_PPC64
-- 
2.26.2


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

* Re: [PATCH] powerpc: Stop exporting __clear_user which is now inlined.
  2020-12-04 23:28 ` Michal Suchanek
@ 2020-12-05 10:58   ` Michael Ellerman
  -1 siblings, 0 replies; 7+ messages in thread
From: Michael Ellerman @ 2020-12-05 10:58 UTC (permalink / raw)
  To: Michal Suchanek, stable
  Cc: Michal Suchanek, Benjamin Herrenschmidt, Paul Mackerras,
	linuxppc-dev, linux-kernel

Michal Suchanek <msuchanek@suse.de> writes:
> Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP
> enabled") redefines __clear_user as inline function but does not remove
> the export.
>
> Fixes: 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")
>
> Signed-off-by: Michal Suchanek <msuchanek@suse.de>
> ---
>  arch/powerpc/lib/ppc_ksyms.c | 1 -
>  1 file changed, 1 deletion(-)

Acked-by: Michael Ellerman <mpe@ellerman.id.au>

cheers

> diff --git a/arch/powerpc/lib/ppc_ksyms.c b/arch/powerpc/lib/ppc_ksyms.c
> index c7f8e9586316..4b81fd96aa3e 100644
> --- a/arch/powerpc/lib/ppc_ksyms.c
> +++ b/arch/powerpc/lib/ppc_ksyms.c
> @@ -24,7 +24,6 @@ EXPORT_SYMBOL(csum_tcpudp_magic);
>  #endif
>  
>  EXPORT_SYMBOL(__copy_tofrom_user);
> -EXPORT_SYMBOL(__clear_user);
>  EXPORT_SYMBOL(copy_page);
>  
>  #ifdef CONFIG_PPC64
> -- 
> 2.26.2

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

* Re: [PATCH] powerpc: Stop exporting __clear_user which is now inlined.
@ 2020-12-05 10:58   ` Michael Ellerman
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Ellerman @ 2020-12-05 10:58 UTC (permalink / raw)
  To: Michal Suchanek, stable
  Cc: Michal Suchanek, Paul Mackerras, linuxppc-dev, linux-kernel

Michal Suchanek <msuchanek@suse.de> writes:
> Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP
> enabled") redefines __clear_user as inline function but does not remove
> the export.
>
> Fixes: 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")
>
> Signed-off-by: Michal Suchanek <msuchanek@suse.de>
> ---
>  arch/powerpc/lib/ppc_ksyms.c | 1 -
>  1 file changed, 1 deletion(-)

Acked-by: Michael Ellerman <mpe@ellerman.id.au>

cheers

> diff --git a/arch/powerpc/lib/ppc_ksyms.c b/arch/powerpc/lib/ppc_ksyms.c
> index c7f8e9586316..4b81fd96aa3e 100644
> --- a/arch/powerpc/lib/ppc_ksyms.c
> +++ b/arch/powerpc/lib/ppc_ksyms.c
> @@ -24,7 +24,6 @@ EXPORT_SYMBOL(csum_tcpudp_magic);
>  #endif
>  
>  EXPORT_SYMBOL(__copy_tofrom_user);
> -EXPORT_SYMBOL(__clear_user);
>  EXPORT_SYMBOL(copy_page);
>  
>  #ifdef CONFIG_PPC64
> -- 
> 2.26.2

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

* Re: [PATCH] powerpc: Stop exporting __clear_user which is now inlined.
  2020-12-05 10:58   ` Michael Ellerman
@ 2020-12-06  9:50     ` Greg KH
  -1 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2020-12-06  9:50 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: Michal Suchanek, stable, Benjamin Herrenschmidt, Paul Mackerras,
	linuxppc-dev, linux-kernel

On Sat, Dec 05, 2020 at 09:58:23PM +1100, Michael Ellerman wrote:
> Michal Suchanek <msuchanek@suse.de> writes:
> > Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP
> > enabled") redefines __clear_user as inline function but does not remove
> > the export.
> >
> > Fixes: 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")
> >
> > Signed-off-by: Michal Suchanek <msuchanek@suse.de>
> > ---
> >  arch/powerpc/lib/ppc_ksyms.c | 1 -
> >  1 file changed, 1 deletion(-)
> 
> Acked-by: Michael Ellerman <mpe@ellerman.id.au>

Now applied, thanks.

greg k-h

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

* Re: [PATCH] powerpc: Stop exporting __clear_user which is now inlined.
@ 2020-12-06  9:50     ` Greg KH
  0 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2020-12-06  9:50 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: linux-kernel, stable, Paul Mackerras, Michal Suchanek, linuxppc-dev

On Sat, Dec 05, 2020 at 09:58:23PM +1100, Michael Ellerman wrote:
> Michal Suchanek <msuchanek@suse.de> writes:
> > Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP
> > enabled") redefines __clear_user as inline function but does not remove
> > the export.
> >
> > Fixes: 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")
> >
> > Signed-off-by: Michal Suchanek <msuchanek@suse.de>
> > ---
> >  arch/powerpc/lib/ppc_ksyms.c | 1 -
> >  1 file changed, 1 deletion(-)
> 
> Acked-by: Michael Ellerman <mpe@ellerman.id.au>

Now applied, thanks.

greg k-h

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

* Patch "powerpc: Stop exporting __clear_user which is now inlined." has been added to the 4.4-stable tree
  2020-12-04 23:28 ` Michal Suchanek
  (?)
  (?)
@ 2020-12-06 10:19 ` gregkh
  -1 siblings, 0 replies; 7+ messages in thread
From: gregkh @ 2020-12-06 10:19 UTC (permalink / raw)
  To: benh, linuxppc-dev, mpe, msuchanek, paulus; +Cc: stable-commits


This is a note to let you know that I've just added the patch titled

    powerpc: Stop exporting __clear_user which is now inlined.

to the 4.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     powerpc-stop-exporting-__clear_user-which-is-now-inlined.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


From msuchanek@suse.de  Sun Dec  6 10:49:43 2020
From: Michal Suchanek <msuchanek@suse.de>
Date: Sat,  5 Dec 2020 00:28:07 +0100
Subject: powerpc: Stop exporting __clear_user which is now inlined.
To: stable@vger.kernel.org
Cc: Michal Suchanek <msuchanek@suse.de>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Paul Mackerras <paulus@samba.org>, Michael Ellerman <mpe@ellerman.id.au>, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Message-ID: <20201204232807.31887-1-msuchanek@suse.de>

From: Michal Suchanek <msuchanek@suse.de>

Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP
enabled") redefines __clear_user as inline function but does not remove
the export.

Fixes: 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
---
 arch/powerpc/lib/ppc_ksyms.c |    1 -
 1 file changed, 1 deletion(-)

--- a/arch/powerpc/lib/ppc_ksyms.c
+++ b/arch/powerpc/lib/ppc_ksyms.c
@@ -24,7 +24,6 @@ EXPORT_SYMBOL(csum_tcpudp_magic);
 #endif
 
 EXPORT_SYMBOL(__copy_tofrom_user);
-EXPORT_SYMBOL(__clear_user);
 EXPORT_SYMBOL(copy_page);
 
 #ifdef CONFIG_PPC64


Patches currently in stable-queue which might be from msuchanek@suse.de are

queue-4.4/powerpc-stop-exporting-__clear_user-which-is-now-inlined.patch

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

end of thread, other threads:[~2020-12-06 10:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-04 23:28 [PATCH] powerpc: Stop exporting __clear_user which is now inlined Michal Suchanek
2020-12-04 23:28 ` Michal Suchanek
2020-12-05 10:58 ` Michael Ellerman
2020-12-05 10:58   ` Michael Ellerman
2020-12-06  9:50   ` Greg KH
2020-12-06  9:50     ` Greg KH
2020-12-06 10:19 ` Patch "powerpc: Stop exporting __clear_user which is now inlined." has been added to the 4.4-stable tree gregkh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.