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
136b9fa7
Unverified
Commit
136b9fa7
authored
Mar 15, 2019
by
Dimitris Papastamos
Committed by
GitHub
Mar 15, 2019
Browse files
Merge pull request #1889 from jts-arm/var4
Apply variant 4 mitigation for Neoverse N1
parents
d409c3eb
8074448f
Changes
2
Show whitespace changes
Inline
Side-by-side
include/arch/aarch64/arch.h
View file @
136b9fa7
...
@@ -843,4 +843,9 @@
...
@@ -843,4 +843,9 @@
#define DIT S3_3_C4_C2_5
#define DIT S3_3_C4_C2_5
#define DIT_BIT BIT(24)
#define DIT_BIT BIT(24)
/*******************************************************************************
* Armv8.5 - new MSR encoding to directly access PSTATE.SSBS field
******************************************************************************/
#define SSBS S3_3_C4_C2_6
#endif
/* ARCH_H */
#endif
/* ARCH_H */
lib/cpus/aarch64/neoverse_n1.S
View file @
136b9fa7
...
@@ -46,6 +46,10 @@ endfunc check_errata_1043202
...
@@ -46,6 +46,10 @@ endfunc check_errata_1043202
func
neoverse_n1_reset_func
func
neoverse_n1_reset_func
mov
x19
,
x30
mov
x19
,
x30
/
*
Disables
speculative
loads
*/
msr
SSBS
,
xzr
bl
cpu_get_rev_var
bl
cpu_get_rev_var
mov
x18
,
x0
mov
x18
,
x0
...
...
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