Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2474869ybi; Mon, 17 Jun 2019 05:34:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6nJgzoFydyx9/RQPZEQdWIOC/wY8pfL1MQBL5iUGKdm13Sp/HyA3qZT55FJxsnirxZSOR X-Received: by 2002:a17:902:f087:: with SMTP id go7mr81524482plb.330.1560774868633; Mon, 17 Jun 2019 05:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560774868; cv=none; d=google.com; s=arc-20160816; b=oGSjJcYEu5PviUx+EGCr8HZc3jSHxF+LgLmHFNT9CX9SRJhrBhN4fJOFIjED9dqxwZ 85O6S04Tp+PDq4MX9bP4njdJKrK754Uz1b4tGMMJd4Wv1SabxzyFPuj5nZyRH5kNh3IF qrms1COZ6NUl49QEEkXFxgMP+GHYQ52sNIrc1dRhT/KBbeWSgMNBMqJuw4eXzv8YmEMZ oALyXT0nYj90RiS4v9hDh4TiBWV4w3uS/33Dsip3/juqJmZDgO4SmFEX8LVNqkKfEMtJ 5O9BjEtgq8FobUmkN1c18F64LxZevOE+qbc7YTpZ1NIGOjmbBVy3g4L8KB6bO/nE80Y5 a1VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=CKNiQZD1Yi5WlBVLkxHQaQcsiTG0q3ywS0zt1rVvD9I=; b=eKwPGGJ2aCIDrrhGmKjwdZ3ynQ+tJZGhP2hjUP2mMMAQ3e1zXfjpDtIeLoXssTct3S 9VsiITMQZr8N9rcKp13igY4VIxln/3PlL1XIdjkQuJT7yf9dzD3oaBWQcksKUkkV2rgc EbFGhMqo+eHEvhmImqk3ENokbr9MsuvwP0cHbgrhQV+PGih+l0DoYoYYf6YSFQCeupnV 5PMEkkWU+4VGYqcetvbT8W9hqijAs2Hm2J4HPyfN3zwcUz1BnDcK4Zpio218ZcLx3eQI d06MUU/ELm6gphQ0jEuD6+R+Fz0NmWJ9AHTiVxh1MrmpWCScHJoUaYnnqgPLnMuvUl/s 603g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a17si9802920pjq.31.2019.06.17.05.34.11; Mon, 17 Jun 2019 05:34:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727463AbfFQMeG (ORCPT + 99 others); Mon, 17 Jun 2019 08:34:06 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:58319 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbfFQMeF (ORCPT ); Mon, 17 Jun 2019 08:34:05 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1MMoXC-1htQJR3L4G-00Ihzj; Mon, 17 Jun 2019 14:33:53 +0200 From: Arnd Bergmann To: Thierry Reding , arm@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH] firmware: trusted_foundations: add ARMv7 dependency Date: Mon, 17 Jun 2019 14:33:23 +0200 Message-Id: <20190617123352.742876-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:lG3EMn7eymquB1lgFAhu0K13XWBEH1PPENGNounZ6Xnzg65KD9H K7KGoA6BDfG56L7Ecrfg52/nh0Wkl9GI4JMqNZ522rVXqelHcL5sgosETiLuFSnJaybdatK tbzVbKcMFSV5HB4ECOima/g+smwK/Y4eXOe3AZLVnAwxeeNFCzZgJMp+Mrq2TcTDhEVbThS MvyiJ2EXg1PGpN8yIODHw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:cTIULY2r9us=:hIiDtNFP+qCUQBEtaqIitG Us5dRrmiNDw0C8YsTQngg1k9y3yPLuoap1c4pB1wKOYDlGH/Z2b16Bk9xZrFp/FQj1Hiu/wD3 M//QdUVAb2bgRCGUtVDdGnG1sa92uumtSpwYWWKhQgN2YefSeDikjXsdBi+R4xq9j2vQCbqU2 48xPo/MG1dT0JIlexAXxXnlvnco/uhOGGwkX8zHvQQN1uiNmlKAKRmnt16kzpsoQ9r0nycTSb C4una3bkX0IpfkSC/TPpiabqZjrr95g6ITZNtT3vTZTpkldeKlbbxA2JjoLLv+o0hYfhAOlZc chciSIdFB3VxMD85YlssJOZ8oWiomVtJA5b2yvI6VkycfpMCZpTaymq9+kUKT8SD4+SF6Oxpd pcpExgIinHqr6rvf1yeYL2+e2TNiwdSYd+x5UEcHbQzGSg9eebgF+8O2o9oda5wFQtL00m5o/ sCf3EGTnr8n3tZoLP9c/cY9FT0abxqDdAUADI5pH+kuAmwD/nMSTPVTZkpeTVpcaetJGs05X5 k3c2/p7dneTigsuXTqH2zZ6FPxBsaFj3UFzUtrLXsBsPgzCJEBpPMNqWgpJLecJ7+hfmXGN6f wYVUJf4iBTxyZ8qxUiIgBOpyr2ZltJ9RPgysB2b+R6xkawQx0dZ19TGLoyhl0yYx1OhlwuJRS HTZ4GvuOP6kN27rNAr3OccFx6vWj3oQRgPIiVZVLqwx7fPuRlUCc2Wwed25LofcnhyAvURSwK LX6RFXSSMmLOq5noEXwNhKFZiyqJUQXTB03q6Q== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The "+sec" extension is invalid for older ARM architectures, but the code can now be built on any ARM configuration: /tmp/trusted_foundations-2d0882.s: Assembler messages: /tmp/trusted_foundations-2d0882.s:194: Error: architectural extension `sec' is not allowed for the current base architecture /tmp/trusted_foundations-2d0882.s:201: Error: selected processor does not support `smc #0' in ARM mode /tmp/trusted_foundations-2d0882.s:213: Error: architectural extension `sec' is not allowed for the current base architecture /tmp/trusted_foundations-2d0882.s:220: Error: selected processor does not support `smc #0' in ARM mode Add a dependency on ARMv7 for the build. Fixes: 4cb5d9eca143 ("firmware: Move Trusted Foundations support") Signed-off-by: Arnd Bergmann --- drivers/firmware/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index 35078c6f334a..53446e39a32c 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig @@ -256,7 +256,7 @@ config TI_SCI_PROTOCOL config TRUSTED_FOUNDATIONS bool "Trusted Foundations secure monitor support" - depends on ARM + depends on ARM && CPU_V7 help Some devices (including most early Tegra-based consumer devices on the market) are booted with the Trusted Foundations secure monitor -- 2.20.0