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
45c28e95
Commit
45c28e95
authored
5 years ago
by
John Tsichritzis
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "DSU: Apply erratum 936184 for Neoverse N1/E1" into integration
parents
6acb509c
bb2f077a
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
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
lib/cpus/aarch64/neoverse_e1.S
+28
-1
lib/cpus/aarch64/neoverse_e1.S
lib/cpus/aarch64/neoverse_n1.S
+6
-0
lib/cpus/aarch64/neoverse_n1.S
with
34 additions
and
1 deletion
+34
-1
lib/cpus/aarch64/neoverse_e1.S
View file @
45c28e95
...
...
@@ -21,6 +21,21 @@
#error "Neoverse-E1 supports only AArch64. Compile with CTX_INCLUDE_AARCH32_REGS=0"
#endif
/
*
-------------------------------------------------
*
The
CPU
Ops
reset
function
for
Neoverse
-
E1
.
*
Shall
clobber
:
x0
-
x19
*
-------------------------------------------------
*/
func
neoverse_e1_reset_func
mov
x19
,
x30
#if ERRATA_DSU_936184
bl
errata_dsu_936184_wa
#endif
ret
x19
endfunc
neoverse_e1_reset_func
func
neoverse_e1_cpu_pwr_dwn
mrs
x0
,
NEOVERSE_E1_CPUPWRCTLR_EL1
orr
x0
,
x0
,
#
NEOVERSE_E1_CPUPWRCTLR_EL1_CORE_PWRDN_BIT
...
...
@@ -34,6 +49,18 @@ endfunc neoverse_e1_cpu_pwr_dwn
*
Errata
printing
function
for
Neoverse
N1
.
Must
follow
AAPCS
.
*/
func
neoverse_e1_errata_report
stp
x8
,
x30
,
[
sp
,
#-
16
]!
bl
cpu_get_rev_var
mov
x8
,
x0
/
*
*
Report
all
errata
.
The
revision
-
variant
information
is
passed
to
*
checking
functions
of
each
errata
.
*/
report_errata
ERRATA_DSU_936184
,
neoverse_e1
,
dsu_936184
ldp
x8
,
x30
,
[
sp
],
#
16
ret
endfunc
neoverse_e1_errata_report
#endif
...
...
@@ -50,5 +77,5 @@ func neoverse_e1_cpu_reg_dump
endfunc
neoverse_e1_cpu_reg_dump
declare_cpu_ops
neoverse_e1
,
NEOVERSE_E1_MIDR
,
\
CPU_NO_RESET_FUNC
,
\
neoverse_e1_reset_func
,
\
neoverse_e1_cpu_pwr_dwn
This diff is collapsed.
Click to expand it.
lib/cpus/aarch64/neoverse_n1.S
View file @
45c28e95
...
...
@@ -146,6 +146,11 @@ func neoverse_n1_reset_func
msr
CPUAMCNTENSET_EL0
,
x0
isb
#endif
#if ERRATA_DSU_936184
bl
errata_dsu_936184_wa
#endif
ret
x19
endfunc
neoverse_n1_reset_func
...
...
@@ -181,6 +186,7 @@ func neoverse_n1_errata_report
*/
report_errata
ERRATA_N1_1043202
,
neoverse_n1
,
1043202
report_errata
ERRATA_N1_1315703
,
neoverse_n1
,
1315703
report_errata
ERRATA_DSU_936184
,
neoverse_n1
,
dsu_936184
ldp
x8
,
x30
,
[
sp
],
#
16
ret
...
...
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