[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250820183747.GPaKYV-6egd_25ikM4@fat_crate.local>
Date: Wed, 20 Aug 2025 20:37:47 +0200
From: Borislav Petkov <bp@...en8.de>
To: David Kaplan <david.kaplan@....com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Josh Poimboeuf <jpoimboe@...nel.org>,
Pawan Gupta <pawan.kumar.gupta@...ux.intel.com>,
Ingo Molnar <mingo@...hat.com>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H . Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/5] x86/bugs: Use early_param for spectre_v2_user
On Tue, Aug 19, 2025 at 02:21:56PM -0500, David Kaplan wrote:
> Most of the mitigations in bugs.c use early_param to parse their command
> line options. Modify spectre_v2_user to use early_param for consistency.
>
> Remove spec_v2_user_print_cond() because informing a user about their
> cmdline choice isn't very interesting and the chosen mitigation is already
> printed in spectre_v2_user_update_mitigation().
>
> Signed-off-by: David Kaplan <david.kaplan@....com>
> ---
> arch/x86/kernel/cpu/bugs.c | 65 +++++++++++++++-----------------------
> 1 file changed, 26 insertions(+), 39 deletions(-)
Reviewed-by: Borislav Petkov (AMD) <bp@...en8.de>
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists