From b860e2039baa3bd14386b8d294dca3cc763e106b Mon Sep 17 00:00:00 2001 From: Sascha Bischoff Date: Wed, 3 Aug 2022 17:21:48 +0100 Subject: [PATCH] system-arm: Enable SME in the bootloader In addition to SVE (which was already being enabled by the bootloader) we also enable SME to allow lower ELs to use it. Jira Issue: https://gem5.atlassian.net/browse/GEM5-1289 Change-Id: I7078a80e9a857c7cf91e3c1e52fe3812fa422394 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/64341 Maintainer: Jason Lowe-Power Tested-by: kokoro Reviewed-by: Jason Lowe-Power --- system/arm/bootloader/arm64/boot.S | 1 + 1 file changed, 1 insertion(+) diff --git a/system/arm/bootloader/arm64/boot.S b/system/arm/bootloader/arm64/boot.S index 50415615d2..4f26953318 100644 --- a/system/arm/bootloader/arm64/boot.S +++ b/system/arm/bootloader/arm64/boot.S @@ -64,6 +64,7 @@ _start: msr scr_el3, x0 mov x0, #(1 << 8) // Disable SVE trap to EL3 + orr x0, x0, #(1 << 12) // Disable SME trap to EL3 msr cptr_el3, x0 // Disable copro. traps to EL3 /*