Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
8fd41bb9
Commit
8fd41bb9
authored
Mar 12, 2020
by
Mark Dykes
Committed by
TrustedFirmware Code Review
Mar 12, 2020
Browse files
Merge "Use Speculation Barrier instruction for v8.5 cores" into integration
parents
765cac8d
ccfb5c81
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/arch/aarch32/asm_macros.S
View file @
8fd41bb9
...
@@ -108,11 +108,16 @@
...
@@ -108,11 +108,16 @@
#else
#else
/
*
/
*
*
Macro
for
mitigating
against
speculative
execution
beyond
ERET
.
*
Macro
for
mitigating
against
speculative
execution
beyond
ERET
.
*
If
possible
use
Speculation
Barrier
instruction
defined
in
ARMv8
.5
*/
*/
.
macro
exception_return
.
macro
exception_return
eret
eret
#if ARM_ARCH_AT_LEAST(8, 5)
sb
#else
dsb
nsh
dsb
nsh
isb
isb
#endif
.
endm
.
endm
#endif
#endif
...
...
include/arch/aarch64/asm_macros.S
View file @
8fd41bb9
...
@@ -220,11 +220,16 @@
...
@@ -220,11 +220,16 @@
/
*
/
*
*
Macro
for
mitigating
against
speculative
execution
beyond
ERET
.
*
Macro
for
mitigating
against
speculative
execution
beyond
ERET
.
*
If
possible
use
Speculation
Barrier
instruction
defined
in
ARMv8
.5
*/
*/
.
macro
exception_return
.
macro
exception_return
eret
eret
dsb
nsh
#if ARM_ARCH_AT_LEAST(8, 5)
sb
#else
dsb
nsh
isb
isb
#endif
.
endm
.
endm
#endif /* ASM_MACROS_S */
#endif /* ASM_MACROS_S */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment