From: luzhipeng <luzhipeng@cestc.cn>
To: dev@dpdk.org
Cc: Thomas Monjalon <thomas@monjalon.net>, luzhipeng <luzhipeng@cestc.cn>
Subject: [PATCH] config/arm: add Phytium TengYun S5000c
Date: Thu, 13 Feb 2025 15:14:59 +0800 [thread overview]
Message-ID: <20250213071459.458-2-luzhipeng@cestc.cn> (raw)
In-Reply-To: <20250213071459.458-1-luzhipeng@cestc.cn>
add support for Phytium tengyunS5000c
Signed-off-by: luzhipeng <luzhipeng@cestc.cn>
---
config/arm/arm64_fts5000c_linux_gcc | 16 ++++++++++++++++
config/arm/meson.build | 20 ++++++++++++++++++++
2 files changed, 36 insertions(+)
create mode 100644 config/arm/arm64_fts5000c_linux_gcc
diff --git a/config/arm/arm64_fts5000c_linux_gcc b/config/arm/arm64_fts5000c_linux_gcc
new file mode 100644
index 0000000000..1f3b920b1a
--- /dev/null
+++ b/config/arm/arm64_fts5000c_linux_gcc
@@ -0,0 +1,16 @@
+[binaries]
+c = 'aarch64-linux-gnu-gcc'
+cpp = 'aarch64-linux-gnu-g++'
+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]
+platform = 'fts5000c'
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 5302861e2c..086985d7b6 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -304,6 +304,13 @@ implementer_phytium = {
['RTE_MAX_LCORE', 256],
['RTE_MAX_NUMA_NODES', 32]
]
+ },
+ '0x862': {
+ 'mcpu': 'mcpu_tys5000c',
+ 'flags': [
+ ['RTE_MAX_LCORE', 256],
+ ['RTE_MAX_NUMA_NODES', 32]
+ ]
}
}
}
@@ -614,6 +621,13 @@ soc_tys2500 = {
'numa': true
}
+soc_tys5000c = {
+ 'description': 'Phytium TengYun S5000c',
+ 'implementer': '0x70',
+ 'part_number': '0x862',
+ 'numa': true
+}
+
soc_v2 = {
'description': 'Arm Neoverse V2',
'implementer': '0x41',
@@ -650,6 +664,10 @@ mcpu_defs = {
'march': 'armv8-a',
'march_extensions': ['crc']
},
+ 'mcpu_tys5000c': {
+ 'march': 'armv8-a',
+ 'march_extensions': ['crc']
+ },
'mcpu_generic': {
'march': 'armv8-a',
'march_extensions': ['crc'],
@@ -694,6 +712,7 @@ thunderx2: Marvell ThunderX2 T99
thunderxt83: Marvell ThunderX T83
thunderxt88: Marvell ThunderX T88
tys2500: Phytium TengYun S2500
+tys5000c: Phytium TengYun S5000c
v2: Arm Neoverse V2
End of SoCs list
'''
@@ -733,6 +752,7 @@ socs = {
'thunderxt83': soc_thunderxt83,
'thunderxt88': soc_thunderxt88,
'tys2500': soc_tys2500,
+ 'tys5000c': soc_tys5000c,
'v2': soc_v2,
}
--
2.34.0.windows.1
prev parent reply other threads:[~2025-02-13 7:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 7:14 luzhipeng
2025-02-13 7:14 ` luzhipeng [this message]
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=20250213071459.458-2-luzhipeng@cestc.cn \
--to=luzhipeng@cestc.cn \
--cc=dev@dpdk.org \
--cc=thomas@monjalon.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).