Sascha Bischoff has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/64341?usp=email )
Change subject: system-arm: Enable SME in the bootloader
......................................................................
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
M system/arm/bootloader/arm64/boot.S
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/system/arm/bootloader/arm64/boot.S
b/system/arm/bootloader/arm64/boot.S
index 5041561..4f26953 100644
--- a/system/arm/bootloader/arm64/boot.S
+++ b/system/arm/bootloader/arm64/boot.S
@@ -64,6 +64,7 @@
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
/*
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/64341?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I7078a80e9a857c7cf91e3c1e52fe3812fa422394
Gerrit-Change-Number: 64341
Gerrit-PatchSet: 1
Gerrit-Owner: Sascha Bischoff sascha.bischoff@arm.com
Gerrit-MessageType: newchange
Sascha Bischoff has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/64341?usp=email )
Change subject: system-arm: Enable SME in the bootloader
......................................................................
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
---
M system/arm/bootloader/arm64/boot.S
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/system/arm/bootloader/arm64/boot.S
b/system/arm/bootloader/arm64/boot.S
index 5041561..4f26953 100644
--- a/system/arm/bootloader/arm64/boot.S
+++ b/system/arm/bootloader/arm64/boot.S
@@ -64,6 +64,7 @@
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
/*
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/64341?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I7078a80e9a857c7cf91e3c1e52fe3812fa422394
Gerrit-Change-Number: 64341
Gerrit-PatchSet: 1
Gerrit-Owner: Sascha Bischoff <sascha.bischoff@arm.com>
Gerrit-MessageType: newchange