All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add support for NVIDIA ARM implementer ID
@ 2022-05-09 18:15 Cliff Burdick
  0 siblings, 0 replies; 2+ messages in thread
From: Cliff Burdick @ 2022-05-09 18:15 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]

build: added NVIDIA ARM implementer ID

NVIDIA ARM CPUs (Xavier, Grace) use implementer ID 0x4e.
This patch adds initial support for the Xavier chip rather than
compiling using the generic platform.

Signed-off-by: Cliff Burdick cburdick@nvidia.com<mailto:cburdick@nvidia.com>
---
config/arm/meson.build | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

diff --git a/config/arm/meson.build b/config/arm/meson.build
index 8aead74086..91ccbfce2c 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -197,6 +197,23 @@ implementer_hisilicon = {
     }
}

+implementer_nvidia = {
+    'description': 'NVIDIA',
+    'flags': [
+        ['RTE_MACHINE', '"armv8a"'],
+        ['RTE_USE_C11_MEM_MODEL', true],
+        ['RTE_MAX_LCORE', 256],
+        ['RTE_MAX_NUMA_NODES', 4]
+    ],
+    'part_number_config': {
+        '0x4': {
+            'march': 'armv8-a',
+            'march_features': ['crc'],
+            'compiler_options': ['-moutline-atomics']
+        }
+    }
+}
+
implementer_qualcomm = {
     'description': 'Qualcomm',
     'flags': [
@@ -224,6 +241,7 @@ implementers = {
     '0x41': implementer_arm,
     '0x43': implementer_cavium,
     '0x48': implementer_hisilicon,
+    '0x4e': implementer_nvidia,
     '0x50': implementer_ampere,
     '0x51': implementer_qualcomm
}
--
2.17.1


[-- Attachment #2: Type: text/html, Size: 5357 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] Add support for NVIDIA ARM implementer ID
@ 2022-04-29 16:50 Cliff Burdick
  0 siblings, 0 replies; 2+ messages in thread
From: Cliff Burdick @ 2022-04-29 16:50 UTC (permalink / raw)
  To: dev

build: added NVIDIA ARM implementer ID

NVIDIA ARM CPUs (Xavier, Grace) use implementer ID 0x4e. This patch adds initial
support for the Xavier chip rather than compiling using the generic platform.

Signed-off-by: Cliff Burdick <cburdick@nvidia.com>
---
 config/arm/meson.build | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/config/arm/meson.build b/config/arm/meson.build
index 8aead74086..91ccbfce2c 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -197,6 +197,23 @@ implementer_hisilicon = {
     }
 }

+implementer_nvidia = {
+    'description': 'NVIDIA',
+    'flags': [
+        ['RTE_MACHINE', '"armv8a"'],
+        ['RTE_USE_C11_MEM_MODEL', true],
+        ['RTE_MAX_LCORE', 256],
+        ['RTE_MAX_NUMA_NODES', 4]
+    ],
+    'part_number_config': {
+        '0x4': {
+            'march': 'armv8-a',
+            'march_features': ['crc'],
+            'compiler_options': ['-moutline-atomics']
+        }
+    }
+}
+
 implementer_qualcomm = {
     'description': 'Qualcomm',
     'flags': [
@@ -224,6 +241,7 @@ implementers = {
     '0x41': implementer_arm,
     '0x43': implementer_cavium,
     '0x48': implementer_hisilicon,
+    '0x4e': implementer_nvidia,
     '0x50': implementer_ampere,
     '0x51': implementer_qualcomm
 }
--
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-09 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-09 18:15 [PATCH] Add support for NVIDIA ARM implementer ID Cliff Burdick
  -- strict thread matches above, loose matches on Subject: below --
2022-04-29 16:50 Cliff Burdick

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.