From nobody Sun Jun 14 18:59:06 2026 Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (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 1696D1D798E for ; Sun, 5 Apr 2026 08:33:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775377995; cv=none; b=FhexTGq/x4/LejLCZWenO8SJzID1ER76yHkdtU3f26EomJPr9hxRPDFF2cekTmZuuZC1rj61etOFmLYDP8WcKRNOzf468s1u5Qzs6VkZKXE2ounwYcqkkshYCpVMBEDVE1Hr9sCffaH9GBAJsvKKyZmuzpc9pnlPQEU7YOWIDBk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775377995; c=relaxed/simple; bh=mab2OHXs4+4/MoDSSoakh7ps0J3c09nhA7d2Y9ZaO8s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OWl9tWuROek8ZhVQBMd6Dj5GbboKMOJ5JzwrHvCsI6pW4BLy1QBF8W4n4TcIUYbeCAzDiBDtfVHNFCsUBzDgN6L98yVaaW6M4R8rTAf87Yf7c4UcAsEgabdskvmU1SJTTA5NHF+Vddr7wK23xSl98ZR0DMvwFQqR4mMN/FywvLU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=rjp.ie; spf=pass smtp.mailfrom=rjp.ie; dkim=pass (1024-bit key) header.d=rjp.ie header.i=@rjp.ie header.b=VK4y60W7; arc=none smtp.client-ip=95.215.58.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=rjp.ie Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rjp.ie Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rjp.ie header.i=@rjp.ie header.b="VK4y60W7" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rjp.ie; s=key1; t=1775377990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ZZsZdf34xVUg7n6YCGuIgbxo0LhjpctWteQKrG1HN2k=; b=VK4y60W7FLtQ/peU6RQP5pz7kAxkZSRyCWPxtgEkL/jqSsIdjAWK9auG/5IfyYqnvAp3Xr 8EOqLV44WR7A1B5Q7QUrOFGDb98wfvAVctvwaD4ksC3mWS5I88LVQ3v6zYRRddP55309On iFJsFztfpMkN72Ab9NLC9An7kJ3aneo= From: Ronan Pigott To: tglx@kernel.org, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Ronan Pigott Subject: [PATCH] x86/split_lock: Don't warn about unknown parameter Date: Sun, 5 Apr 2026 01:30:50 -0700 Message-ID: <20260405083245.50007-1-ronan@rjp.ie> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" The split_lock_detect command line parameter is handled in sld_setup shortly after cpu_parse_early_param but still before parse_early_param. Add a dummy __setup function so that parse_early_param doesn't later complain about the "unknown" parameter split_lock_detect=3D, and pass it along to init. --- 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 fb166662bc0d..c8fec79ed557 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)) { --=20 2.53.0