[RFC,2/2] config/arm: add NVIDIA Grace CPU
Checks
Commit Message
Add meson build configuration for NVIDIA Grace platform
with 64-bit Arm Neoverse V2 cores.
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
---
config/arm/arm64_grace_linux_gcc | 16 ++++++++++++++++
config/arm/meson.build | 10 ++++++++++
2 files changed, 26 insertions(+)
create mode 100644 config/arm/arm64_grace_linux_gcc
Comments
On 2024/1/18 10:32 AM, Honnappa Nagarahalli wrote:
> Add meson build configuration for NVIDIA Grace platform
> with 64-bit Arm Neoverse V2 cores.
>
> Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
> ---
> config/arm/arm64_grace_linux_gcc | 16 ++++++++++++++++
> config/arm/meson.build | 10 ++++++++++
> 2 files changed, 26 insertions(+)
> create mode 100644 config/arm/arm64_grace_linux_gcc
>
> diff --git a/config/arm/arm64_grace_linux_gcc b/config/arm/arm64_grace_linux_gcc
> new file mode 100644
> index 0000000000..bde55b17a8
> --- /dev/null
> +++ b/config/arm/arm64_grace_linux_gcc
> @@ -0,0 +1,16 @@
> +[binaries]
> +c = ['ccache', 'aarch64-linux-gnu-gcc']
> +cpp = ['ccache', 'aarch64-linux-gnu-g++']
> +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 = 'armv9-a'
> +endian = 'little'
> +
> +[properties]
> +platform = 'grace'
> diff --git a/config/arm/meson.build b/config/arm/meson.build
> index 18b595ead1..345a9dbf6b 100644
> --- a/config/arm/meson.build
> +++ b/config/arm/meson.build
> @@ -424,6 +424,14 @@ soc_tys2500 = {
> 'numa': true
> }
>
> +soc_grace = {
> + 'description': 'NVIDIA Grace',
> + 'implementer': '0x41',
> + 'part_number': '0xd4f',
> + 'extra_march_features': ['crypto'],
> + 'numa': true
> +}
> +
> soc_graviton2 = {
> 'description': 'AWS Graviton2',
> 'implementer': '0x41',
> @@ -544,6 +552,7 @@ dpaa: NXP DPAA
> emag: Ampere eMAG
> ft2000plus: Phytium FT-2000+
> tys2500: Phytium TengYun S2500
> +grace: NVIDIA Grace
> graviton2: AWS Graviton2
> graviton3: AWS Graviton3
> hip10: HiSilicon HIP10
> @@ -575,6 +584,7 @@ socs = {
> 'emag': soc_emag,
> 'ft2000plus': soc_ft2000plus,
> 'tys2500': soc_tys2500,
> + 'grace': soc_grace,
> 'graviton2': soc_graviton2,
> 'graviton3': soc_graviton3,
> 'hip10': soc_hip10,
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
new file mode 100644
@@ -0,0 +1,16 @@
+[binaries]
+c = ['ccache', 'aarch64-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-linux-gnu-g++']
+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 = 'armv9-a'
+endian = 'little'
+
+[properties]
+platform = 'grace'
@@ -424,6 +424,14 @@ soc_tys2500 = {
'numa': true
}
+soc_grace = {
+ 'description': 'NVIDIA Grace',
+ 'implementer': '0x41',
+ 'part_number': '0xd4f',
+ 'extra_march_features': ['crypto'],
+ 'numa': true
+}
+
soc_graviton2 = {
'description': 'AWS Graviton2',
'implementer': '0x41',
@@ -544,6 +552,7 @@ dpaa: NXP DPAA
emag: Ampere eMAG
ft2000plus: Phytium FT-2000+
tys2500: Phytium TengYun S2500
+grace: NVIDIA Grace
graviton2: AWS Graviton2
graviton3: AWS Graviton3
hip10: HiSilicon HIP10
@@ -575,6 +584,7 @@ socs = {
'emag': soc_emag,
'ft2000plus': soc_ft2000plus,
'tys2500': soc_tys2500,
+ 'grace': soc_grace,
'graviton2': soc_graviton2,
'graviton3': soc_graviton3,
'hip10': soc_hip10,