From nobody Sat Apr 18 14:14:40 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8BDA6C43334 for ; Wed, 13 Jul 2022 10:45:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234325AbiGMKpO (ORCPT ); Wed, 13 Jul 2022 06:45:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230448AbiGMKpK (ORCPT ); Wed, 13 Jul 2022 06:45:10 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A562F9907; Wed, 13 Jul 2022 03:45:10 -0700 (PDT) Date: Wed, 13 Jul 2022 10:45:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1657709108; 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=V8DARu14SdouI1aP70tIrihlQVvaTbCqD0sVqIaLFrA=; b=aTCr6zrODzn9hCSbB2HIgHiR2tj7Nyw4lCmScSKjJuL+snY9YwTUfvSUNVgVVZIWXOcMoK wFYDhtMkmub5KHuNhDaBjIHitZwh2Krbsj+oTB/HGugkaCy7ZeH/89ajb+dr15++/huzn7 jvBuvRxlH0RqXXIJDc0erqNzw3vdJ8ktnFE48VGBCaetGr+GZXh6up7cH+mBTqqEVqY1eL fJTvwkgABuw55aYFERuBc4LxD1fDqXrRtQXIaL82Wu7zYoVCGWzEQUrgSEbHURSDW/j8fC YDcHXxTFSA98uTgp+tnyhSv1cI90QrLVR3Ed5X+W7FBWLLnGjPW2Qf5OqS+djQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1657709108; 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=V8DARu14SdouI1aP70tIrihlQVvaTbCqD0sVqIaLFrA=; b=PMpZzmyiqC5S1i8XhwcDWPuQ2ANiRu3nanggxbaQb+xXPFqaeDoRQqysOpJzNSaY1YXHyk UPUkZFqloPqehPBw== From: "tip-bot2 for Jiri Slaby" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/urgent] x86/asm/32: Fix ANNOTATE_UNRET_SAFE use on 32-bit Cc: Jiri Slaby , Borislav Petkov , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <63e23f80-033f-f64e-7522-2816debbc367@kernel.org> References: <63e23f80-033f-f64e-7522-2816debbc367@kernel.org> MIME-Version: 1.0 Message-ID: <165770910773.15455.14083079054575719536.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 56453410313828bf4eb70f3efbf7e2b29d6c647a Gitweb: https://git.kernel.org/tip/56453410313828bf4eb70f3efbf7e2b29= d6c647a Author: Jiri Slaby AuthorDate: Wed, 13 Jul 2022 11:50:46 +02:00 Committer: Borislav Petkov CommitterDate: Wed, 13 Jul 2022 12:20:42 +02:00 x86/asm/32: Fix ANNOTATE_UNRET_SAFE use on 32-bit The build on x86_32 currently fails after commit 9bb2ec608a20 (objtool: Update Retpoline validation) with: arch/x86/kernel/../../x86/xen/xen-head.S:35: Error: no such instruction: = `annotate_unret_safe' ANNOTATE_UNRET_SAFE is defined in nospec-branch.h. And head_32.S is missing this include. Fix this. Fixes: 9bb2ec608a20 (objtool: Update Retpoline validation) Signed-off-by: Jiri Slaby Signed-off-by: Borislav Petkov Link: https://lore.kernel.org/r/63e23f80-033f-f64e-7522-2816debbc367@kernel= .org --- arch/x86/kernel/head_32.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index eb8656b..9b7acc9 100644 --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include