diff mbox series

[PATCH-V7] config/arm: add Qualcomm Centriq 2400 SoC config

Message ID 20210507084815.25929-1-thierry.herbelot@6wind.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers show
Series [PATCH-V7] config/arm: add Qualcomm Centriq 2400 SoC config | expand

Checks

Context Check Description
ci/iol-mellanox-Functional success Functional Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/intel-Testing success Testing PASS
ci/Intel-compilation success Compilation OK
ci/iol-abi-testing success Testing PASS
ci/iol-testing success Testing PASS
ci/github-robot success github build: passed
ci/checkpatch success coding style OK

Commit Message

Thierry Herbelot May 7, 2021, 8:48 a.m. UTC
From the documentation:
"The SoC configuration is a combination of implementer and CPU part number
 configuration and SoC-specific configuration."

Align Qualcomm SoC configuration with the configuration of other
server SoCs (eMAG, Kunpeng 9x0): add a soc configuration to the existing
implementer configuration, and a cross file.

Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
--
V7:
- use a more specific subject
- add a cross file
V6:
- rebase after merge of "doc: fix Arm SoCs list"
V5:
- rebase after http://patches.dpdk.org/project/dpdk/patch/20210429070751.6065-1-david.marchand@redhat.com/
V4:
- use a more specific SoC name
V3:
- include doc patch
- remove Fixes line
V2:
- use the right original commit in Fixes
---
 config/arm/arm64_centriq2400_linux_gcc | 16 ++++++++++++++++
 config/arm/meson.build                 |  9 +++++++++
 2 files changed, 25 insertions(+)
 create mode 100644 config/arm/arm64_centriq2400_linux_gcc

Comments

Ruifeng Wang May 13, 2021, 9:35 a.m. UTC | #1
> -----Original Message-----
> From: Thierry Herbelot <thierry.herbelot@6wind.com>
> Sent: Friday, May 7, 2021 4:48 PM
> To: dev@dpdk.org
> Cc: Thierry Herbelot <thierry.herbelot@6wind.com>; thomas@monjalon.net;
> Juraj Linkeš <juraj.linkes@pantheon.tech>; Honnappa Nagarahalli
> <Honnappa.Nagarahalli@arm.com>; Ruifeng Wang
> <Ruifeng.Wang@arm.com>
> Subject: [PATCH-V7] config/arm: add Qualcomm Centriq 2400 SoC config
> 
> From the documentation:
> "The SoC configuration is a combination of implementer and CPU part
> number  configuration and SoC-specific configuration."
> 
> Align Qualcomm SoC configuration with the configuration of other server
> SoCs (eMAG, Kunpeng 9x0): add a soc configuration to the existing
> implementer configuration, and a cross file.
> 
> Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
> --
> V7:
> - use a more specific subject
> - add a cross file
> V6:
> - rebase after merge of "doc: fix Arm SoCs list"
> V5:
> - rebase after
> http://patches.dpdk.org/project/dpdk/patch/20210429070751.6065-1-
> david.marchand@redhat.com/
> V4:
> - use a more specific SoC name
> V3:
> - include doc patch
> - remove Fixes line
> V2:
> - use the right original commit in Fixes
> ---
>  config/arm/arm64_centriq2400_linux_gcc | 16 ++++++++++++++++
>  config/arm/meson.build                 |  9 +++++++++
>  2 files changed, 25 insertions(+)
>  create mode 100644 config/arm/arm64_centriq2400_linux_gcc
> 

Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
Thomas Monjalon May 19, 2021, 10:09 a.m. UTC | #2
> > From the documentation:
> > "The SoC configuration is a combination of implementer and CPU part
> > number  configuration and SoC-specific configuration."
> > 
> > Align Qualcomm SoC configuration with the configuration of other server
> > SoCs (eMAG, Kunpeng 9x0): add a soc configuration to the existing
> > implementer configuration, and a cross file.
> > 
> > Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
> 
> Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>

Applied, thanks
diff mbox series

Patch

diff --git a/config/arm/arm64_centriq2400_linux_gcc b/config/arm/arm64_centriq2400_linux_gcc
new file mode 100644
index 000000000000..dfe911033196
--- /dev/null
+++ b/config/arm/arm64_centriq2400_linux_gcc
@@ -0,0 +1,16 @@ 
+[binaries]
+c = 'aarch64-linux-gnu-gcc'
+cpp = 'aarch64-linux-gnu-cpp'
+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 = 'centriq2400'
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 65f7ac672def..c68ea24f312f 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -223,6 +223,13 @@  soc_bluefield = {
     'numa': false
 }
 
+soc_centriq2400 = {
+    'description': 'Qualcomm Centriq 2400',
+    'implementer': '0x51',
+    'part_number': '0xc00',
+    'numa': false
+}
+
 soc_cn10k = {
     'description' : 'Marvell OCTEON 10',
     'implementer' : '0x41',
@@ -326,6 +333,7 @@  Start of socs list
 generic:     Generic un-optimized build for all aarch64 machines.
 armada:      Marvell ARMADA
 bluefield:   NVIDIA BlueField
+centriq2400: Qualcomm Centriq 2400
 cn10k:       Marvell OCTEON 10
 dpaa:        NXP DPAA
 emag:        Ampere eMAG
@@ -346,6 +354,7 @@  socs = {
     'generic': soc_generic,
     'armada': soc_armada,
     'bluefield': soc_bluefield,
+    'centriq2400': soc_centriq2400,
     'cn10k' : soc_cn10k,
     'dpaa': soc_dpaa,
     'emag': soc_emag,