Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp172818pxp; Tue, 8 Mar 2022 23:59:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVDSD2dlnmcMz+2EWj5aOnAIxZ1dE0PETFSBCJWN0oOzh1qVPYEObfuIykusL8PfnD+VTT X-Received: by 2002:a05:6402:31f0:b0:416:4bda:ebd4 with SMTP id dy16-20020a05640231f000b004164bdaebd4mr12155669edb.63.1646812798467; Tue, 08 Mar 2022 23:59:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646812798; cv=none; d=google.com; s=arc-20160816; b=iRkNQWHqPaT/h68qPCiPQRywwirUhEhp0wxvmqBQ+v+Q8lj3htHL9q7mDneNe8DsB1 7zPswsfZF6DZgH2kWGPuTIH6UqSPkNCE/70X8IcBorojDQvXfeQT9Tga5swE6Fdzi1Tt hB6aD0OJf1uqzAl60OCW1yhUmRYKn688NDI+RBZY9XGb8T3QwqoeYKl0sEVkpVrNYadG N2blyfEU2WS6F3BdOKX+pHub4/O+BZLhKoKD0jLwdHaDkpmmuy03S2owTsj5JP81ydjY t+4K/zPSzRTolq0k+DBlrvERiNPGFY5Oc+j0y5tvkAeXUeBZnQTL6bxS9+lqjwpXrYF+ ILAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=stA61fcD5w5nUsopVJOsKkSXIWNWdq3D/vij4lbqLwE=; b=sgQC/zoN3Udg4haPpb1e7kjewmiPs/PZpR1iMEaM0wA1Gg1Hpz9jBVSJg1k/RobA3a dwNDNlW5c57+lC4/IO2eJ9C+E29EWH1SGMxFAE2kjEtsByWsgU/2L+qFQfWFf/XkU5l5 m605rwGCWCjwpQ3f3VFHWOk7FBOUXKeYB3pkwN4VMmt0oPMuLl8GcAf3VBxD3jw2hWaK VcCHIusbU8HA0WjVLIdYIK/bhOumDEJz1WNHTMmaZlvG6ymXpBV7ND3ynZBPcmhMVwv3 5tT+dWUs/6P8897+f5zRex0l/DaLVkhOeOR59K489VWV5PIQxbnfMXIhxC1aFqKjjn+v Y+sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=VUibsTKD; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hv21-20020a17090760d500b006daa266143dsi748991ejc.972.2022.03.08.23.59.35; Tue, 08 Mar 2022 23:59:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=VUibsTKD; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231466AbiCIH56 (ORCPT + 99 others); Wed, 9 Mar 2022 02:57:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231165AbiCIH4j (ORCPT ); Wed, 9 Mar 2022 02:56:39 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3F57166A64; Tue, 8 Mar 2022 23:55:16 -0800 (PST) Date: Wed, 09 Mar 2022 07:55:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1646812515; 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=stA61fcD5w5nUsopVJOsKkSXIWNWdq3D/vij4lbqLwE=; b=VUibsTKDBbgGzsbq4q6qMx/Aoxol9UAzj6LpEgNYLc8tln8fPvogo3ItTHymkBnMbKiYoU OOWLwtDaAmKOakReUytOmQXqhE2mOyHIQMEb2t6X87f6QAdGhD9mK+ySMVywnDqJBMI/X2 q8ECZfDLtSrH/gDMlu/vflZWpCjiROlOeNu86uC3AMlxZkggBg7xLm+RBiQK0ldZcl7wv6 jCy+b6L9CWDaW9vG8Z2NB44X2M/MElrUp9xp5O/FDw81kXdZVGiy6uhkTgMSDYVSHEb31t +j+JRE/bOU3j/nbXElfglljhy8oLgNlehOxxOs61uQ4nlX+XKvl9kqEHX5hySw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1646812515; 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=stA61fcD5w5nUsopVJOsKkSXIWNWdq3D/vij4lbqLwE=; b=GOk+p18baovsu7e+EISWWgCA8cIIQHveuujvMcnqTLYH+tkrGixAJA571GxJJANXiKDwdT mU7rzLxTwwTj8MCA== From: "tip-bot2 for Peter Zijlstra" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/core] objtool,efi: Update __efi64_thunk annotation Cc: "Peter Zijlstra (Intel)" , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220308154317.402118218@infradead.org> References: <20220308154317.402118218@infradead.org> MIME-Version: 1.0 Message-ID: <164681251438.16921.12937403000114406105.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: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/core branch of tip: Commit-ID: f99b84d14feba2ac011b1a21ceae4aa9e3fe49e8 Gitweb: https://git.kernel.org/tip/f99b84d14feba2ac011b1a21ceae4aa9e3fe49e8 Author: Peter Zijlstra AuthorDate: Tue, 08 Mar 2022 16:30:15 +01:00 Committer: Peter Zijlstra CommitterDate: Tue, 08 Mar 2022 23:53:27 +01:00 objtool,efi: Update __efi64_thunk annotation The current annotation relies on not running objtool on the file; this won't work when running objtool on vmlinux.o. Instead explicitly mark __efi64_thunk() to be ignored. This preserves the status quo, which is somewhat unfortunate. Luckily this code is hardly ever used. Signed-off-by: Peter Zijlstra (Intel) Acked-by: Josh Poimboeuf Link: https://lore.kernel.org/r/20220308154317.402118218@infradead.org --- arch/x86/platform/efi/Makefile | 1 - arch/x86/platform/efi/efi_thunk_64.S | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/x86/platform/efi/Makefile b/arch/x86/platform/efi/Makefile index 84b09c2..a502451 100644 --- a/arch/x86/platform/efi/Makefile +++ b/arch/x86/platform/efi/Makefile @@ -1,5 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 -OBJECT_FILES_NON_STANDARD_efi_thunk_$(BITS).o := y KASAN_SANITIZE := n GCOV_PROFILE := n diff --git a/arch/x86/platform/efi/efi_thunk_64.S b/arch/x86/platform/efi/efi_thunk_64.S index 25799d7..854dd81 100644 --- a/arch/x86/platform/efi/efi_thunk_64.S +++ b/arch/x86/platform/efi/efi_thunk_64.S @@ -20,12 +20,14 @@ */ #include +#include #include #include .text .code64 -SYM_CODE_START(__efi64_thunk) +SYM_FUNC_START(__efi64_thunk) +STACK_FRAME_NON_STANDARD __efi64_thunk push %rbp push %rbx @@ -79,7 +81,7 @@ SYM_CODE_START(__efi64_thunk) 2: pushl $__KERNEL_CS pushl %ebp lret -SYM_CODE_END(__efi64_thunk) +SYM_FUNC_END(__efi64_thunk) .bss .balign 8