From nobody Sun Jun 14 20:20:25 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B1F61381B15; Sun, 5 Apr 2026 21:30:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775424603; cv=none; b=MdyeDY3/+khY5dYW4RnEly2ubKcoEHDj57zL3zUqkRQIlO9dYCMBIE5oR7DlU3Sd7ZRskvLfKVIDRpKNc/tiXaeLrhTjH1cCIO0I/gvnLRRAi3yk8fY1CoOb3YmkEOif6vgq8mwUpB0lbNHROtSWVd/3cS54xYr9f0oQyuvCZ38= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775424603; c=relaxed/simple; bh=7NXIrssRqEYf1/E11YD5MCiC+lE19jMrlQkm3ICxs8Y=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=qn1Lfv5iceqyFi9GCFcUS0cqgJAVr4dOlEgXrg8ZmO4wdVWo1HNsPFq6nkJ6yCWO4EFA8eg6/4BDZYb6BhR9SyKw5L5waaKfeMKB7z+lw7Hth+LF1fmtBlxPAb7w/nALFUX8zLUHkV6o9RgyVwXSYvxS9Q0MFlYjhWAtRbFwN9I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=1UOYUP1R; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=5wiNtX8W; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="1UOYUP1R"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="5wiNtX8W" Date: Sun, 05 Apr 2026 21:29:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1775424593; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Hq4yZ1g3r79PWJiH4nWQcgd7tUWTFVreAATGQsjAQhY=; b=1UOYUP1RbO8Rtzc4X7+6zXx8NL+7ta04X/Z6ZHDhTvZ0dTfmsAUherE2PXMLwBfQ6Ie5kG E0tdvhxQE/bL7LXcX0fGRQKgAEJcfV14qSlUSZKGOnNIGCaurAd/DCCK9h8YOcuTl3rcAD dwMB9IIFl6h+SxksoDOhH4KABcLW9bQANAd+HhbZCo7WXjNmULU5nh0z6FnqfhrQrXKqOQ pOj0XDEXLfY96tbv7tqb8Z6MNTqDDvqlyRYFCfet8Sl7uu5Pdxs3VGhaV1dL23pL3iA7C2 pdQo/cbzRiMEigw7uquCuFYlQLi1Y/n72zVO+8kE40jJBf33kXhEiBHBhmZtuA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1775424593; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Hq4yZ1g3r79PWJiH4nWQcgd7tUWTFVreAATGQsjAQhY=; b=5wiNtX8W1RsJdmJ+ZQQ5xdGzXZ7B7MUkvwkVEFFemJH29MmC7NstIeB+qAFKsTYL1SX0TE ts5yhqw+8/sH2jBA== From: "tip-bot2 for Ronan Pigott" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/split_lock: Don't warn about unknown split_lock_detect parameter Cc: Ronan Pigott , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260405181807.3906-1-ronan@rjp.ie> References: <20260405181807.3906-1-ronan@rjp.ie> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177542459227.226963.1752979448172168551.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: fbe80bd6993a059ca366a3561051b419f3cd2b29 Gitweb: https://git.kernel.org/tip/fbe80bd6993a059ca366a3561051b419f= 3cd2b29 Author: Ronan Pigott AuthorDate: Sun, 05 Apr 2026 10:28:25 -07:00 Committer: Borislav Petkov (AMD) CommitterDate: Sun, 05 Apr 2026 23:12:40 +02:00 x86/split_lock: Don't warn about unknown split_lock_detect parameter The split_lock_detect command line parameter is handled in sld_setup() shor= tly after cpu_parse_early_param() but still before parse_early_param(). Add a dummy parsing function so that parse_early_param() doesn't later complain about the "unknown" parameter split_lock_detect=3D, and pass it al= ong to init. [ bp: Massage commit message. ] Signed-off-by: Ronan Pigott Signed-off-by: Borislav Petkov (AMD) Link: https://patch.msgid.link/20260405181807.3906-1-ronan@rjp.ie --- arch/x86/kernel/cpu/bus_lock.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/kernel/cpu/bus_lock.c b/arch/x86/kernel/cpu/bus_lock.c index 660aa9a..bba2860 100644 --- a/arch/x86/kernel/cpu/bus_lock.c +++ b/arch/x86/kernel/cpu/bus_lock.c @@ -132,6 +132,12 @@ static void __init sld_state_setup(void) sld_state =3D state; } =20 +static __init int setup_split_lock_detect(char *arg) +{ + return 1; +} +__setup("split_lock_detect=3D", setup_split_lock_detect); + static void __init __split_lock_setup(void) { if (!split_lock_verify_msr(false)) {