From patchwork Mon May 10 18:00:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1476666 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=IPl7Is0Y; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=y4syZWuf; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.a=rsa-sha256 header.s=mail header.b=Ud6hEgPr; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Ff8Bn0KVlz9sWl for ; Tue, 11 May 2021 04:06:40 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=h5ZGjCCHyCX6inEyPsZwT+w03CPm7+6iWgCByUTcymE=; b=IPl7Is0YBznE1CGbxQKTD3lwB pD+wKrP6vu24NTJAcNvFGIaPEtr6Dm4g9RsZXSCP8WoZY5WZX4Dny95aXdGNB+yeEQri5R/spjxsq 0erXrw0BBfY8pwpSoR3lDOrXCpi+s9aibLxduihSvP9yWk9g4yMeLWGqkY6A7ZvA0fQ+1hcQwVxhk 6YGcg2VRPr1UowMd8dpxKoJ9lVxYXqnHoMDgrdY1AM54oiBfoqoQjL1HwwSuT3OmMQCVPNOkOWjJs GnRc3tUz9Udyp8Q7vamaS7ypGsYKy8cxwlvDqeYSMhGtrvMefiAIF6ZiFgEJf9lUxWwZplT2n0uIj JLo5Z5ojQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgAIf-00FMn8-LC; Mon, 10 May 2021 18:06:37 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgADJ-00FKow-Vd for linux-snps-arc@desiato.infradead.org; Mon, 10 May 2021 18:01:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=Xi1DdeMBB8PjLUbjs2O3+vOAhK2vIrAZYrDBYXt4XZs=; b=y4syZWufaVa3w+j6DEfXrktWl0 7kfR6wVfAT3n5vZrAdQUaJx7i4EzDlPuk3ooejEvf0//jOk4swFbxj1rUpndd+EdUZPTvQRyY88C8 F4lV2XBmjrznuI2qSDmPpxUAA4KIAbKa5Wn+Jyo70xyPz4mbLx5t9HR5XcVhhPCznSVDf8aMgiyoS qke0xy2h4Aa8d7HVpj1fDF+F1C4acm2sKlxU+oYNkx/8a7NBvYMEyCX2Jci9ODRMYbqnPqFzpogHR L4euWqp2GsmoTi+EEKcr8qUlncikrXU7hKf0dNuVcOQSrW+t1OoKTNM+SUIuYGKTo6FrkEnk0rGjR d7dzhKfg==; Received: from smtprelay-out1.synopsys.com ([149.117.87.133]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgADF-0090zF-MV for linux-snps-arc@lists.infradead.org; Mon, 10 May 2021 18:01:04 +0000 Received: from mailhost.synopsys.com (sv1-mailhost1.synopsys.com [10.205.2.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 99C43C008D; Mon, 10 May 2021 18:00:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1620669657; bh=TrIMZKQo3jN8M4cIbb2t3byQHJQABpIU/yTNuRW8zjk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ud6hEgPrZdPciw842fiCw8atZvG9LEL78B7Gx4kNfyld4KpdSOdzTMI0sHpgpsJ/Y Cs8Emm+/HViWDKCXZsQ6tgRHL1JtnHNRnj5ZtLNxK7Y1HcNFJgacmmrxjyjeb9rPyS M0qp4gva8tmBUFWO9yAZFL2H+70QjQTWAIpNVHFEplwvYSqZDHRdur8i103okZKjmL QjyXolaGgYB/oEwZRMyb5lcaakZ44clj+gpcRox0u3anMfN8RxzQX5kmQYjRIqY9u3 2XIoEXt0QnydhWCjKFqAvyG2BKg42mSReNAAHUAxlhhjo1d5oc4+4admlgMwI+sURG f2PZMkfleG6vQ== Received: from vineetg-Latitude-7400.internal.synopsys.com (unknown [10.202.19.21]) by mailhost.synopsys.com (Postfix) with ESMTP id 1F10DA0065; Mon, 10 May 2021 18:00:55 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Vineet Gupta To: buildroot@busybox.net Cc: Alexey.Brodkin@synopsys.com, Evgeniy.Didin@synopsys.com, linux-snps-arc@lists.infradead.org, Vineet Gupta Subject: [PATCH v3 1/4] ARC: config: explicit'ify -mcpu for cpu selection Date: Mon, 10 May 2021 11:00:45 -0700 Message-Id: <20210510180049.61421-2-vgupta@synopsys.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510180049.61421-1-vgupta@synopsys.com> References: <20210510180049.61421-1-vgupta@synopsys.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_110101_791214_0ECAD7B9 X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This helps with distinguishing the cpu at the time of config selection Signed-off-by: Vineet Gupta --- arch/Config.in.arc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [149.117.87.133 listed in wl.mailspike.net] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This helps with distinguishing the cpu at the time of config selection Signed-off-by: Vineet Gupta --- arch/Config.in.arc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/Config.in.arc b/arch/Config.in.arc index f7a6d920b50d..c9a695000f2c 100644 --- a/arch/Config.in.arc +++ b/arch/Config.in.arc @@ -6,20 +6,20 @@ choice Specific CPU to use config BR2_arc750d - bool "ARC 750D" + bool "ARC 750D (-mcpu=arc700)" config BR2_arc770d - bool "ARC 770D" + bool "ARC 770D (-mcpu=arc700)" config BR2_archs38 - bool "ARC HS38" + bool "ARC HS38 (-mcpu=archs)" help Generic ARC HS capable of running Linux, i.e. with MMU, caches and 32-bit multiplier. Also it corresponds to the default configuration in older GNU toolchain versions. config BR2_archs38_64mpy - bool "ARC HS38 with 64-bit mpy" + bool "ARC HS38 with 64-bit mpy (-mcpu=hs38)" help Fully featured ARC HS capable of running Linux, i.e. with MMU, caches and 64-bit multiplier. @@ -28,7 +28,7 @@ config BR2_archs38_64mpy for use this one. config BR2_archs38_full - bool "ARC HS38 with Quad MAC & FPU" + bool "ARC HS38 with Quad MAC & FPU (-mcpu=hs38_linux)" help Fully featured ARC HS with additional support for - Dual- and quad multiply and MC oprations @@ -38,12 +38,12 @@ config BR2_archs38_full ARChitect. config BR2_archs4x_rel31 - bool "ARC HS48 rel 31" + bool "ARC HS48 rel 31 (-mcpu=hs4x_rel31)" help Build for HS48 release 3.1 config BR2_archs4x - bool "ARC HS48" + bool "ARC HS48 (-mcpu=hs4x)" help Latest release of HS48 processor - Dual and Quad multiply and MAC operations