Skip to contentSkip to conversation

config/arm: add Marvell Odyssey

PATCH Superseded Anoob Joseph 4 participants 9 messages Mar 5, 2024 – Mar 6, 2024 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config/arm: add Marvell Odyssey

Add meson build configuration for Marvell Odyssey platform with 64-bit ARM Neoverse V2 cores.

---

Depends-on: series-31141 ("config/arm: add Neoverse V2 part number")

 config/arm/arm64_odyssey_linux_gcc-marvell | 17 +++++++++++++++++
 config/arm/meson.build                     | 15 +++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 config/arm/arm64_odyssey_linux_gcc-marvell
config/arm/arm64_odyssey_linux_gcc-marvell new file +17 -0
new file mode 100644
index 0000000000..69b5cd42d8
@@ -0,0 +1,17 @@
+[binaries]
+c = ['ccache', 'aarch64-marvell-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-marvell-linux-gnu-g++']
+ar = 'aarch64-marvell-linux-gnu-gcc-ar'
+strip = 'aarch64-marvell-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv9-a'
+endian = 'little'
+
+[properties]
+platform = 'odyssey'
+
+[built-in options]
config/arm/meson.build +15 -0
index 3886d0e2dc..94159efaa4 100644
@@ -500,6 +500,20 @@ soc_n2 = {
     'numa': false
 }
 
