Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp911815pxp; Wed, 16 Mar 2022 21:03:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxwrfz5qraIVkOC/5fHM2Hz8SYL6iNn2vbjnC3pefNG2tBlcGso8/Pi9tfl0G2vnCw1Bcx X-Received: by 2002:a17:902:aa42:b0:153:ce8e:6703 with SMTP id c2-20020a170902aa4200b00153ce8e6703mr2722654plr.5.1647489817447; Wed, 16 Mar 2022 21:03:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647489817; cv=none; d=google.com; s=arc-20160816; b=kCUSWRRX/F+M84bCv3ABlrKjHWJtsfx7T7lhJM8MceumqhgLxTwjifmhCaJvcPt/Tx muaQpYGfj9OVgdqpW3f24nyiJT1NxoCe5iOatY0RUBguQrwuPg0uyNCKznYNWvxCM2G/ M3lzB8hDA+i1yV0+6lcO0vI9S3zEj4LeaU1mZ8uzvsl1n0cqx4poNlHuxSJtdRcvMG7/ j18jhdtBsaxPgQ+wep2ITKlueElZsD2MBufTcVNs1hglttqQD3Z0/61bK7Ejq0ZxXpjI Epsdgzldt5VEXq9lyOdbxWgZb0H12ryMiD3SlBLjMl5LiL5p6s2edZFeSSXhxSzEp+4k DKvw== 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=ofiVoDxNxT7b89G+pCs4a9qqcM1lqY7Fm+d3WtFPzXo=; b=C/LC8+gxJuyddFZsu+KXUJanbPqDxykg+TbOnjBuDEC9H5BtCpnO1sF5RXlRkBRIoP VxZ8YY02lhYNHJcMggYOCmQzZOeRzlxkLDF6+t2Xzalow1WIEtkAXTL7Fs8boDkCxSVR L2japa2/6kKJPF1gxTCCZWdL2AW2W/0cIucyunkuykIr6uRhtYXgZyTHx7PUle0bqsD0 3Pup823Ob0zz4U4HyRjLwHjFXcZNoch+rmduWUMeVPrc8wKbMzXb796Lgla8nZ1FKyI7 ljK1hqi4zmDgvzdZv/ImKS9Cf99r6/9I+v3JdBWlMxWJt4cLipDB8QAnPVmrg3FejB7R kQRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=1BDMEFON; dkim=neutral (no key) header.i=@linutronix.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x15-20020a63db4f000000b003816043f0e8si908167pgi.733.2022.03.16.21.03.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 21:03:37 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=1BDMEFON; dkim=neutral (no key) header.i=@linutronix.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B808A90CEF; Wed, 16 Mar 2022 20:45:41 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347574AbiCOKrz (ORCPT + 99 others); Tue, 15 Mar 2022 06:47:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347405AbiCOKpx (ORCPT ); Tue, 15 Mar 2022 06:45:53 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D26EB5132F; Tue, 15 Mar 2022 03:44:17 -0700 (PDT) Date: Tue, 15 Mar 2022 10:44:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1647341055; 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=ofiVoDxNxT7b89G+pCs4a9qqcM1lqY7Fm+d3WtFPzXo=; b=1BDMEFONE3cXrMCu5RyMNL2Gjuc3HjViG2kLu1Ym4vzS61QiPcUkBY1xXhKA+NBhEyVqeC C9c09imt+5Lc6+JjsdF41nXDAwxjPGqX3+aBY4vSeHdYlmJMk8YZ8gCNoZxYFl/BZKzyGj F/1BzcO86zrJartQLz6n13tIWdY9kNEAmiBoGfipLDH0SMGaXCB7zru6hpkYEh/hpISI+9 4clXsa5E7Ojb1C14wtwpOHabVw9pwgqWTE9n1cJugSgDEn45JuMZTUTctBO4MOr8sYBfO0 gWh5BtrL0NKKEFsZyZAKvdgqGU5uTb9KdTZt16Z8WyLq8ortLe14CwIpGfnV4w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1647341055; 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=ofiVoDxNxT7b89G+pCs4a9qqcM1lqY7Fm+d3WtFPzXo=; b=j44IKHvyh/KBYM+Hzj4VwbBzX5KVf29QMCXCkF8X8GKRBMh+EYW53kPM4WWbH+7L9MB+N0 ZMD41z7lTqdvTcCw== 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: <164734105479.16921.842689798874309480.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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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: 537da1ed54658e916141e50923a7f5b20c728856 Gitweb: https://git.kernel.org/tip/537da1ed54658e916141e50923a7f5b20c728856 Author: Peter Zijlstra AuthorDate: Tue, 08 Mar 2022 16:30:15 +01:00 Committer: Peter Zijlstra CommitterDate: Tue, 15 Mar 2022 10:32:32 +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