From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9686C35CB73; Fri, 1 May 2026 04:09:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777608546; cv=none; b=BiN/YRXZTCDx0fFdMlC3t3ZfHqygcaXQrtlHJkEJra8uYyAfUe8sXEfPW/Yc6bQxB5MHd7f07EE4TEcZZ1LjMaKha+whOU/ufXRh6els3dxvi1lCsng+7ZXSUYxDkfeap6TTMf2qI68YhG0jXMG14B8bHBkfTb1VGFbNlnJ9knY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777608546; c=relaxed/simple; bh=C4H3QYns08OGG+5ZLV30DNEsVqONshg8FePcx0FJUVc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=o104QYmsiROg8cVtExiYyTYPC3dsFrgHs3WHmLZlOHLLd0z4E0qLGQCBe8HDXz2BHu6no10RpxkbBIj9f7Dkm3Z0Wv8bjQve3cEABTKL5LQEn9hIYVvDGq8+0r8Jmhzv7dLLRWUV29z3Amnr2mlE+Ky5c+cx3Vs2eNXjBJ4GcpY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dysIFujc; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dysIFujc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A6E1C2BCC9; Fri, 1 May 2026 04:09:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777608544; bh=C4H3QYns08OGG+5ZLV30DNEsVqONshg8FePcx0FJUVc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dysIFujctdwUPF/HClOO7A7XmGyr14pacL2NKWkeo33su8fDjZHxDmFTIOSsOPmXO 8jPZ48JNGj5X0eJDi3iPwMNKImDm/2C/oAOGOtCh5ANz0772gOOE2/fM/E9T0ozSKr cG7qoP+UyPNeVcg2KFryQCd6Ef5443+OkxPnk62QxmWdG8cSO3o3zUtlFXHJz+pqED qsDi2tIrupoy/XYBNet/Y3KvdBlFVclxPfmj4gFDZsp7o0tik9zHr6d/PlGaFOiIoU fxsW8KJW2Zaio3lmigPiY7zI4P4WfWaRn+BQDL46adeStv7IIefblbrEZn7LCe7ZYT bvv013aeLGl1A== From: Josh Poimboeuf To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Peter Zijlstra , Joe Lawrence , Song Liu , Miroslav Benes , Petr Mladek Subject: [PATCH v2 30/53] klp-build: Reject patches to realmode Date: Thu, 30 Apr 2026 21:08:18 -0700 Message-ID: X-Mailer: git-send-email 2.53.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: live-patching@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 a70d48d98453..2bb35de5db75 100755 --- a/scripts/livepatch/klp-build +++ b/scripts/livepatch/klp-build @@ -357,7 +357,7 @@ check_unsupported_patches() { for file in "${files[@]}"; do case "$file" in - lib/*|*/vdso/*|*.S) + lib/*|*/vdso/*|*/realmode/rm/*|*.S) die "${patch}: unsupported patch to $file" ;; esac -- 2.53.0