+soc_odyssey = {
+    'description' : 'Marvell Odyssey',
+    'implementer' : '0x41',
+    'flags': [
+        ['RTE_MAX_LCORE', 80],
+        ['RTE_MAX_NUMA_NODES', 1],
+        ['RTE_MEMPOOL_ALIGN', 128],
+    ],
+    'part_number': '0xd4f',
+    'extra_march_features': ['crypto'],
+    'numa': false,
+    'sve_acle': false
+}
+
 soc_cn9k = {
     'description': 'Marvell OCTEON 9',
     'implementer': '0x43',
@@ -617,6 +631,7 @@ socs = {
     'kunpeng930': soc_kunpeng930,
     'n1sdp': soc_n1sdp,
     'n2': soc_n2,
+    'odyssey' : soc_odyssey,
     'stingray': soc_stingray,
     'thunderx2': soc_thunderx2,
     'thunderxt88': soc_thunderxt88,
Signature · 1 line
2.25.1
#1 lore raw

PATCH v2 1/1 config/arm: add Marvell Odyssey

Add meson build configuration for Marvell Odyssey platform with 64-bit ARM Neoverse V2 cores.

---

Depends-on: series-31141 ("config/arm: add Neoverse V2 part number")

Changes in v2:
- Renamed config file

 config/arm/arm64_odyssey_linux_gcc | 17 +++++++++++++++++
 config/arm/meson.build             | 15 +++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 config/arm/arm64_odyssey_linux_gcc
config/arm/arm64_odyssey_linux_gcc new file +17 -0
new file mode 100644
index 0000000000..69b5cd42d8
@@ -0,0 +1,17 @@
+[binaries]
+c = ['ccache', 'aarch64-marvell-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-marvell-linux-gnu-g++']
+ar = 'aarch64-marvell-linux-gnu-gcc-ar'
+strip = 'aarch64-marvell-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv9-a'
+endian = 'little'
+
+[properties]
+platform = 'odyssey'
+
+[built-in options]
config/arm/meson.build +15 -0
index 3886d0e2dc..94159efaa4 100644
@@ -500,6 +500,20 @@ soc_n2 = {
     'numa': false
 }
 
+soc_odyssey = {
+    'description' : 'Marvell Odyssey',
+    'implementer' : '0x41',
+    'flags': [
+        ['RTE_MAX_LCORE', 80],
+        ['RTE_MAX_NUMA_NODES', 1],
+        ['RTE_MEMPOOL_ALIGN', 128],
+    ],
+    'part_number': '0xd4f',
+    'extra_march_features': ['crypto'],
+    'numa': false,
+    'sve_acle': false
+}
+
 soc_cn9k = {
     'description': 'Marvell OCTEON 9',
     'implementer': '0x43',
@@ -617,6 +631,7 @@ socs = {
     'kunpeng930': soc_kunpeng930,
     'n1sdp': soc_n1sdp,
     'n2': soc_n2,
+    'odyssey' : soc_odyssey,
     'stingray': soc_stingray,
     'thunderx2': soc_thunderx2,
     'thunderxt88': soc_thunderxt88,
Signature · 1 line
2.25.1
Reviewed-by on v2 1/1
#2 lore raw
Quoted 65 lines · Anoob Joseph

Add meson build configuration for Marvell Odyssey platform with 64-bit ARM Neoverse V2 cores.

---

Depends-on: series-31141 ("config/arm: add Neoverse V2 part number")

Changes in v2:
- Renamed config file

  config/arm/arm64_odyssey_linux_gcc | 17 +++++++++++++++++
  config/arm/meson.build             | 15 +++++++++++++++
  2 files changed, 32 insertions(+)

create mode 100644 config/arm/arm64_odyssey_linux_gcc

config/arm/arm64_odyssey_linux_gcc new file +17 -0
new file mode 100644
index 0000000000..69b5cd42d8
@@ -0,0 +1,17 @@
+[binaries]
+c = ['ccache', 'aarch64-marvell-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-marvell-linux-gnu-g++']
+ar = 'aarch64-marvell-linux-gnu-gcc-ar'
+strip = 'aarch64-marvell-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv9-a'
+endian = 'little'
+
+[properties]
+platform = 'odyssey'
+
+[built-in options]
config/arm/meson.build +14 -0
index 3886d0e2dc..94159efaa4 100644
@@ -500,6 +500,20 @@ soc_n2 = {
      'numa': false
  }
 
+soc_odyssey = {
+    'description' : 'Marvell Odyssey',
+    'implementer' : '0x41',
+    'flags': [
+        ['RTE_MAX_LCORE', 80],
+        ['RTE_MAX_NUMA_NODES', 1],
+        ['RTE_MEMPOOL_ALIGN', 128],
+    ],
+    'part_number': '0xd4f',
+    'extra_march_features': ['crypto'],
+    'numa': false,
+    'sve_acle': false
+}
+
  soc_cn9k = {
      'description': 'Marvell OCTEON 9',
      'implementer': '0x43',

config/arm/meson.build socs = { · line 634

Quoted 4 lines
config/arm/meson.build +1 -0
@@ -617,6 +631,7 @@ socs = {
      'kunpeng930': soc_kunpeng930,
      'n1sdp': soc_n1sdp,
      'n2': soc_n2,
+    'odyssey' : soc_odyssey,

The SoC string list above also needs update. It is for documentation. With the change:

Quoted 3 lines
config/arm/meson.build +0 -0
      'stingray': soc_stingray,
      'thunderx2': soc_thunderx2,
      'thunderxt88': soc_thunderxt88,
#3 lore raw
In reply to Anoob Joseph
Quoted 33 lines · Anoob Joseph

Add meson build configuration for Marvell Odyssey platform with 64-bit ARM Neoverse V2 cores.

---

Depends-on: series-31141 ("config/arm: add Neoverse V2 part number")

Changes in v2:
- Renamed config file

config/arm/arm64_odyssey_linux_gcc | 17 +++++++++++++++++
config/arm/meson.build | 15 +++++++++++++++

2 files changed, 32 insertions(+)

create mode 100644 config/arm/arm64_odyssey_linux_gcc

config/arm/arm64_odyssey_linux_gcc new file +7 -0
new file mode 100644
index 0000000000..69b5cd42d8
@@ -0,0 +1,17 @@
+[binaries]
+c = ['ccache', 'aarch64-marvell-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-marvell-linux-gnu-g++']
+ar = 'aarch64-marvell-linux-gnu-gcc-ar'
+strip = 'aarch64-marvell-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+

config/arm/arm64_odyssey_linux_gcc line 17

Quoted 10 lines
config/arm/arm64_odyssey_linux_gcc new file +10 -0
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv9-a'
+endian = 'little'
+
+[properties]
+platform = 'odyssey'
+
+[built-in options]

Just thinking out loud, given that this is a 80 core V2 machine, do we need cross compilation support? I have the same question for Grace machine as well. I am thinking we should have cross compilation support only for embedded platforms.

Quoted 12 lines
config/arm/meson.build +4 -0
index 3886d0e2dc..94159efaa4 100644
@@ -500,6 +500,20 @@ soc_n2 = {
    'numa': false
 }
 
+soc_odyssey = {
+    'description' : 'Marvell Odyssey',
+    'implementer' : '0x41',
+    'flags': [

config/arm/meson.build soc_n2 = { · line 516

Quoted 10 lines
config/arm/meson.build +10 -0
+        ['RTE_MAX_LCORE', 80],
+        ['RTE_MAX_NUMA_NODES', 1],
+        ['RTE_MEMPOOL_ALIGN', 128],
+    ],
+    'part_number': '0xd4f',
+    'extra_march_features': ['crypto'],
+    'numa': false,
+    'sve_acle': false
+}
+

Can you move it such that it is sorted alphabetically?

Quoted 14 lines
config/arm/meson.build +1 -0
 soc_cn9k = {
    'description': 'Marvell OCTEON 9',
    'implementer': '0x43',
@@ -617,6 +631,7 @@ socs = {
    'kunpeng930': soc_kunpeng930,
    'n1sdp': soc_n1sdp,
    'n2': soc_n2,
+    'odyssey' : soc_odyssey,
    'stingray': soc_stingray,
    'thunderx2': soc_thunderx2,
    'thunderxt88': soc_thunderxt88,
Signature · 1 line
2.25.1
#4 lore raw

Hi Honnappa,

Thanks for the review. Please see inline.

Thanks,
Anoob

Quoted 55 lines

-----Original Message-----
From: Honnappa Nagarahalli <[email protected]>
Sent: Wednesday, March 6, 2024 8:50 AM
To: Anoob Joseph <[email protected]>
Cc: Juraj Linkeš <[email protected]>; [email protected]; David Marchand <[email protected]>; Jerin Jacob <[email protected]>; nd <[email protected]>; Pavan Nikhilesh Bhagavatula <[email protected]>; Ruifeng Wang <[email protected]>; Wathsala Wathawana Vithanage <[email protected]>; [email protected]
Subject: [EXTERNAL] Re: [PATCH v2] config/arm: add Marvell Odyssey

Prioritize security for external emails: Confirm sender and content safety before clicking links or opening attachments

----------------------------------------------------------------------

Quoted 38 lines · Anoob Joseph

Add meson build configuration for Marvell Odyssey platform with 64-bit ARM Neoverse V2 cores.

---

Depends-on: series-31141 ("config/arm: add Neoverse V2 part number")

Changes in v2:
- Renamed config file

config/arm/arm64_odyssey_linux_gcc | 17 +++++++++++++++++
config/arm/meson.build | 15 +++++++++++++++

2 files changed, 32 insertions(+)

create mode 100644 config/arm/arm64_odyssey_linux_gcc

config/arm/arm64_odyssey_linux_gcc new file +13 -0
new file mode 100644
index 0000000000..69b5cd42d8
@@ -0,0 +1,17 @@
+[binaries]
+c = ['ccache', 'aarch64-marvell-linux-gnu-gcc'] cpp = ['ccache',
+'aarch64-marvell-linux-gnu-g++'] ar =
+'aarch64-marvell-linux-gnu-gcc-ar'
+strip = 'aarch64-marvell-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv9-a'
+endian = 'little'
+
Quoted 8 lines

config/arm/arm64_odyssey_linux_gcc line 17

Quoted 4 lines
config/arm/arm64_odyssey_linux_gcc new file +4 -0
+[properties]
+platform = 'odyssey'
+
+[built-in options]

Just thinking out loud, given that this is a 80 core V2 machine, do we need cross compilation support? I have the same question for Grace machine as well. I am thinking we should have cross compilation support only for embedded platforms.

[Anoob] DPDK binaries may not be built natively in all cases. When there are standard release packages with pre-built binaries, it would help in having cross compilation.

Quoted 10 lines
Quoted 10 lines
config/arm/meson.build index renamed from config/arm/meson.build +0 -0

3886d0e2dc..94159efaa4 100644

config/arm/meson.build +0 -0
@@ -500,6 +500,20 @@ soc_n2 = {
    'numa': false
 }
 
Quoted 15 lines
Quoted 4 lines
config/arm/meson.build +4 -0
+soc_odyssey = {
+    'description' : 'Marvell Odyssey',
+    'implementer' : '0x41',
+    'flags': [

config/arm/meson.build soc_n2 = { · line 516

Quoted 10 lines
config/arm/meson.build +10 -0
+        ['RTE_MAX_LCORE', 80],
+        ['RTE_MAX_NUMA_NODES', 1],
+        ['RTE_MEMPOOL_ALIGN', 128],
+    ],
+    'part_number': '0xd4f',
+    'extra_march_features': ['crypto'],
+    'numa': false,
+    'sve_acle': false
+}
+

Can you move it such that it is sorted alphabetically?

[Anoob] soc_cn9k portion is not following alphabetical order. I think it is so because of the renaming from soc_octeontx2 to soc_cn9k. I can push a separate patch to have this addressed. New addition in this patch is following alphabetical order. soc_odyssey is added between n2 & stingray.

Quoted 15 lines
Quoted 15 lines
config/arm/meson.build +1 -1
 soc_cn9k = {
    'description': 'Marvell OCTEON 9',
    'implementer': '0x43',
@@ -617,6 +631,7 @@ socs = {
    'kunpeng930': soc_kunpeng930,
    'n1sdp': soc_n1sdp,
    'n2': soc_n2,
+    'odyssey' : soc_odyssey,
    'stingray': soc_stingray,
    'thunderx2': soc_thunderx2,
    'thunderxt88': soc_thunderxt88,
--

2.25.1

#5 lore raw
Quoted 75 lines · Anoob Joseph

Hi Honnappa,

Thanks for the review. Please see inline.

Thanks,
Anoob

Quoted 55 lines

-----Original Message-----
From: Honnappa Nagarahalli <[email protected]>
Sent: Wednesday, March 6, 2024 8:50 AM
To: Anoob Joseph <[email protected]>
Cc: Juraj Linkeš <[email protected]>; [email protected]; David Marchand <[email protected]>; Jerin Jacob <[email protected]>; nd <[email protected]>; Pavan Nikhilesh Bhagavatula <[email protected]>; Ruifeng Wang <[email protected]>; Wathsala Wathawana Vithanage <[email protected]>; [email protected]
Subject: [EXTERNAL] Re: [PATCH v2] config/arm: add Marvell Odyssey

Prioritize security for external emails: Confirm sender and content safety before clicking links or opening attachments

----------------------------------------------------------------------

Quoted 38 lines · Anoob Joseph

Add meson build configuration for Marvell Odyssey platform with 64-bit ARM Neoverse V2 cores.

---

Depends-on: series-31141 ("config/arm: add Neoverse V2 part number")

Changes in v2:
- Renamed config file

config/arm/arm64_odyssey_linux_gcc | 17 +++++++++++++++++
config/arm/meson.build | 15 +++++++++++++++

2 files changed, 32 insertions(+)

create mode 100644 config/arm/arm64_odyssey_linux_gcc

config/arm/arm64_odyssey_linux_gcc new file +13 -0
new file mode 100644
index 0000000000..69b5cd42d8
@@ -0,0 +1,17 @@
+[binaries]
+c = ['ccache', 'aarch64-marvell-linux-gnu-gcc'] cpp = ['ccache',
+'aarch64-marvell-linux-gnu-g++'] ar =
+'aarch64-marvell-linux-gnu-gcc-ar'
+strip = 'aarch64-marvell-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv9-a'
+endian = 'little'
+
Quoted 8 lines

config/arm/arm64_odyssey_linux_gcc line 17

Quoted 4 lines
config/arm/arm64_odyssey_linux_gcc new file +4 -0
+[properties]
+platform = 'odyssey'
+
+[built-in options]

Just thinking out loud, given that this is a 80 core V2 machine, do we need cross compilation support? I have the same question for Grace machine as well. I am thinking we should have cross compilation support only for embedded platforms.

Quoted 1 line

[Anoob] DPDK binaries may not be built natively in all cases. When there are standard release packages with pre-built binaries, it would help in having cross compilation.

Ack

Quoted 27 lines
Quoted 11 lines
Quoted 11 lines
config/arm/meson.build index renamed from config/arm/meson.build +0 -0

3886d0e2dc..94159efaa4 100644

config/arm/meson.build +0 -0
@@ -500,6 +500,20 @@ soc_n2 = {
   'numa': false
 }
 
Quoted 15 lines
Quoted 4 lines
config/arm/meson.build +4 -0
+soc_odyssey = {
+    'description' : 'Marvell Odyssey',
+    'implementer' : '0x41',
+    'flags': [

config/arm/meson.build soc_n2 = { · line 516

Quoted 10 lines
config/arm/meson.build +10 -0
+        ['RTE_MAX_LCORE', 80],
+        ['RTE_MAX_NUMA_NODES', 1],
+        ['RTE_MEMPOOL_ALIGN', 128],
+    ],
+    'part_number': '0xd4f',
+    'extra_march_features': ['crypto'],
+    'numa': false,
+    'sve_acle': false
+}
+

Can you move it such that it is sorted alphabetically?

Quoted 1 line

[Anoob] soc_cn9k portion is not following alphabetical order. I think it is so because of the renaming from soc_octeontx2 to soc_cn9k. I can push a separate patch to have this addressed. New addition in this patch is following alphabetical order. soc_odyssey is added between n2 & stingray.

Yes, please push a separate patch for cn9k.

Quoted 17 lines
Quoted 16 lines
Quoted 16 lines
config/arm/meson.build +1 -1
 soc_cn9k = {
   'description': 'Marvell OCTEON 9',
   'implementer': '0x43',
@@ -617,6 +631,7 @@ socs = {
   'kunpeng930': soc_kunpeng930,
   'n1sdp': soc_n1sdp,
   'n2': soc_n2,
+    'odyssey' : soc_odyssey,
   'stingray': soc_stingray,
   'thunderx2': soc_thunderx2,
   'thunderxt88': soc_thunderxt88,
--

2.25.1

Reviewed-by on v2 1/1
#6 lore raw
In reply to Anoob Joseph
Quoted 8 lines · Anoob Joseph

Add meson build configuration for Marvell Odyssey platform with 64-bit ARM Neoverse V2 cores.

Quoted 71 lines

---

Depends-on: series-31141 ("config/arm: add Neoverse V2 part number")

Changes in v2:
- Renamed config file

config/arm/arm64_odyssey_linux_gcc | 17 +++++++++++++++++
config/arm/meson.build | 15 +++++++++++++++

2 files changed, 32 insertions(+)

create mode 100644 config/arm/arm64_odyssey_linux_gcc

config/arm/arm64_odyssey_linux_gcc new file +17 -0
new file mode 100644
index 0000000000..69b5cd42d8
@@ -0,0 +1,17 @@
+[binaries]
+c = ['ccache', 'aarch64-marvell-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-marvell-linux-gnu-g++']
+ar = 'aarch64-marvell-linux-gnu-gcc-ar'
+strip = 'aarch64-marvell-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv9-a'
+endian = 'little'
+
+[properties]
+platform = 'odyssey'
+
+[built-in options]
config/arm/meson.build +15 -0
index 3886d0e2dc..94159efaa4 100644
@@ -500,6 +500,20 @@ soc_n2 = {
    'numa': false
 }
 
+soc_odyssey = {
+    'description' : 'Marvell Odyssey',
+    'implementer' : '0x41',
+    'flags': [
+        ['RTE_MAX_LCORE', 80],
+        ['RTE_MAX_NUMA_NODES', 1],
+        ['RTE_MEMPOOL_ALIGN', 128],
+    ],
+    'part_number': '0xd4f',
+    'extra_march_features': ['crypto'],
+    'numa': false,
+    'sve_acle': false
+}
+
 soc_cn9k = {
    'description': 'Marvell OCTEON 9',
    'implementer': '0x43',
@@ -617,6 +631,7 @@ socs = {
    'kunpeng930': soc_kunpeng930,
    'n1sdp': soc_n1sdp,
    'n2': soc_n2,
+    'odyssey' : soc_odyssey,
    'stingray': soc_stingray,
    'thunderx2': soc_thunderx2,
    'thunderxt88': soc_thunderxt88,
Signature · 1 line
2.25.1
#7 lore raw

PATCH v3 1/1 config/arm: add Marvell Odyssey

In reply to Anoob Joseph

Add meson build configuration for Marvell Odyssey platform with 64-bit ARM Neoverse V2 cores.

---

Depends-on: series-31141 ("config/arm: add Neoverse V2 part number")

Changes in v3:
- Added string for Odyssey
- Minor shuffling of fields to make it similar to other entries

Changes in v2:
- Renamed config file

 config/arm/arm64_odyssey_linux_gcc | 17 +++++++++++++++++
 config/arm/meson.build             | 15 +++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 config/arm/arm64_odyssey_linux_gcc
config/arm/arm64_odyssey_linux_gcc new file +17 -0
new file mode 100644
index 0000000000..69b5cd42d8
@@ -0,0 +1,17 @@
+[binaries]
+c = ['ccache', 'aarch64-marvell-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-marvell-linux-gnu-g++']
+ar = 'aarch64-marvell-linux-gnu-gcc-ar'
+strip = 'aarch64-marvell-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv9-a'
+endian = 'little'
+
+[properties]
+platform = 'odyssey'
+
+[built-in options]
config/arm/meson.build +15 -0
index 3886d0e2dc..f6c9a41a88 100644
@@ -500,6 +500,19 @@ soc_n2 = {
     'numa': false
 }
 
+soc_odyssey = {
+    'description': 'Marvell Odyssey',
+    'implementer': '0x41',
+    'part_number': '0xd4f',
+    'extra_march_features': ['crypto'],
+    'numa': false,
+    'flags': [
+        ['RTE_MAX_LCORE', 80],
+        ['RTE_MAX_NUMA_NODES', 1],
+        ['RTE_MEMPOOL_ALIGN', 128],
+    ],
+}
+
 soc_cn9k = {
     'description': 'Marvell OCTEON 9',
     'implementer': '0x43',
@@ -583,6 +596,7 @@ kunpeng920:      HiSilicon Kunpeng 920
 kunpeng930:      HiSilicon Kunpeng 930
 n1sdp:           Arm Neoverse N1SDP
 n2:              Arm Neoverse N2
+odyssey:         Marvell Odyssey
 stingray:        Broadcom Stingray
 thunderx2:       Marvell ThunderX2 T99
 thunderxt88:     Marvell ThunderX T88
@@ -617,6 +631,7 @@ socs = {
     'kunpeng930': soc_kunpeng930,
     'n1sdp': soc_n1sdp,
     'n2': soc_n2,
+    'odyssey' : soc_odyssey,
     'stingray': soc_stingray,
     'thunderx2': soc_thunderx2,
     'thunderxt88': soc_thunderxt88,
Signature · 1 line
2.25.1
#8 lore raw

06/03/2024 06:50, Anoob Joseph:

Quoted 10 lines
config/arm/arm64_odyssey_linux_gcc new file +7 -0
@@ -0,0 +1,17 @@
+[binaries]
+c = ['ccache', 'aarch64-marvell-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-marvell-linux-gnu-g++']
+ar = 'aarch64-marvell-linux-gnu-gcc-ar'
+strip = 'aarch64-marvell-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+

config/arm/arm64_odyssey_linux_gcc line 17

Quoted 10 lines
config/arm/arm64_odyssey_linux_gcc new file +10 -0
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv9-a'
+endian = 'little'
+
+[properties]
+platform = 'odyssey'
+
+[built-in options]

This section is empty and has never been used in the past, so I suppose I can remove it.

Quoted 4 lines
config/arm/meson.build +2 -0
+soc_odyssey = {
+    'description': 'Marvell Odyssey',

config/arm/meson.build soc_n2 = { · line 514

Quoted 10 lines
config/arm/meson.build +10 -0
+    'implementer': '0x41',
+    'part_number': '0xd4f',
+    'extra_march_features': ['crypto'],
+    'numa': false,
+    'flags': [
+        ['RTE_MAX_LCORE', 80],
+        ['RTE_MAX_NUMA_NODES', 1],
+        ['RTE_MEMPOOL_ALIGN', 128],
+    ],
+}

Applied, thanks.