DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] config/arm: add HiSilicon HIP12
@ 2025-10-28  8:42 Chengwen Feng
  2025-10-29  1:16 ` [PATCH v2] " Chengwen Feng
  0 siblings, 1 reply; 3+ messages in thread
From: Chengwen Feng @ 2025-10-28  8:42 UTC (permalink / raw)
  To: thomas; +Cc: dev

Adding support for HiSilicon HIP12 platform.

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
---
 config/arm/arm64_hip12_linux_gcc | 17 +++++++++++++++++
 config/arm/meson.build           | 22 ++++++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 config/arm/arm64_hip12_linux_gcc

diff --git a/config/arm/arm64_hip12_linux_gcc b/config/arm/arm64_hip12_linux_gcc
new file mode 100644
index 0000000000..949093d67b
--- /dev/null
+++ b/config/arm/arm64_hip12_linux_gcc
@@ -0,0 +1,17 @@
+[binaries]
+c = ['ccache', 'aarch64-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-linux-gnu-g++']
+ar = 'aarch64-linux-gnu-gcc-ar'
+strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+pkg-config = 'aarch64-linux-gnu-pkg-config'
+pcap-config = ''
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv8.5-a'
+endian = 'little'
+
+[properties]
+platform = 'hip12'
diff --git a/config/arm/meson.build b/config/arm/meson.build
index ec9e08cb5e..c0aa21b57d 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -257,0 +258,9 @@ implementer_hisilicon = {
+        },
+        '0xd06': {
+            'mcpu': 'mcpu_hip12',
+            'flags': [
+                ['RTE_MACHINE', '"hip12"'],
+                ['RTE_ARM_FEATURE_ATOMICS', true],
+                ['RTE_MAX_LCORE', 1280],
+                ['RTE_MAX_NUMA_NODES', 16]
+            ]
@@ -564,0 +574,7 @@ soc_hip10 = {
+soc_hip12 = {
+    'description': 'HiSilicon HIP12',
+    'implementer': '0x48',
+    'part_number': '0xd06',
+    'numa': true
+}
+
@@ -705,0 +722,4 @@ mcpu_defs = {
+    'mcpu_hip12': {
+        'march': 'armv8.5-a',
+        'march_extensions': ['crypto', 'sve']
+    },
@@ -760,0 +781 @@ hip10:           HiSilicon HIP10
+hip12:           HiSilicon HIP12
@@ -803,0 +825 @@ socs = {
+    'hip12': soc_hip12,
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-29  2:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-28  8:42 [PATCH] config/arm: add HiSilicon HIP12 Chengwen Feng
2025-10-29  1:16 ` [PATCH v2] " Chengwen Feng
2025-10-29  2:02   ` lihuisong (C)

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).