Message ID | 170205917850.398.16478105526810209721.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5631957vqy; Fri, 8 Dec 2023 10:13:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IFrn79SEKQR9H+GFtZaqaP1MlOqt+5/I2BkWJXp45mJtaB8RBicDTRSan75ICGz40l6SuJo X-Received: by 2002:a05:6a20:1445:b0:190:cbe:9edd with SMTP id a5-20020a056a20144500b001900cbe9eddmr417081pzi.54.1702059201214; Fri, 08 Dec 2023 10:13:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702059201; cv=none; d=google.com; s=arc-20160816; b=y+ycPlTlj7h5buaQva4blN4PH3ozawxX9dnH0xPJnI8nt3/RAaECl0eW77xU8omGTL mOyJiFEUXV4+1VjXG+ZpCffCGSr7Fkumm/64yW8Rz55LVAMvOrcxG6vuuZXQgoLcMyiW fJItbrfx9K0TOnvyehHFpA7ERGR5yO/RkcpDRP4dpZ3EXyeTP3EPDszN+Weytpbs+G/U powdIWsgBBwvLDklBAx8LJXZqOyjy6fND/IH860DBrV84XpxcnVOk7zsBNzUdw6l80hh FoQmKXqbd0IA2bnL5bMDbH2qvs3MGp245WhbLU2yHpFc3rfbAjSAoo/MHbpTe4EwoLnm aelQ== 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:cc:subject:to:reply-to:sender:from :dkim-signature:dkim-signature:date; bh=MgW3CFoSiwuqrhvkt6W1AeU1bA24onzZkPQaIFSDGZQ=; fh=/n9XlXj1IKUyPlyHECKcBKWdQ7usrdaKCfKX5noQGgg=; b=LjgbcKJJXOrB0GgNWb9y9Oq02VhEoxpXZPdIxnDKRIhET720ixAZcJ7kqYFrwsFhjy 3y4lmnzvdVixTcgXiuhTfypRAzd9NZWWQ0Ssw9BQ14W20o2ct90269z9qeoA+pFX2wKX fQfglTYC0KW/aZSJ1zTU4LIipz74f/OV439KwiUXiY+ND8iMoI5pbhOOvCx0nxxleWV2 xhSFN87FpZL7yFMWPuPENZf0knqzoBG6yWxeDCbUXhAL4AaglJih4ZlhPI6t8V60ez/n T55yFKpP2BrSY05xf6/LuHpnnQtQNXrorbDIG5d5sTLjrgd6hwTdLMX8Xe6JbXA5HzzG E1yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=0raww4mw; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=dLYtteuJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id fc6-20020a056a002e0600b006cdf20980fasi1925530pfb.80.2023.12.08.10.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 10:13:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=0raww4mw; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=dLYtteuJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7E5E783B1E91; Fri, 8 Dec 2023 10:13:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235963AbjLHSNC (ORCPT <rfc822;ezelljr.billy@gmail.com> + 99 others); Fri, 8 Dec 2023 13:13:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1574152AbjLHSMy (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 8 Dec 2023 13:12:54 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D8F790; Fri, 8 Dec 2023 10:13:00 -0800 (PST) Date: Fri, 08 Dec 2023 18:12:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1702059179; 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=MgW3CFoSiwuqrhvkt6W1AeU1bA24onzZkPQaIFSDGZQ=; b=0raww4mw+akTKeGocQMchd5CHkIapgeXx5ZpY9/43iybJDJDv1CMxN4vGs/ux12vEgOkOR dmfPZ4i8vrgoxVMrXUxQBRVzm/sHA0A8QK8hAGsfmgynLGV1hj8dQzHtFUmXSZCBYC6AlQ dtL2PTdxvSTBCDc1e5YB5c85aJ6UQtRF1BHtTXtSn43idock/m//p6l2SRZM1d6xoF2rGI pa3+/+aN3NoWoEZqbu0uzKqfOOXSJicQgahQlETbZycttLf1oTLWGThIZEwYWffe/MEc6p PK+2MW+XGydkY/nnGIJxKO4Fk25dGpFpi0mNLZpFlI0PDoOBdj5sSh3r9yr+mg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1702059179; 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=MgW3CFoSiwuqrhvkt6W1AeU1bA24onzZkPQaIFSDGZQ=; b=dLYtteuJO1ERFVlksgLdHUe+orYdTVqbZupjdYMt7xI0hc1QEZ93Br9I/e+dEFxYY72wGi vd93KsjY+OJES8BA== From: "tip-bot2 for Jo Van Bulck" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/sgx] selftests/sgx: Fix linker script asserts Cc: Jo Van Bulck <jo.vanbulck@cs.kuleuven.be>, Dave Hansen <dave.hansen@linux.intel.com>, Jarkko Sakkinen <jarkko@kernel.org>, x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <170205917850.398.16478105526810209721.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 08 Dec 2023 10:13:14 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784738429277048824 X-GMAIL-MSGID: 1784738429277048824 |
Series |
[tip:,x86/sgx] selftests/sgx: Fix linker script asserts
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Dec. 8, 2023, 6:12 p.m. UTC
The following commit has been merged into the x86/sgx branch of tip: Commit-ID: 9fd552ee32c6c1e27c125016b87d295bea6faea7 Gitweb: https://git.kernel.org/tip/9fd552ee32c6c1e27c125016b87d295bea6faea7 Author: Jo Van Bulck <jo.vanbulck@cs.kuleuven.be> AuthorDate: Thu, 05 Oct 2023 17:38:50 +02:00 Committer: Dave Hansen <dave.hansen@linux.intel.com> CommitterDate: Fri, 08 Dec 2023 10:05:27 -08:00 selftests/sgx: Fix linker script asserts DEFINED only considers symbols, not section names. Hence, replace the check for .got.plt with the _GLOBAL_OFFSET_TABLE_ symbol and remove other (non-essential) asserts. Signed-off-by: Jo Van Bulck <jo.vanbulck@cs.kuleuven.be> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Link: https://lore.kernel.org/all/20231005153854.25566-10-jo.vanbulck%40cs.kuleuven.be --- tools/testing/selftests/sgx/test_encl.lds | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/tools/testing/selftests/sgx/test_encl.lds b/tools/testing/selftests/sgx/test_encl.lds index 62d3716..6ffdfc9 100644 --- a/tools/testing/selftests/sgx/test_encl.lds +++ b/tools/testing/selftests/sgx/test_encl.lds @@ -35,8 +35,4 @@ SECTIONS } } -ASSERT(!DEFINED(.altinstructions), "ALTERNATIVES are not supported in enclaves") -ASSERT(!DEFINED(.altinstr_replacement), "ALTERNATIVES are not supported in enclaves") -ASSERT(!DEFINED(.discard.retpoline_safe), "RETPOLINE ALTERNATIVES are not supported in enclaves") -ASSERT(!DEFINED(.discard.nospec), "RETPOLINE ALTERNATIVES are not supported in enclaves") -ASSERT(!DEFINED(.got.plt), "Libcalls are not supported in enclaves") +ASSERT(!DEFINED(_GLOBAL_OFFSET_TABLE_), "Libcalls through GOT are not supported in enclaves")