stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
@ 2022-07-13 15:24 Nathan Chancellor
  2022-07-13 15:36 ` Nick Desaulniers
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Nathan Chancellor @ 2022-07-13 15:24 UTC (permalink / raw)
  To: Linus Torvalds, x86
  Cc: Nick Desaulniers, Peter Zijlstra, Josh Poimboeuf, linux-kernel,
	llvm, Nathan Chancellor, stable, kernel test robot

Clang warns:

  arch/x86/kernel/cpu/bugs.c:58:21: error: section attribute is specified on redeclared variable [-Werror,-Wsection]
  DEFINE_PER_CPU(u64, x86_spec_ctrl_current);
                      ^
  arch/x86/include/asm/nospec-branch.h:283:12: note: previous declaration is here
  extern u64 x86_spec_ctrl_current;
             ^
  1 error generated.

The declaration should be using DECLARE_PER_CPU instead so all
attributes stay in sync.

Cc: stable@vger.kernel.org
Fixes: fc02735b14ff ("KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
---

v1 -> v2: https://lore.kernel.org/20220713152222.1697913-1-nathan@kernel.org/

* Use asm/percpu.h instead of linux/percpu.h to avoid static call
  include errors.

 arch/x86/include/asm/nospec-branch.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/nospec-branch.h b/arch/x86/include/asm/nospec-branch.h
index bb05ed4f46bd..10a3bfc1eb23 100644
--- a/arch/x86/include/asm/nospec-branch.h
+++ b/arch/x86/include/asm/nospec-branch.h
@@ -11,6 +11,7 @@
 #include <asm/cpufeatures.h>
 #include <asm/msr-index.h>
 #include <asm/unwind_hints.h>
+#include <asm/percpu.h>
 
 #define RETPOLINE_THUNK_SIZE	32
 
@@ -280,7 +281,7 @@ static inline void indirect_branch_prediction_barrier(void)
 
 /* The Intel SPEC CTRL MSR base value cache */
 extern u64 x86_spec_ctrl_base;
-extern u64 x86_spec_ctrl_current;
+DECLARE_PER_CPU(u64, x86_spec_ctrl_current);
 extern void write_spec_ctrl_current(u64 val, bool force);
 extern u64 spec_ctrl_current(void);
 

base-commit: 72a8e05d4f66b5af7854df4490e3135168694b6b
-- 
2.37.1


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

* Re: [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
  2022-07-13 15:24 [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current Nathan Chancellor
@ 2022-07-13 15:36 ` Nick Desaulniers
  2022-07-13 16:22 ` Peter Zijlstra
  2022-07-14 21:30 ` Jakub Kicinski
  2 siblings, 0 replies; 12+ messages in thread
From: Nick Desaulniers @ 2022-07-13 15:36 UTC (permalink / raw)
  To: Nathan Chancellor
  Cc: Linus Torvalds, x86, Peter Zijlstra, Josh Poimboeuf,
	linux-kernel, llvm, stable, kernel test robot

