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 E905BA04DD; Wed, 28 Oct 2020 10:29:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7CE5CC806; Wed, 28 Oct 2020 10:29:38 +0100 (CET) Received: from mail-il1-f195.google.com (mail-il1-f195.google.com [209.85.166.195]) by dpdk.org (Postfix) with ESMTP id 79D7BC802 for ; Wed, 28 Oct 2020 10:29:35 +0100 (CET) Received: by mail-il1-f195.google.com with SMTP id g7so4044196ilr.12 for ; Wed, 28 Oct 2020 02:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=N+eXQgYG3e/zPflgmidfxxYDMtnFvFc5clvEnCWC5RQ=; b=fpwKRa4AxtFBV4cKZ7smY0gEQ835jZncGUOS4p83bZfRKN9laVDVVo8yo+AxcZNl1s nFl75qguRC8BQuxorAP2VM7SpOXgdIK+gIEuRgcS0RBl3+W0Xn6UTFekEwovD6iMk1CI asoOSaCNuYJ0eowvwYvdD7xUmbX4lvNtMARY3XqtSernnl+BgLPuc547hyLaxWE9HbFE hQKFv9dlG6xv+e637mPGbDy3ACoYfNKx7e0yS3dRig+SJ7kEdMq+GsDxj3ZOgFYXRhZf zHOrfXzqM0r6Cn5V/d24zSU15DdkG11xeU9klyZ7INoxgQCT7Dsl+qH6H30PVuH+VjYl rpGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=N+eXQgYG3e/zPflgmidfxxYDMtnFvFc5clvEnCWC5RQ=; b=UbHHMf9DGnjNEC43PX99SNG8GUZ0lFdL5o1OkNhbc+5zHKD3EyNt2Pz3dfy/zNEi6p B51EyM8TglvqM6dJDZHmJkrWZYYeB8TP+uDsKC4M5HLwRx2ioFzCAUnKtcUCeHxZRn73 gFdTAiF3hObIXzdhwZ81ffFhm4dM9RT2u3yIte+8FvuIuN3J5uR9hwINiFy7G2SHh4ib 0LGenu2bSuISz4UtMZmC85EqbSdKH38WO+pRdr/lUNjWDus9PJHaSWIYc/W7ZAP6CX3t dV9h5Ovzi5ANrvynCOBX27M5rhbFz9V3zMJRWg8tyZagNw+LSzh1QCnSDe6zRWDO8DUh YM3A== X-Gm-Message-State: AOAM530CqT2iT2gdJOiTCGL3x2pk4fXZ3z0AUk6qp/TFK93P2fVekvnY XiEMW2+MnyzIi1sGhbjSrQVZChYEIezpM/BUU+k= X-Google-Smtp-Source: ABdhPJzZqzLN4vlVb/2v55Bv7QPy3k9lNRbPRVrJjq0wcr/hJAVpFpMYPAy/45oMZU2/bswbdxwWxftPFg5szkpBGN0= X-Received: by 2002:a92:c5ac:: with SMTP id r12mr5100470ilt.162.1603877373697; Wed, 28 Oct 2020 02:29:33 -0700 (PDT) MIME-Version: 1.0 References: <20200909011109.2048-1-vcchunga@amazon.com> <20201027201733.14206-1-vcchunga@amazon.com> <20201027201733.14206-2-vcchunga@amazon.com> In-Reply-To: From: Jerin Jacob Date: Wed, 28 Oct 2020 14:59:17 +0530 Message-ID: To: Honnappa Nagarahalli Cc: Vimal Chungath , "dev@dpdk.org" , Dharmik Thakkar , "alisaidi@amazon.com" , "bruce.richardson@intel.com" , "hemant.agrawal@nxp.com" , "jerinj@marvell.com" , "juraj.linkes@pantheon.tech" , nd , "thomas@monjalon.net" , Ruifeng Wang , Feifei Wang Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 1/1] build: add Graviton2(arm64) meson configuration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Oct 28, 2020 at 9:59 AM Honnappa Nagarahalli wrote: > > Hello, > IMO, Juraj's patch for meson build rework for Arm platforms will need some time. Keeping the RC2 deadline in mind, it makes sense to accept this patch and target Juraj's patch for 21.02. > > Any opinions? I feel, Recent Juraj's changes looks in good shape, I think, once he fixes your review comment and sends the next version. We can test it and give the final reviewed by and merge it in RC2. IMO, Those changes are critical to adding a new platform when MIDR is the same value. > > > -----Original Message----- > > From: Vimal Chungath > > Sent: Tuesday, October 27, 2020 3:18 PM > > To: dev@dpdk.org > > Cc: Honnappa Nagarahalli ; Dharmik > > Thakkar ; alisaidi@amazon.com; > > bruce.richardson@intel.com; hemant.agrawal@nxp.com; > > jerinj@marvell.com; jerinjacobk@gmail.com; juraj.linkes@pantheon.tech; > > nd ; thomas@monjalon.net > > Subject: [PATCH v2 1/1] build: add Graviton2(arm64) meson configuration > > > > Add meson build configuration for Graviton2 platform with 64-bit Arm > > Neoverse N1 cores. This patch makes the following changes to generic > > Neoverse N1 config: > > > > 1. increase lcore limit to 64 > > 2. increase memory support to 1TB > > 3. remove +crc from -march as that is default when setting armv8.2 > > > > For more information about Graviton2 platform, refer to: > > https://aws.amazon.com/ec2/graviton/ > > > > Signed-off-by: Vimal Chungath > Reviewed-by: Honnappa Nagarahalli > > > --- > > config/arm/arm64_graviton2_linux_gcc | 17 +++++++++++++++++ > > config/arm/meson.build | 12 +++++++++++- > > 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 > > config/arm/arm64_graviton2_linux_gcc > > > > diff --git a/config/arm/arm64_graviton2_linux_gcc > > b/config/arm/arm64_graviton2_linux_gcc > > new file mode 100644 > > index 000000000..022e06303 > > --- /dev/null > > +++ b/config/arm/arm64_graviton2_linux_gcc > > @@ -0,0 +1,17 @@ > > +[binaries] > > +c = 'aarch64-linux-gnu-gcc' > > +cpp = 'aarch64-linux-gnu-cpp' > > +ar = 'aarch64-linux-gnu-gcc-ar' > > +strip = 'aarch64-linux-gnu-strip' > > +pkgconfig = 'aarch64-linux-gnu-pkg-config' > > +pcap-config = '' > > + > > +[host_machine] > > +system = 'linux' > > +cpu_family = 'aarch64' > > +cpu = 'armv8-a' > > +endian = 'little' > > + > > +[properties] > > +implementor_id = '0x41' > > +implementor_pn = '0xd0c' > > diff --git a/config/arm/meson.build b/config/arm/meson.build index > > b49203fa8..0e7124843 100644 > > --- a/config/arm/meson.build > > +++ b/config/arm/meson.build > > @@ -86,6 +86,16 @@ flags_octeontx2_extra = [ > > ['RTE_ARM_FEATURE_ATOMICS', true], > > ['RTE_EAL_IGB_UIO', false], > > ['RTE_USE_C11_MEM_MODEL', true]] > > +flags_n1generic_extra = [ > > + ['RTE_MACHINE', '"neoverse-n1"'], > > + ['RTE_MAX_LCORE', 64], > > + ['RTE_CACHE_LINE_SIZE', 64], > > + ['RTE_ARM_FEATURE_ATOMICS', true], > > + ['RTE_USE_C11_MEM_MODEL', true], > > + ['RTE_MAX_MEM_MB', 1048576], > > + ['RTE_MAX_NUMA_NODES', 1], > > + ['RTE_EAL_NUMA_AWARE_HUGEPAGES', false], > > + ['RTE_LIBRTE_VHOST_NUMA', false]] > > > > machine_args_generic = [ > > ['default', ['-march=armv8-a+crc', '-moutline-atomics']], @@ -97,7 > > +107,7 @@ machine_args_generic = [ > > ['0xd09', ['-mcpu=cortex-a73']], > > ['0xd0a', ['-mcpu=cortex-a75']], > > ['0xd0b', ['-mcpu=cortex-a76']], > > - ['0xd0c', ['-march=armv8.2-a+crc+crypto', '-mcpu=neoverse-n1'], > > flags_n1sdp_extra]] > > + ['0xd0c', ['-march=armv8.2-a+crypto', '-mcpu=neoverse-n1'], > > +flags_n1generic_extra]] > > > > machine_args_cavium = [ > > ['default', ['-march=armv8-a+crc+crypto','-mcpu=thunderx']], > > -- > > 2.16.6 >