From patchwork Sun Jul 9 09:29:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 785899 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x533R3Ttdz9ryQ for ; Sun, 9 Jul 2017 19:30:11 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ZJOgXFtq"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A987C81CD9; Sun, 9 Jul 2017 09:30:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lJD-YUtkcDbN; Sun, 9 Jul 2017 09:30:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 067E582108; Sun, 9 Jul 2017 09:30:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 194FC1C4127 for ; Sun, 9 Jul 2017 09:30:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 148108680C for ; Sun, 9 Jul 2017 09:30:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LZCtD4Li77qH for ; Sun, 9 Jul 2017 09:30:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by fraxinus.osuosl.org (Postfix) with ESMTPS id F101386808 for ; Sun, 9 Jul 2017 09:30:05 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id k67so17805075wrc.1 for ; Sun, 09 Jul 2017 02:30:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=nburvvStLwdPpS2vrnLK+H2PFQ1zaqINMgXFBdZIoqw=; b=ZJOgXFtqtwFJfTX8/BiNxdsdFg8Jjtywfn/X/yZkaXQOo3IuoghXUR5skX/PDr3DKb 7tEp0dLvPE1G8Caehbdr8YnZhmwCsFuWiho2L/N1mwSR1ePvMwXeJKAvuo+PWw0pCg1a AxMPxp4aUlUTOR7rMfDfi3YluYcYD35akTcnGcpFVYT5ZGQDIMi88W29gmVZr8biArs4 5/LYQtW8+Opu88Ovs5nxMHM+gKEK59O9mD9QWzMUxbnpBuuntp0BgwqJ03EUeIOiI1fz eHJv1tifTm4nJ3ZddvPoaMB8dC92bycCczeDNDhvqyiBSDWfldltbnSzTyZvSNEEBGZK r0Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=nburvvStLwdPpS2vrnLK+H2PFQ1zaqINMgXFBdZIoqw=; b=Qo1FP/gxHGEUxwHd572Cq8KumMwfmKa0QhQFemDzWXKBInHzZiTZ32h5tolK3MDg61 LWER49afbT4p7nTtRJM2l1KbT/ywY61H4D46UfWHwtjQRnh/4BM0JKEyyRXTkP5hnN/Y /Qadq+JsqGdTxZnzq1PP5UoZJkc9TtJB2x/DwnwUMH7tWDX1R8WRXWL6lvp/sbdS/ezM tAeo/BUWBa9X5IbwvX/MSxDttlc6Nqb3HEpDkw5EOtkVMqz41/OuoaRvJkzOgMGiYWjd /53Y9ONPK78Qj9Q8lpkC5jyMFPc1qOMqKJK6XwSMqMQpdfTjeIWwwXigHaXbSZlSTq9M 8jYg== X-Gm-Message-State: AIVw111//XDAHm3Re6nuPCsw52iXLLgau9e6FRJDz5jNBdKuU37GGn+H lsA4x2j1Mn8C9T7R X-Received: by 10.223.163.15 with SMTP id c15mr4976638wrb.71.1499592604441; Sun, 09 Jul 2017 02:30:04 -0700 (PDT) Received: from localhost.localdomain (2a01cb088610730021c5c917275332d2.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:21c5:c917:2753:32d2]) by smtp.gmail.com with ESMTPSA id v8sm5051232wrd.28.2017.07.09.02.30.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Jul 2017 02:30:03 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sun, 9 Jul 2017 11:29:58 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 1/4 v3] arch/arm: fix -mcpu default values for AArch64 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" We have to specify the -mcpu value, even in 64-bit mode. For AArch64, +fp and +simd are the default, so they are totally useless. Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Cc: Baruch Siach --- Changes v1 -> v2: - squash the two changes into one patch (Thomas) - remove useless parentheses (Baruch) - remove superfluous indentation Notes: If anything, it is the +nofp or +nosimd that should be specified. This can be done in a future patch, though. --- arch/Config.in.arm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/arch/Config.in.arm b/arch/Config.in.arm index b1817ed568..3cafe21700 100644 --- a/arch/Config.in.arm +++ b/arch/Config.in.arm @@ -534,15 +534,9 @@ config BR2_GCC_TARGET_CPU default "strongarm" if BR2_strongarm default "xscale" if BR2_xscale default "iwmmxt" if BR2_iwmmxt - default "cortex-a53" if (BR2_cortex_a53 && !BR2_ARCH_IS_64) - default "cortex-a53+fp" if (BR2_cortex_a53 && BR2_ARCH_IS_64 && BR2_ARM_FPU_FP_ARMV8) - default "cortex-a53+fp+simd" if (BR2_cortex_a53 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8) - default "cortex-a57" if (BR2_cortex_a57 && !BR2_ARCH_IS_64) - default "cortex-a57+fp" if (BR2_cortex_a57 && BR2_ARCH_IS_64 && BR2_ARM_FPU_FP_ARMV8) - default "cortex-a57+fp+simd" if (BR2_cortex_a57 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8) - default "cortex-a72" if (BR2_cortex_a72 && !BR2_ARCH_IS_64) - default "cortex-a72+fp" if (BR2_cortex_a72 && BR2_ARCH_IS_64 && BR2_ARM_FPU_FP_ARMV8) - default "cortex-a72+fp+simd" if (BR2_cortex_a72 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8) + default "cortex-a53" if BR2_cortex_a53 + default "cortex-a57" if BR2_cortex_a57 + default "cortex-a72" if BR2_cortex_a72 config BR2_GCC_TARGET_ABI default "aapcs-linux" if BR2_arm || BR2_armeb