config/arm: add qualcomm config

Message ID 20210205223310.9868-1-honnappa.nagarahalli@arm.com
State New
Headers show
Series
  • config/arm: add qualcomm config
Related show

Commit Message

Honnappa Nagarahalli Feb. 5, 2021, 10:33 p.m.
Add Qualcomm config back which was deleted.

Fixes: 91c730fd4e09 ("config/arm: remove unused or superfluous variables")
Cc: juraj.linkes@pantheon.tech

Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>

Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>

---
 config/arm/meson.build | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

-- 
2.17.1

Comments

Thomas Monjalon Feb. 10, 2021, 10 a.m. | #1
05/02/2021 23:33, Honnappa Nagarahalli:
> Add Qualcomm config back which was deleted.

> 

> Fixes: 91c730fd4e09 ("config/arm: remove unused or superfluous variables")

> Cc: juraj.linkes@pantheon.tech

> 

> Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>

> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>


Applied, thanks.

There were too many misses in the Arm config rework.

Patch

diff --git a/config/arm/meson.build b/config/arm/meson.build
index f94876857..00bc4610a 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -147,6 +147,20 @@  implementer_ampere = {
 	}
 }
 
+implementer_qualcomm = {
+	'description': 'Qualcomm',
+	'flags': [
+		['RTE_MACHINE', '"armv8a"'],
+		['RTE_USE_C11_MEM_MODEL', true],
+		['RTE_CACHE_LINE_SIZE', 64],
+		['RTE_MAX_LCORE', 64],
+		['RTE_MAX_NUMA_NODES', 1]
+	],
+	'part_number_config': {
+		'0xc00': {'machine_args':  ['-march=armv8-a+crc']}
+	}
+}
+
 implementer_marvell = {
 	'description': 'Marvell ARMADA',
 	'flags': [
@@ -177,6 +191,7 @@  implementers = {
 	'0x41': implementer_arm,
 	'0x43': implementer_cavium,
 	'0x50': implementer_ampere,
+	'0x51': implementer_qualcomm,
 	'0x56': implementer_marvell,
 	'dpaa': implementer_dpaa
 }