From nobody Sat Jun 13 22:15:21 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 E05EE47CC61; Tue, 5 May 2026 10:56:21 +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=1777978583; cv=none; b=KDsg34EkWs0oZMYDKdg+5bHYiZPpxFLMKes91SmIZnEcVoLQ9VldQ6zvf9zKrtR4SKfnFICB7IcacVTvR6aZmbAqsAMEDOr/EScrA5PIB6WFgvM6E/HkjZBPQ7QhbFHp/lcKsx6ZXJXruHotz3mbLFxZ1I6S84QlAwp0iGoY858= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777978583; c=relaxed/simple; bh=NSbpgdQICffO/U9U9kmCC9huS8ZBztQ6ExmCqKHI/1o=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=siuafYOVrmYj8WMVvz6fJoeca3ZzRscEgicjk7sBTJo2ni8ZW3lSyn7v1OoVXYkp4ALH1ch5ecQWTI8el7FzKQvIJ0Efg+Y63fiHHFpAadKxgl7000obwom1tTvNU/l3C6oSckFNckimjeAiUhj1kpElWTjKPgdr0E4TjT1GrRU= 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=jjCEiUBC; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=8HL6Ezx1; 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="jjCEiUBC"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="8HL6Ezx1" Date: Tue, 05 May 2026 10:56:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1777978580; 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; bh=Ibf9akpJmH0vUGFoi8e7lNSdEU9X/QKDphCBg+SCnsU=; b=jjCEiUBCfyRBfR4azHIUtfnduUUJI/E6n3xcJRXXuiXhBdSpgRIo2IZrpqG/0bjfBDpsZA HGrKmdICaH9Tauigp7mUOVNNDJoa3y6LXK7MSMUI/8qnQKyA5Ar9pJ3BHVlo/L8DiIYmkI zF6S2+go5HTRB58ThfKihXVlxy8abGUHMle0XbkhY2+YUU9Nu4kUka/F0YpWPWuEjryRTV OBTPbipvJGeS2VedWppSvrWl4tNV1je/JCoVp4eq45hP+BXPJzU75NOfsAymN1O1VV6EBL PMqlkgeQqjs6NYJ7DtA+RjrJHS3SQ+7PlwNVHc3OgExxGbfUvtaFC5MZwouplA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1777978580; 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; bh=Ibf9akpJmH0vUGFoi8e7lNSdEU9X/QKDphCBg+SCnsU=; b=8HL6Ezx1fmvYBT4SbiUwU4DMoaIgjNxzqojfnsukdDEwxHCVHDO85Xvt7A2q1YlcayzhKq jld9F7lcwUsVHNCg== From: "tip-bot2 for Josh Poimboeuf" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/core] klp-build: Reject patches to realmode Cc: Song Liu , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177797857927.424702.14065830882742568058.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 objtool/core branch of tip: Commit-ID: df0d7bb04a27e48a0fb5fd32223f5ab248876cab Gitweb: https://git.kernel.org/tip/df0d7bb04a27e48a0fb5fd32223f5ab24= 8876cab Author: Josh Poimboeuf AuthorDate: Sun, 19 Apr 2026 19:57:48 -07:00 Committer: Josh Poimboeuf CommitterDate: Mon, 04 May 2026 21:16:03 -07:00 klp-build: Reject patches to realmode Realmode code is compiled as a separate 16-bit binary and embedded into the kernel image via rmpiggy.S. It can't be livepatched. Acked-by: Song Liu Signed-off-by: Josh Poimboeuf --- scripts/livepatch/klp-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/livepatch/klp-build b/scripts/livepatch/klp-build index a70d48d..2bb35de 100755 --- a/scripts/livepatch/klp-build +++ b/scripts/livepatch/klp-build @@ -357,7 +357,7 @@ check_unsupported_patches() { =20 for file in "${files[@]}"; do case "$file" in - lib/*|*/vdso/*|*.S) + lib/*|*/vdso/*|*/realmode/rm/*|*.S) die "${patch}: unsupported patch to $file" ;; esac