From: David Kaplan <david.kaplan@amd.com>
To: Thomas Gleixner <tglx@linutronix.de>,
Borislav Petkov <bp@alien8.de>,
Peter Zijlstra <peterz@infradead.org>,
Josh Poimboeuf <jpoimboe@kernel.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>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH 0/3] x86/bugs: Cleanup parameter parsing
Date: Mon, 11 Aug 2025 09:26:56 -0500 [thread overview]
Message-ID: <20250811142659.152248-1-david.kaplan@amd.com> (raw)
Most mitigations in bugs.c use early_param for parameter parsing. A few
older ones do not and look at boot_command_line directly.
This series modifies those to be consistent with the newer ones.
David Kaplan (3):
x86/bugs: Use early_param for spectre_v2_user
x86/bugs: Use early_param for spectre_v2
x86/bugs: Simplify SSB cmdline parsing
arch/x86/kernel/cpu/bugs.c | 331 ++++++++++++++++---------------------
1 file changed, 147 insertions(+), 184 deletions(-)
base-commit: 4b6b14d20bc04dcab6dd3ad0d5a50a0f473d1c18
--
2.34.1
next reply other threads:[~2025-08-11 14:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-11 14:26 David Kaplan [this message]
2025-08-11 14:26 ` [PATCH 1/3] x86/bugs: Use early_param for spectre_v2_user David Kaplan
2025-08-14 3:19 ` Pawan Gupta
2025-08-14 13:51 ` Kaplan, David
2025-08-11 14:26 ` [PATCH 2/3] x86/bugs: Use early_param for spectre_v2 David Kaplan
2025-08-14 16:54 ` Pawan Gupta
2025-08-14 18:39 ` Kaplan, David
2025-08-11 14:26 ` [PATCH 3/3] x86/bugs: Simplify SSB cmdline parsing David Kaplan
2025-08-18 17:41 ` Pawan Gupta
2025-08-18 17:55 ` Kaplan, David
2025-08-18 18:31 ` Pawan Gupta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250811142659.152248-1-david.kaplan@amd.com \
--to=david.kaplan@amd.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=jpoimboe@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=pawan.kumar.gupta@linux.intel.com \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®