RE: [PATCH v3 16/35] x86/bugs: Restructure ssb mitigation

Kaplan, David
2025-02-12T16:46:01Z

[AMD Official Use Only - AMD Internal Distribution Only]

> -----Original Message-----
> From: Josh Poimboeuf <jpoimboe@kernel.org>
> Sent: Monday, February 10, 2025 7:10 PM
> To: Kaplan, David <David.Kaplan@amd.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>; Borislav Petkov <bp@alien8.de>; Peter
> Zijlstra <peterz@infradead.org>; Pawan Gupta
> <pawan.kumar.gupta@linux.intel.com>; Ingo Molnar <mingo@redhat.com>; Dave
> Hansen <dave.hansen@linux.intel.com>; x86@kernel.org; H . Peter Anvin
> <hpa@zytor.com>; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH v3 16/35] x86/bugs: Restructure ssb mitigation
>
> Caution: This message originated from an External Source. Use proper caution
> when opening attachments, clicking links, or responding.
>
>
> On Wed, Jan 08, 2025 at 02:24:56PM -0600, David Kaplan wrote:
> > @@ -2272,15 +2280,6 @@ static enum ssb_mitigation __init
> __ssb_select_mitigation(void)
> > }
> > }
> >
> > - return mode;
> > -}
> > -
> > -static void ssb_select_mitigation(void) -{
> > - ssb_mode = __ssb_select_mitigation();
> > -
> > - if (boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS))
> > - pr_info("%s\n", ssb_strings[ssb_mode]);
> > }
>
> Extra whitespace at end of function.
>

Ack

--David Kaplan