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 <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
This commit is contained in:
committed by
Giacomo Travaglini
parent
c694d8589f
commit
b860e2039b
@@ -64,6 +64,7 @@ _start:
|
|||||||
msr scr_el3, x0
|
msr scr_el3, x0
|
||||||
|
|
||||||
mov x0, #(1 << 8) // Disable SVE trap to EL3
|
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
|
msr cptr_el3, x0 // Disable copro. traps to EL3
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user