Skip to contentSkip to conversation

config: enable c11 memory model for ARMv8 meson

PATCH Applied Gavin Hu 4 participants 5 messages Dec 11, 2018 – Dec 19, 2018 Arm/Amlogic Meson SoC support

lore
Share & tools
lore

Gavin Hu

author
#0 lore raw

PATCH 1/1 config: enable c11 memory model for ARMv8 meson

This patch makes the configuration based on makefile and the configuration based on meson to be the same.

Fixes c6e536e38437 ("build: add more implementers IDs and PNs for ARM")
---
 config/arm/meson.build | 3 +++
 1 file changed, 3 insertions(+)
config/arm/meson.build +3 -0
index 3f91725..dae55d6 100644
@@ -47,6 +47,7 @@ flags_common_default = [
 flags_generic = [
 	['RTE_MACHINE', '"armv8a"'],
 	['RTE_MAX_LCORE', 256],
+	['RTE_USE_C11_MEM_MODEL', true],
 	['RTE_CACHE_LINE_SIZE', 128]]
 flags_cavium = [
 	['RTE_MACHINE', '"thunderx"'],
@@ -57,11 +58,13 @@ flags_cavium = [
 	['RTE_USE_C11_MEM_MODEL', false]]
 flags_dpaa = [
 	['RTE_MACHINE', '"dpaa"'],
+	['RTE_USE_C11_MEM_MODEL', true],
 	['RTE_CACHE_LINE_SIZE', 64],
 	['RTE_MAX_NUMA_NODES', 1],
 	['RTE_MAX_LCORE', 16]]
 flags_dpaa2 = [
 	['RTE_MACHINE', '"dpaa2"'],
+	['RTE_USE_C11_MEM_MODEL', true],
 	['RTE_CACHE_LINE_SIZE', 64],
 	['RTE_MAX_NUMA_NODES', 1],
 	['RTE_MAX_LCORE', 16],
Signature · 1 line
2.7.4
#1 lore raw

+ Bruce

Quoted 50 lines

-----Original Message-----
From: Gavin Hu <[email protected]>
Sent: Monday, December 10, 2018 9:56 PM
To: [email protected]
Cc: [email protected]; [email protected]; [email protected]; Honnappa Nagarahalli <[email protected]>; Gavin Hu (Arm Technology China) <[email protected]>; [email protected]
Subject: [PATCH v1] config: enable c11 memory model for ARMv8 meson

This patch makes the configuration based on makefile and the configuration based on meson to be the same.

Fixes c6e536e38437 ("build: add more implementers IDs and PNs for ARM")
---
 config/arm/meson.build | 3 +++
 1 file changed, 3 insertions(+)
config/arm/meson.build index renamed from config/arm/meson.build +0 -0

3f91725..dae55d6 100644

config/arm/meson.build +3 -1
@@ -47,6 +47,7 @@ flags_common_default = [  flags_generic = [
 	['RTE_MACHINE', '"armv8a"'],
 	['RTE_MAX_LCORE', 256],
+	['RTE_USE_C11_MEM_MODEL', true],
 	['RTE_CACHE_LINE_SIZE', 128]]
 flags_cavium = [
 	['RTE_MACHINE', '"thunderx"'],
@@ -57,11 +58,13 @@ flags_cavium = [
 	['RTE_USE_C11_MEM_MODEL', false]]
 flags_dpaa = [
 	['RTE_MACHINE', '"dpaa"'],
+	['RTE_USE_C11_MEM_MODEL', true],
 	['RTE_CACHE_LINE_SIZE', 64],
 	['RTE_MAX_NUMA_NODES', 1],
 	['RTE_MAX_LCORE', 16]]
 flags_dpaa2 = [
 	['RTE_MACHINE', '"dpaa2"'],
+	['RTE_USE_C11_MEM_MODEL', true],
 	['RTE_CACHE_LINE_SIZE', 64],
 	['RTE_MAX_NUMA_NODES', 1],
 	['RTE_MAX_LCORE', 16],
--

2.7.4

#2 lore raw
Quoted 22 lines · Honnappa Nagarahalli

+ Bruce

Quoted 20 lines

-----Original Message-----
From: Gavin Hu <[email protected]>
Sent: Monday, December 10, 2018 9:56 PM
To: [email protected]
Cc: [email protected]; [email protected]; [email protected]; Honnappa Nagarahalli <[email protected]>; Gavin Hu (Arm Technology China) <[email protected]>; [email protected]
Subject: [PATCH v1] config: enable c11 memory model for ARMv8 meson

This patch makes the configuration based on makefile and the configuration based on meson to be the same.

Fixes c6e536e38437 ("build: add more implementers IDs and PNs for ARM")

---

I see no issues with this, it's just setting flags for arm platforms.

#3 lore raw

12/12/2018 11:13, Bruce Richardson:

Quoted 11 lines · Honnappa Nagarahalli
Quoted 10 lines

+ Bruce

From: Gavin Hu <[email protected]>

Quoted 7 lines

This patch makes the configuration based on makefile and the configuration based on meson to be the same.

Fixes c6e536e38437 ("build: add more implementers IDs and PNs for ARM")
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

---

I see no issues with this, it's just setting flags for arm platforms.

Applied, thanks.

Note: according to the wording explained by Honnappa, I change ARMv8 to armv8 in the title.
Please apply the official spelling in your updates, thanks.

	https://mails.dpdk.org/archives/dev/2018-October/115174.html
#4 lore raw
Quoted 11 lines
Quoted 4 lines

I see no issues with this, it's just setting flags for arm platforms.

Applied, thanks.

Note: according to the wording explained by Honnappa, I change ARMv8 to armv8 in the title.
Please apply the official spelling in your updates, thanks.

	https://mails.dpdk.org/archives/dev/2018-October/115174.html

Thank you, we will try to catch more of these in internal reviews.

Quoted 1 line