From: Chengwen Feng <fengchengwen@huawei.com>
To: <thomas@monjalon.net>
Cc: <dev@dpdk.org>
Subject: [PATCH] config/arm: add HiSilicon HIP12
Date: Tue, 28 Oct 2025 16:42:59 +0800 [thread overview]
Message-ID: <20251028084259.4925-1-fengchengwen@huawei.com> (raw)
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
next reply other threads:[~2025-10-28 8:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-28 8:42 Chengwen Feng [this message]
2025-10-29 1:16 ` [PATCH v2] " Chengwen Feng
2025-10-29 2:02 ` lihuisong (C)
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=20251028084259.4925-1-fengchengwen@huawei.com \
--to=fengchengwen@huawei.com \
--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).