From 173dca73b9cf89b9030c76e23366c28403d903e3 Mon Sep 17 00:00:00 2001 From: Diego Sueiro Date: Thu, 3 Sep 2020 12:40:28 +0100 Subject: [PATCH] arm-autonomy/gem5-aarch64-native: Set CPU and disable pointer authentication When booting gem5-arm64 with Xen and Linux we need to set the cpu as Cortex A53 and remove support for pointer authentification. Change-Id: Ib8ea61784f668bf88c1492e5e56737a0aa40d762 Issue-Id: SCM-899 Signed-off-by: Diego Sueiro Signed-off-by: Jon Mason --- .../recipes-devtools/gem5/gem5-aarch64-native_20.bbappend | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 meta-arm-autonomy/dynamic-layers/meta-gem5/recipes-devtools/gem5/gem5-aarch64-native_20.bbappend diff --git a/meta-arm-autonomy/dynamic-layers/meta-gem5/recipes-devtools/gem5/gem5-aarch64-native_20.bbappend b/meta-arm-autonomy/dynamic-layers/meta-gem5/recipes-devtools/gem5/gem5-aarch64-native_20.bbappend new file mode 100644 index 00000000..71b308a2 --- /dev/null +++ b/meta-arm-autonomy/dynamic-layers/meta-gem5/recipes-devtools/gem5/gem5-aarch64-native_20.bbappend @@ -0,0 +1,7 @@ +# When booting gem5-arm64 with Xen we need to set the cpu as Cortex A53 and +# remove support for pointer authentification +GEM5_RUN_EXTRA_append = " \ +${@bb.utils.contains('DISTRO_FEATURES_NATIVE', 'arm-autonomy-host', \ +'--param=system.cpu_cluster[0].cpus[0].isa[0].midr=0x410fd030 \ +--param=system.cpu_cluster[0].cpus[0].isa[0].id_aa64isar1_el1=0x0', \ +'', d)}"