On Wed, Jul 13, 2022 at 8:25 AM Nathan Chancellor <nathan@kernel.org> wrote:
>
> Clang warns:
>
>   arch/x86/kernel/cpu/bugs.c:58:21: error: section attribute is specified on redeclared variable [-Werror,-Wsection]
>   DEFINE_PER_CPU(u64, x86_spec_ctrl_current);
>                       ^
>   arch/x86/include/asm/nospec-branch.h:283:12: note: previous declaration is here
>   extern u64 x86_spec_ctrl_current;
>              ^
>   1 error generated.
>
> The declaration should be using DECLARE_PER_CPU instead so all
> attributes stay in sync.
>
> Cc: stable@vger.kernel.org
> Fixes: fc02735b14ff ("KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Nathan Chancellor <nathan@kernel.org>

Thanks for the patch!
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>

> ---
>
> v1 -> v2: https://lore.kernel.org/20220713152222.1697913-1-nathan@kernel.org/
>
> * Use asm/percpu.h instead of linux/percpu.h to avoid static call
>   include errors.
>
>  arch/x86/include/asm/nospec-branch.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/x86/include/asm/nospec-branch.h b/arch/x86/include/asm/nospec-branch.h
> index bb05ed4f46bd..10a3bfc1eb23 100644
> --- a/arch/x86/include/asm/nospec-branch.h
> +++ b/arch/x86/include/asm/nospec-branch.h
> @@ -11,6 +11,7 @@
>  #include <asm/cpufeatures.h>
>  #include <asm/msr-index.h>
>  #include <asm/unwind_hints.h>
> +#include <asm/percpu.h>
>
>  #define RETPOLINE_THUNK_SIZE   32
>
> @@ -280,7 +281,7 @@ static inline void indirect_branch_prediction_barrier(void)
>
>  /* The Intel SPEC CTRL MSR base value cache */
>  extern u64 x86_spec_ctrl_base;
> -extern u64 x86_spec_ctrl_current;
> +DECLARE_PER_CPU(u64, x86_spec_ctrl_current);
>  extern void write_spec_ctrl_current(u64 val, bool force);
>  extern u64 spec_ctrl_current(void);
>
>
> base-commit: 72a8e05d4f66b5af7854df4490e3135168694b6b
> --
> 2.37.1
>
>


-- 
Thanks,
~Nick Desaulniers

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

* Re: [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
  2022-07-13 15:24 [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current Nathan Chancellor
  2022-07-13 15:36 ` Nick Desaulniers
@ 2022-07-13 16:22 ` Peter Zijlstra
  2022-07-13 16:27   ` Nathan Chancellor
  2022-07-14 21:30 ` Jakub Kicinski
  2 siblings, 1 reply; 12+ messages in thread
From: Peter Zijlstra @ 2022-07-13 16:22 UTC (permalink / raw)
  To: Nathan Chancellor
  Cc: Linus Torvalds, x86, Nick Desaulniers, Josh Poimboeuf,
	linux-kernel, llvm, stable, kernel test robot

On Wed, Jul 13, 2022 at 08:24:37AM -0700, Nathan Chancellor wrote:
> Clang warns:
> 
>   arch/x86/kernel/cpu/bugs.c:58:21: error: section attribute is specified on redeclared variable [-Werror,-Wsection]
>   DEFINE_PER_CPU(u64, x86_spec_ctrl_current);
>                       ^
>   arch/x86/include/asm/nospec-branch.h:283:12: note: previous declaration is here
>   extern u64 x86_spec_ctrl_current;
>              ^
>   1 error generated.
> 
> The declaration should be using DECLARE_PER_CPU instead so all
> attributes stay in sync.
> 
> Cc: stable@vger.kernel.org
> Fixes: fc02735b14ff ("KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Nathan Chancellor <nathan@kernel.org>
> ---
> 
> v1 -> v2: https://lore.kernel.org/20220713152222.1697913-1-nathan@kernel.org/
> 
> * Use asm/percpu.h instead of linux/percpu.h to avoid static call
>   include errors.
> 
>  arch/x86/include/asm/nospec-branch.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/x86/include/asm/nospec-branch.h b/arch/x86/include/asm/nospec-branch.h
> index bb05ed4f46bd..10a3bfc1eb23 100644
> --- a/arch/x86/include/asm/nospec-branch.h
> +++ b/arch/x86/include/asm/nospec-branch.h
> @@ -11,6 +11,7 @@
>  #include <asm/cpufeatures.h>
>  #include <asm/msr-index.h>
>  #include <asm/unwind_hints.h>
> +#include <asm/percpu.h>
>  
>  #define RETPOLINE_THUNK_SIZE	32
>  

When I tried this earlier today I ran into cyclic headers, you sure this
works?

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

* Re: [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
  2022-07-13 16:22 ` Peter Zijlstra
@ 2022-07-13 16:27   ` Nathan Chancellor
  0 siblings, 0 replies; 12+ messages in thread
From: Nathan Chancellor @ 2022-07-13 16:27 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: Linus Torvalds, x86, Nick Desaulniers, Josh Poimboeuf,
	linux-kernel, llvm, stable, kernel test robot

On Wed, Jul 13, 2022 at 06:22:41PM +0200, Peter Zijlstra wrote:
> On Wed, Jul 13, 2022 at 08:24:37AM -0700, Nathan Chancellor wrote:
> > Clang warns:
> > 
> >   arch/x86/kernel/cpu/bugs.c:58:21: error: section attribute is specified on redeclared variable [-Werror,-Wsection]
> >   DEFINE_PER_CPU(u64, x86_spec_ctrl_current);
> >                       ^
> >   arch/x86/include/asm/nospec-branch.h:283:12: note: previous declaration is here
> >   extern u64 x86_spec_ctrl_current;
> >              ^
> >   1 error generated.
> > 
> > The declaration should be using DECLARE_PER_CPU instead so all
> > attributes stay in sync.
> > 
> > Cc: stable@vger.kernel.org
> > Fixes: fc02735b14ff ("KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS")
> > Reported-by: kernel test robot <lkp@intel.com>
> > Signed-off-by: Nathan Chancellor <nathan@kernel.org>
> > ---
> > 
> > v1 -> v2: https://lore.kernel.org/20220713152222.1697913-1-nathan@kernel.org/
> > 
> > * Use asm/percpu.h instead of linux/percpu.h to avoid static call
> >   include errors.
> > 
> >  arch/x86/include/asm/nospec-branch.h | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/arch/x86/include/asm/nospec-branch.h b/arch/x86/include/asm/nospec-branch.h
> > index bb05ed4f46bd..10a3bfc1eb23 100644
> > --- a/arch/x86/include/asm/nospec-branch.h
> > +++ b/arch/x86/include/asm/nospec-branch.h
> > @@ -11,6 +11,7 @@
> >  #include <asm/cpufeatures.h>
> >  #include <asm/msr-index.h>
> >  #include <asm/unwind_hints.h>
> > +#include <asm/percpu.h>
> >  
> >  #define RETPOLINE_THUNK_SIZE	32
> >  
> 
> When I tried this earlier today I ran into cyclic headers, you sure this
> works?

Yes, I did my regular set of x86 builds with clang and they all passed.

Cheers,
Nathan

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

* Re: [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
  2022-07-13 15:24 [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current Nathan Chancellor
  2022-07-13 15:36 ` Nick Desaulniers
  2022-07-13 16:22 ` Peter Zijlstra
@ 2022-07-14 21:30 ` Jakub Kicinski
  2022-07-14 21:51   ` Linus Torvalds
  2 siblings, 1 reply; 12+ messages in thread
From: Jakub Kicinski @ 2022-07-14 21:30 UTC (permalink / raw)
  To: Nathan Chancellor, Peter Zijlstra, Borislav Petkov
  Cc: Linus Torvalds, x86, Nick Desaulniers, Josh Poimboeuf,
	linux-kernel, llvm, stable, kernel test robot

On Wed, 13 Jul 2022 08:24:37 -0700 Nathan Chancellor wrote:
> Clang warns:
> 
>   arch/x86/kernel/cpu/bugs.c:58:21: error: section attribute is specified on redeclared variable [-Werror,-Wsection]
>   DEFINE_PER_CPU(u64, x86_spec_ctrl_current);
>                       ^
>   arch/x86/include/asm/nospec-branch.h:283:12: note: previous declaration is here
>   extern u64 x86_spec_ctrl_current;
>              ^
>   1 error generated.
> 
> The declaration should be using DECLARE_PER_CPU instead so all
> attributes stay in sync.
> 
> Cc: stable@vger.kernel.org
> Fixes: fc02735b14ff ("KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Nathan Chancellor <nathan@kernel.org>

Hi, sorry to bother, any idea on the ETA for this fix getting into
Linus's tree? I'm trying to figure out if we should wait with 
forwarding the networking trees or this will take a while.

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

* Re: [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
  2022-07-14 21:30 ` Jakub Kicinski
@ 2022-07-14 21:51   ` Linus Torvalds
  2022-07-14 21:56     ` Linus Torvalds
  2022-07-14 21:56     ` Jakub Kicinski
  0 siblings, 2 replies; 12+ messages in thread
From: Linus Torvalds @ 2022-07-14 21:51 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: Nathan Chancellor, Peter Zijlstra, Borislav Petkov,
	the arch/x86 maintainers, Nick Desaulniers, Josh Poimboeuf,
	Linux Kernel Mailing List, clang-built-linux, stable,
	kernel test robot

On Thu, Jul 14, 2022 at 2:30 PM Jakub Kicinski <kuba@kernel.org> wrote:
>
> Hi, sorry to bother, any idea on the ETA for this fix getting into
> Linus's tree? I'm trying to figure out if we should wait with
> forwarding the networking trees or this will take a while.

Well, I have that patch by now in my own clang tree, but was holding
it off just because I was expecting a few other fixes for the fallout.

But if this particular one causes problems for maintainers, I can
easily just take it right away just cherry-pick it from my own
test-tree to my "main" tree.

            Linus

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

* Re: [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
  2022-07-14 21:51   ` Linus Torvalds
@ 2022-07-14 21:56     ` Linus Torvalds
  2022-07-14 22:11       ` Peter Zijlstra
  2022-07-14 21:56     ` Jakub Kicinski
  1 sibling, 1 reply; 12+ messages in thread
From: Linus Torvalds @ 2022-07-14 21:56 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: Nathan Chancellor, Peter Zijlstra, Borislav Petkov,
	the arch/x86 maintainers, Nick Desaulniers, Josh Poimboeuf,
	Linux Kernel Mailing List, clang-built-linux, stable,
	kernel test robot

On Thu, Jul 14, 2022 at 2:51 PM Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> But if this particular one causes problems for maintainers, I can
> easily just take it right away just cherry-pick it from my own
> test-tree to my "main" tree.

Oh, and as I did that cherry-pick, I suddenly remembered that I think
PeterZ had a slightly different version of it - the one I picked up is
Nathan's "v2".

PeterZ, do you have preferences? I've waited this long, I might as
well wait a bit more before I push out whatever version people prefer.

              Linus

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

* Re: [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
  2022-07-14 21:51   ` Linus Torvalds
  2022-07-14 21:56     ` Linus Torvalds
@ 2022-07-14 21:56     ` Jakub Kicinski
  2022-07-14 22:14       ` Linus Torvalds
  1 sibling, 1 reply; 12+ messages in thread
From: Jakub Kicinski @ 2022-07-14 21:56 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Nathan Chancellor, Peter Zijlstra, Borislav Petkov,
	the arch/x86 maintainers, Nick Desaulniers, Josh Poimboeuf,
	Linux Kernel Mailing List, clang-built-linux, stable,
	kernel test robot

On Thu, 14 Jul 2022 14:51:52 -0700 Linus Torvalds wrote:
> On Thu, Jul 14, 2022 at 2:30 PM Jakub Kicinski <kuba@kernel.org> wrote:
> > Hi, sorry to bother, any idea on the ETA for this fix getting into
> > Linus's tree? I'm trying to figure out if we should wait with
> > forwarding the networking trees or this will take a while.  
> 
> Well, I have that patch by now in my own clang tree, but was holding
> it off just because I was expecting a few other fixes for the fallout.
> 
> But if this particular one causes problems for maintainers, I can
> easily just take it right away just cherry-pick it from my own
> test-tree to my "main" tree.

I have clang 13, let me double check this fix is enough for the build
to complete without disabling WERROR. If it's not a hassle it'd
certainly make my life easier if the fix gotten applied now...

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

* Re: [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
  2022-07-14 21:56     ` Linus Torvalds
@ 2022-07-14 22:11       ` Peter Zijlstra
  0 siblings, 0 replies; 12+ messages in thread
From: Peter Zijlstra @ 2022-07-14 22:11 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Jakub Kicinski, Nathan Chancellor, Borislav Petkov,
	the arch/x86 maintainers, Nick Desaulniers, Josh Poimboeuf,
	Linux Kernel Mailing List, clang-built-linux, stable,
	kernel test robot

On Thu, Jul 14, 2022 at 02:56:12PM -0700, Linus Torvalds wrote:
> On Thu, Jul 14, 2022 at 2:51 PM Linus Torvalds
> <torvalds@linux-foundation.org> wrote:
> >
> > But if this particular one causes problems for maintainers, I can
> > easily just take it right away just cherry-pick it from my own
> > test-tree to my "main" tree.
> 
> Oh, and as I did that cherry-pick, I suddenly remembered that I think
> PeterZ had a slightly different version of it - the one I picked up is
> Nathan's "v2".
> 
> PeterZ, do you have preferences? I've waited this long, I might as
> well wait a bit more before I push out whatever version people prefer.

Nathan's is much nicer; I got bit by header hell and punted.

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

* Re: [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
  2022-07-14 21:56     ` Jakub Kicinski
@ 2022-07-14 22:14       ` Linus Torvalds
  2022-07-14 22:18         ` Jakub Kicinski
  2022-07-15 16:00         ` Borislav Petkov
  0 siblings, 2 replies; 12+ messages in thread
From: Linus Torvalds @ 2022-07-14 22:14 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: Nathan Chancellor, Peter Zijlstra, Borislav Petkov,
	the arch/x86 maintainers, Nick Desaulniers, Josh Poimboeuf,
	Linux Kernel Mailing List, clang-built-linux, stable,
	kernel test robot

On Thu, Jul 14, 2022 at 2:56 PM Jakub Kicinski <kuba@kernel.org> wrote:
>
> I have clang 13, let me double check this fix is enough for the build
> to complete without disabling WERROR.

I have clang 14 locally, and it builds fine with that (and doesn't
build without it).

I actually normally build the kernel with both gcc and clang. My
"upstream" kernel I build with gcc, and then I have my "private random
collection of patches" kernel that I build with clang and that are
just rebased on top of the kernel-of-the-day.

This is all entirely for historical reasons - part of my "private
random collection of patches" used to be the "asm goto with outputs",
which had clang support first.

But then the reason I never even noticed the build breakage with the
retbleed patches until much too late was that those I just had as a
third fork off my upstream kernel, so despite me usually building with
clang too, that only got attention from gcc.

So it's really just a microcosm version of the exact same bigger issue
we always have with those embargoed hw security patches: they end up
missing out on all the usual test environments.

Anyway, I cherry-picked Nathan's patch from my clang tree and pushed
it out as commit db886979683a ("x86/speculation: Use DECLARE_PER_CPU
for x86_spec_ctrl_current").

                 Linus

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

* Re: [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
  2022-07-14 22:14       ` Linus Torvalds
@ 2022-07-14 22:18         ` Jakub Kicinski
  2022-07-15 16:00         ` Borislav Petkov
  1 sibling, 0 replies; 12+ messages in thread
From: Jakub Kicinski @ 2022-07-14 22:18 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Nathan Chancellor, Peter Zijlstra, Borislav Petkov,
	the arch/x86 maintainers, Nick Desaulniers, Josh Poimboeuf,
	Linux Kernel Mailing List, clang-built-linux, stable,
	kernel test robot

On Thu, 14 Jul 2022 15:14:53 -0700 Linus Torvalds wrote:
> On Thu, Jul 14, 2022 at 2:56 PM Jakub Kicinski <kuba@kernel.org> wrote:
> > I have clang 13, let me double check this fix is enough for the build
> > to complete without disabling WERROR.  
> 
> I have clang 14 locally, and it builds fine with that (and doesn't
> build without it).

FWIW I can confirm - builds with clang 13 as well.

> I actually normally build the kernel with both gcc and clang. My
> "upstream" kernel I build with gcc, and then I have my "private random
> collection of patches" kernel that I build with clang and that are
> just rebased on top of the kernel-of-the-day.
> 
> This is all entirely for historical reasons - part of my "private
> random collection of patches" used to be the "asm goto with outputs",
> which had clang support first.
> 
> But then the reason I never even noticed the build breakage with the
> retbleed patches until much too late was that those I just had as a
> third fork off my upstream kernel, so despite me usually building with
> clang too, that only got attention from gcc.
> 
> So it's really just a microcosm version of the exact same bigger issue
> we always have with those embargoed hw security patches: they end up
> missing out on all the usual test environments.
> 
> Anyway, I cherry-picked Nathan's patch from my clang tree and pushed
> it out as commit db886979683a ("x86/speculation: Use DECLARE_PER_CPU
> for x86_spec_ctrl_current").

Awesome, thanks!

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

* Re: [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
  2022-07-14 22:14       ` Linus Torvalds
  2022-07-14 22:18         ` Jakub Kicinski
@ 2022-07-15 16:00         ` Borislav Petkov
  1 sibling, 0 replies; 12+ messages in thread
From: Borislav Petkov @ 2022-07-15 16:00 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Jakub Kicinski, Nathan Chancellor, Peter Zijlstra,
	the arch/x86 maintainers, Nick Desaulniers, Josh Poimboeuf,
	Linux Kernel Mailing List, clang-built-linux, stable,
	kernel test robot

On Thu, Jul 14, 2022 at 03:14:53PM -0700, Linus Torvalds wrote:
> Anyway, I cherry-picked Nathan's patch from my clang tree and pushed
> it out as commit db886979683a ("x86/speculation: Use DECLARE_PER_CPU
> for x86_spec_ctrl_current").

... and I've zapped it from my lineup.

Thx.

-- 
Regards/Gruss,
    Boris.

SUSE Software Solutions Germany GmbH
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman
(HRB 36809, AG Nürnberg)

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

end of thread, other threads:[~2022-07-15 16:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-13 15:24 [PATCH v2] x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current Nathan Chancellor
2022-07-13 15:36 ` Nick Desaulniers
2022-07-13 16:22 ` Peter Zijlstra
2022-07-13 16:27   ` Nathan Chancellor
2022-07-14 21:30 ` Jakub Kicinski
2022-07-14 21:51   ` Linus Torvalds
2022-07-14 21:56     ` Linus Torvalds
2022-07-14 22:11       ` Peter Zijlstra
2022-07-14 21:56     ` Jakub Kicinski
2022-07-14 22:14       ` Linus Torvalds
2022-07-14 22:18         ` Jakub Kicinski
2022-07-15 16:00         ` Borislav Petkov

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