From patchwork Fri Nov 8 17:41:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1192082 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=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UVBV7s4F"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="dX2iks9O"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (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 478nd25SYjz9sPT for ; Sat, 9 Nov 2019 04:41:26 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9X7o/a+QqT/6+DqQ8MRdVaA23n9GVSp/6mV//PN4tmk=; b=UVBV7s4FLuYkg2 2XwFn9+qBIcP1lVE8V+QhxRww61eL91ypwaMRCld34hy1lt0KYQG3C7jqjGNB+kWxyeuRmnAaOov8 5pCVjY5MrZFWSjVavTzDqxLvbDiXpIOkektMGvGhMo/rEZ4/wHIixTzQIjr1vA0nbT7H40DuCx7Yl uX1qJ5CyK6Or8/s3LOocJPRRRHINUr7APUdMk0I+J6uofM8MOuBTCFjwMifM0b6XijEM+Qsd1lgbO 234i5+vHcTKe4yDsGaON8BYAXRkRWA9yHYht5BsvAId3B7cHh7CWmjia56QLBTA2glzkV70YfdzXV DMfwZ6YNOtK4k2Rb2HUA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iT8GD-0007jO-CL; Fri, 08 Nov 2019 17:41:25 +0000 Received: from smtprelay-out1.synopsys.com ([198.182.47.102]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iT8G7-0007gu-Md for linux-snps-arc@lists.infradead.org; Fri, 08 Nov 2019 17:41:22 +0000 Received: from mailhost.synopsys.com (sv1-mailhost2.synopsys.com [10.205.2.132]) (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 F387FC0DEB; Fri, 8 Nov 2019 17:41:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1573234879; bh=QnZBVef/PdWov027kg2NOxZGewfQbZucnUaRGClwAnI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dX2iks9OfE91u1xiXiIQZyq8Vxou02k/B5tkhVBnRFi3c7E5iM2V091wp/ptpcz0n DLvRIL0WHF/wwrZ7U/wp6Tljdg/BL7fNDFSSCxN6pUcpLDXhVJ/5r0iJ6Ub3IXNW1D T1R6RmonME+dmjHmt7wiZdMMmXWg9ZZc0HHax/iNNHM/iqE+88a/MQKIs4OWo/LHuk AntaUdCpRKQutyFl5wbsQH6lBClQInfIhha50S48O8yG2xnQgD+b4iL2vxdR+PsQhu BRgQd8AWR14yj3UJl1Z6+i77JsAvJBKV641HgJ3HSrK14rdiaYJzT6SBleQYD5CjGr JmKM471eQYkpA== Received: from vineetg-Latitude-E7450.internal.synopsys.com (vineetg-latitude-e7450.internal.synopsys.com [10.10.161.28]) by mailhost.synopsys.com (Postfix) with ESMTP id C3350A009F; Fri, 8 Nov 2019 17:41:18 +0000 (UTC) From: Vineet Gupta To: buildroot@busybox.net Subject: [PATCH 1/3] arch/config.in.arc: Introduce the ARC optimized hs38 config Date: Fri, 8 Nov 2019 09:41:10 -0800 Message-Id: <20191108174112.28183-2-vgupta@synopsys.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191108174112.28183-1-vgupta@synopsys.com> References: <20191108174112.28183-1-vgupta@synopsys.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191108_094119_760540_0FE56F12 X-CRM114-Status: UNSURE ( 8.77 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [198.182.47.102 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -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 X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Evgeniy.Didin@synopsys.com, Vineet Gupta , linux-snps-arc@lists.infradead.org, Alexey.Brodkin@synopsys.com Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This corresponds to -mcu=hs38 with mpy-option=9 (64-bit multiplier) Signed-off-by: Vineet Gupta --- arch/Config.in.arc | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/arch/Config.in.arc b/arch/Config.in.arc index c65bb01f1f4f..284951b82cee 100644 --- a/arch/Config.in.arc +++ b/arch/Config.in.arc @@ -11,13 +11,19 @@ config BR2_arc750d config BR2_arc770d bool "ARC 770D" -config BR2_archs38 +config BR2_archs bool "ARC HS38" help Generic ARC HS capable of running Linux, i.e. with MMU, - caches and multiplier. Also it corresponds to the default + caches and 32-bit multiplier. Also it corresponds to the default configuration in older GNU toolchain versions. +config BR2_archs38 + bool "ARC HS38 with 64-bit mpy" + help + Fully featured ARC HS capable of running Linux, i.e. with MMU, + caches and 64-bit multiplier. + If you're not sure which version of ARC HS core you build for keep this one. @@ -43,7 +49,7 @@ endchoice # Choice of atomic instructions presence config BR2_ARC_ATOMIC_EXT bool "Atomic extension (LLOCK/SCOND instructions)" - default y if BR2_arc770d || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31 + default y if BR2_arc770d || BR2_archs || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31 config BR2_ARCH default "arc" if BR2_arcle @@ -60,13 +66,14 @@ config BR2_ENDIAN config BR2_GCC_TARGET_CPU default "arc700" if BR2_arc750d default "arc700" if BR2_arc770d - default "archs" if BR2_archs38 + default "archs" if BR2_archs + default "hs38" if BR2_archs38 default "hs38_linux" if BR2_archs38_full default "hs4x_rel31" if BR2_archs4x_rel31 config BR2_READELF_ARCH_NAME default "ARCompact" if BR2_arc750d || BR2_arc770d - default "ARCv2" if BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31 + default "ARCv2" if BR2_archs || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31 choice prompt "MMU Page Size" @@ -86,7 +93,7 @@ choice config BR2_ARC_PAGE_SIZE_4K bool "4KB" - depends on BR2_arc770d || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31 + depends on BR2_arc770d || BR2_archs || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31 config BR2_ARC_PAGE_SIZE_8K bool "8KB" @@ -96,7 +103,7 @@ config BR2_ARC_PAGE_SIZE_8K config BR2_ARC_PAGE_SIZE_16K bool "16KB" - depends on BR2_arc770d || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31 + depends on BR2_arc770d || BR2_archs || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31 endchoice