From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6DCA4A04DD for ; Wed, 28 Oct 2020 11:57:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 57FFE37B0; Wed, 28 Oct 2020 11:57:13 +0100 (CET) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by dpdk.org (Postfix) with ESMTP id 788FE37B0 for ; Wed, 28 Oct 2020 11:57:10 +0100 (CET) Received: by mail-wm1-f51.google.com with SMTP id c194so4104712wme.2 for ; Wed, 28 Oct 2020 03:57:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+TBgCE/2htkKDSdNG6wRMhOlrmPkmJ/0WsZ3kDRfTFo=; b=QRLCbw0I+wCprWD2uvkE0xaG5bmZemtlKcpuHaHeD/LiMeQMwOarWYPl5klQa29w5R oZkoCLRMtqiFVkVFw7cd9x3sRgpO6u2zGCUCzdWWXk/c8MMDNB7mSTIeYIW3MbhMC/oc 1X6GPRueVw06vLJOqa3kiIZ5RVaUExq+ueErMNv8lGw/Rrbqd+gbXlHS51b5AOqtp6o+ MR8v/MEP35ynfnN9DPGaYpGpQgTmdVyOxdce8ap6Q9hUZpiHG0VD+Mspmexay3NCus8t bfKieB/5tSV7qMbLN+WT4SBGHLDeK3tbwCSDQhCPyFs0/W3j9KS5MZ2jhTl4XxC3LSxp YTsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+TBgCE/2htkKDSdNG6wRMhOlrmPkmJ/0WsZ3kDRfTFo=; b=mfeGhPmP+uBgX3CmTVIAnr3ZB7joWeRQEz7M85kOk5m7fMbyFXe/V0NmLhERNvhIBr 4AQKgsWytgUepQ+6bO5rcsXDaiCOGIYk25d3fQBZXv35NMMrjoB0Ih2qbTYAiBqQchfS C3RATPoZli6I0NJsXyGXLeFSOaIvRgoTqHKSLuredf6PqavZx2VLMwn5I4z8GJYot4sh TcyfNRLBnkE+AGXjdEY9t+Ove95LO2vGJVHK4Li4qZFdHm0zk+pUSqdvgUo0VpSZv7S6 JT9qjXctFsU7kBFZfrPb5hDEBb7KuiHWbetUd8KZXDMlxdFfEC62yUR2z0nGrPYbA2Wy rohQ== X-Gm-Message-State: AOAM531zrRoJMRwz0sBUlPzePGz1lb6UZbqJs8T6q+Ma8nuf3APAIr4L BOaPOvvuoFOHRFO/Ql9CHB4= X-Google-Smtp-Source: ABdhPJzJ3GHoPjeP82KvDRexIJRhxQI5PSE535/FwyIFQ/A3oV2D82kVAbfx+ghTjkuwLSqJzkL2JA== X-Received: by 2002:a1c:bad5:: with SMTP id k204mr2702581wmf.104.1603882629247; Wed, 28 Oct 2020 03:57:09 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id l11sm6109550wro.89.2020.10.28.03.57.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Oct 2020 03:57:08 -0700 (PDT) From: luca.boccassi@gmail.com To: Vimal Chungath Cc: dpdk stable Date: Wed, 28 Oct 2020 10:46:06 +0000 Message-Id: <20201028104606.3504127-207-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201028104606.3504127-1-luca.boccassi@gmail.com> References: <20201028104606.3504127-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'config: add Graviton2(arm64) defconfig' has been queued to stable release 19.11.6 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/30/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From b22cfbdd0ccaed9ff6f7db599765b267802680d5 Mon Sep 17 00:00:00 2001 From: Vimal Chungath Date: Wed, 7 Oct 2020 15:59:14 -0700 Subject: [PATCH] config: add Graviton2(arm64) defconfig Add make configuration for Graviton2 platform with 64-bit Arm Neoverse N1 cores. Sample build steps: make config T=arm64-graviton2-linux-gcc O=arm64-build make -C arm64-build OR make config T=graviton2 O=arm64-build make -C arm64-build For more information about Graviton2 platform, refer to: https://aws.amazon.com/ec2/graviton/ Signed-off-by: Vimal Chungath --- config/defconfig_arm64-graviton2-linux-gcc | 1 + config/defconfig_arm64-graviton2-linuxapp-gcc | 13 +++++++ config/defconfig_graviton2 | 1 + mk/machine/graviton2/rte.vars.mk | 34 +++++++++++++++++++ 4 files changed, 49 insertions(+) create mode 120000 config/defconfig_arm64-graviton2-linux-gcc create mode 100644 config/defconfig_arm64-graviton2-linuxapp-gcc create mode 120000 config/defconfig_graviton2 create mode 100644 mk/machine/graviton2/rte.vars.mk diff --git a/config/defconfig_arm64-graviton2-linux-gcc b/config/defconfig_arm64-graviton2-linux-gcc new file mode 120000 index 0000000000..80ac94d54d --- /dev/null +++ b/config/defconfig_arm64-graviton2-linux-gcc @@ -0,0 +1 @@ +defconfig_arm64-graviton2-linuxapp-gcc \ No newline at end of file diff --git a/config/defconfig_arm64-graviton2-linuxapp-gcc b/config/defconfig_arm64-graviton2-linuxapp-gcc new file mode 100644 index 0000000000..e99fef3073 --- /dev/null +++ b/config/defconfig_arm64-graviton2-linuxapp-gcc @@ -0,0 +1,13 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) Amazon.com, Inc or its affiliates +# + +#include "defconfig_arm64-armv8a-linux-gcc" + +CONFIG_RTE_MACHINE="graviton2" +CONFIG_RTE_MAX_LCORE=64 +CONFIG_RTE_CACHE_LINE_SIZE=64 +CONFIG_RTE_MAX_MEM_MB=1048576 +CONFIG_RTE_MAX_NUMA_NODES=1 +CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n +CONFIG_RTE_LIBRTE_VHOST_NUMA=n diff --git a/config/defconfig_graviton2 b/config/defconfig_graviton2 new file mode 120000 index 0000000000..80ac94d54d --- /dev/null +++ b/config/defconfig_graviton2 @@ -0,0 +1 @@ +defconfig_arm64-graviton2-linuxapp-gcc \ No newline at end of file diff --git a/mk/machine/graviton2/rte.vars.mk b/mk/machine/graviton2/rte.vars.mk new file mode 100644 index 0000000000..1796c9cf8f --- /dev/null +++ b/mk/machine/graviton2/rte.vars.mk @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) Amazon.com, Inc or its affiliates +# + +# +# machine: +# +# - can define ARCH variable (overridden by cmdline value) +# - can define CROSS variable (overridden by cmdline value) +# - define MACHINE_CFLAGS variable (overridden by cmdline value) +# - define MACHINE_LDFLAGS variable (overridden by cmdline value) +# - define MACHINE_ASFLAGS variable (overridden by cmdline value) +# - can define CPU_CFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - can define CPU_LDFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - can define CPU_ASFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - may override any previously defined variable +# + +# ARCH = +# CROSS = +# MACHINE_CFLAGS = +# MACHINE_LDFLAGS = +# MACHINE_ASFLAGS = +# CPU_CFLAGS = +# CPU_LDFLAGS = +# CPU_ASFLAGS = + +include $(RTE_SDK)/mk/rte.helper.mk + +MACHINE_CFLAGS += $(call rte_cc_has_argument, -march=armv8.2-a+crypto) +MACHINE_CFLAGS += $(call rte_cc_has_argument, -mcpu=neoverse-n1) -- 2.20.1