Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
6 years ago
by
Dimitris Papastamos
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1889 from jts-arm/var4
Apply variant 4 mitigation for Neoverse N1
parents
d409c3eb
8074448f
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/arch/aarch64/arch.h
+5
-0
include/arch/aarch64/arch.h
lib/cpus/aarch64/neoverse_n1.S
+4
-0
lib/cpus/aarch64/neoverse_n1.S
with
9 additions
and
0 deletions
+9
-0
include/arch/aarch64/arch.h
View file @
136b9fa7
...
...
@@ -843,4 +843,9 @@
#define DIT S3_3_C4_C2_5
#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 */
This diff is collapsed.
Click to expand it.
lib/cpus/aarch64/neoverse_n1.S
View file @
136b9fa7
...
...
@@ -46,6 +46,10 @@ endfunc check_errata_1043202
func
neoverse_n1_reset_func
mov
x19
,
x30
/
*
Disables
speculative
loads
*/
msr
SSBS
,
xzr
bl
cpu_get_rev_var
mov
x18
,
x0
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help