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

* [PATCH v2] config/arm: add HiSilicon HIP12
  2025-10-28  8:42 [PATCH] config/arm: add HiSilicon HIP12 Chengwen Feng
@ 2025-10-29  1:16 ` Chengwen Feng
  2025-10-29  2:02   ` lihuisong (C)
  0 siblings, 1 reply; 3+ messages in thread
From: Chengwen Feng @ 2025-10-29  1:16 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

---
v2: try to fix meson build error "Expecting eof got rcurl"

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
@@ -255,6 +255,15 @@ implementer_hisilicon = {
                 ['RTE_MAX_LCORE', 1280],
                 ['RTE_MAX_NUMA_NODES', 16]
             ]
+        },
+        '0xd06': {
+            'mcpu': 'mcpu_hip12',
+            'flags': [
+                ['RTE_MACHINE', '"hip12"'],
+                ['RTE_ARM_FEATURE_ATOMICS', true],
+                ['RTE_MAX_LCORE', 1280],
+                ['RTE_MAX_NUMA_NODES', 16]
+            ]
         }
     }
 }
@@ -562,6 +571,13 @@ soc_hip10 = {
     'numa': true
 }
 
+soc_hip12 = {
+    'description': 'HiSilicon HIP12',
+    'implementer': '0x48',
+    'part_number': '0xd06',
+    'numa': true
+}
+
 soc_imx = {
     'description': 'NXP IMX',
     'implementer': '0x41',
@@ -703,6 +719,10 @@ mcpu_defs = {
         'march': 'armv8.5-a',
         'march_extensions': ['crypto', 'sve']
     },
+    'mcpu_hip12': {
+        'march': 'armv8.5-a',
+        'march_extensions': ['crypto', 'sve']
+    },
     'mcpu_kunpeng930': {
         'march': 'armv8.2-a',
         'march_extensions': ['crypto', 'sve']
@@ -758,6 +778,7 @@ graviton2:       AWS Graviton2
 graviton3:       AWS Graviton3
 graviton4:       AWS Graviton4
 hip10:           HiSilicon HIP10
+hip12:           HiSilicon HIP12
 imx:             NXP IMX
 kunpeng920:      HiSilicon Kunpeng 920
 kunpeng930:      HiSilicon Kunpeng 930
@@ -801,6 +822,7 @@ socs = {
     'graviton3': soc_graviton3,
     'graviton4': soc_graviton4,
     'hip10': soc_hip10,
+    'hip12': soc_hip12,
     'imx': soc_imx,
     'kunpeng920': soc_kunpeng920,
     'kunpeng930': soc_kunpeng930,
-- 
2.17.1


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

* Re: [PATCH v2] config/arm: add HiSilicon HIP12
  2025-10-29  1:16 ` [PATCH v2] " Chengwen Feng
@ 2025-10-29  2:02   ` lihuisong (C)
  0 siblings, 0 replies; 3+ messages in thread
From: lihuisong (C) @ 2025-10-29  2:02 UTC (permalink / raw)
  To: Chengwen Feng, thomas; +Cc: dev, lihuisong


在 2025/10/29 9:16, Chengwen Feng 写道:
> Adding support for HiSilicon HIP12 platform.
>
> Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
> ---
>
Thanks,
Acked-by: lihuisong@huawei.com

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