All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anoob Joseph <anoobj@marvell.com>
To: "Honnappa Nagarahalli" <honnappa.nagarahalli@arm.com>,
	"Juraj Linkeš" <juraj.linkes@pantheon.tech>,
	thomas@monjalon.net
Cc: <david.marchand@redhat.com>, Jerin Jacob <jerinj@marvell.com>,
	<nd@arm.com>, Pavan Nikhilesh <pbhagavatula@marvell.com>,
	Ruifeng Wang <ruifeng.wang@arm.com>, <wathsala.vithanage@arm.com>,
	<dev@dpdk.org>
Subject: [PATCH] config/arm: add Marvell Odyssey
Date: Tue, 5 Mar 2024 15:47:29 +0530	[thread overview]
Message-ID: <20240305101729.217-1-anoobj@marvell.com> (raw)

Add meson build configuration for Marvell Odyssey platform with 64-bit
ARM Neoverse V2 cores.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
---

Depends-on: series-31141 ("config/arm: add Neoverse V2 part number")

 config/arm/arm64_odyssey_linux_gcc-marvell | 17 +++++++++++++++++
 config/arm/meson.build                     | 15 +++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 config/arm/arm64_odyssey_linux_gcc-marvell

diff --git a/config/arm/arm64_odyssey_linux_gcc-marvell b/config/arm/arm64_odyssey_linux_gcc-marvell
new file mode 100644
index 0000000000..69b5cd42d8
--- /dev/null
+++ b/config/arm/arm64_odyssey_linux_gcc-marvell
@@ -0,0 +1,17 @@
+[binaries]
+c = ['ccache', 'aarch64-marvell-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-marvell-linux-gnu-g++']
+ar = 'aarch64-marvell-linux-gnu-gcc-ar'
+strip = 'aarch64-marvell-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv9-a'
+endian = 'little'
+
+[properties]
+platform = 'odyssey'
+
+[built-in options]
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 3886d0e2dc..94159efaa4 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -500,6 +500,20 @@ soc_n2 = {
     'numa': false
 }
 
+soc_odyssey = {
+    'description' : 'Marvell Odyssey',
+    'implementer' : '0x41',
+    'flags': [
+        ['RTE_MAX_LCORE', 80],
+        ['RTE_MAX_NUMA_NODES', 1],
+        ['RTE_MEMPOOL_ALIGN', 128],
+    ],
+    'part_number': '0xd4f',
+    'extra_march_features': ['crypto'],
+    'numa': false,
+    'sve_acle': false
+}
+
 soc_cn9k = {
     'description': 'Marvell OCTEON 9',
     'implementer': '0x43',
@@ -617,6 +631,7 @@ socs = {
     'kunpeng930': soc_kunpeng930,
     'n1sdp': soc_n1sdp,
     'n2': soc_n2,
+    'odyssey' : soc_odyssey,
     'stingray': soc_stingray,
     'thunderx2': soc_thunderx2,
     'thunderxt88': soc_thunderxt88,
-- 
2.25.1


             reply	other threads:[~2024-03-05 10:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-05 10:17 Anoob Joseph [this message]
2024-03-05 11:13 ` [PATCH v2] config/arm: add Marvell Odyssey Anoob Joseph
2024-03-06  2:37   ` Ruifeng Wang
2024-03-06  3:19   ` Honnappa Nagarahalli
2024-03-06  4:41     ` Anoob Joseph
2024-03-06  5:00       ` Honnappa Nagarahalli
2024-03-06  5:03   ` Honnappa Nagarahalli
2024-03-06  5:50   ` [PATCH v3] " Anoob Joseph
2024-03-06 15:42     ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240305101729.217-1-anoobj@marvell.com \
    --to=anoobj@marvell.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=honnappa.nagarahalli@arm.com \
    --cc=jerinj@marvell.com \
    --cc=juraj.linkes@pantheon.tech \
    --cc=nd@arm.com \
    --cc=pbhagavatula@marvell.com \
    --cc=ruifeng.wang@arm.com \
    --cc=thomas@monjalon.net \
    --cc=wathsala.vithanage@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.