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
217a3edd
Commit
217a3edd
authored
5 years ago
by
Antonio Niño Díaz
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "Neoverse N1: Forces cacheable atomic to near" into integration
parents
932d0296
632ab3eb
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
include/lib/cpus/aarch64/neoverse_n1.h
+13
-2
include/lib/cpus/aarch64/neoverse_n1.h
lib/cpus/aarch64/neoverse_n1.S
+6
-0
lib/cpus/aarch64/neoverse_n1.S
with
19 additions
and
2 deletions
+19
-2
include/lib/cpus/aarch64/neoverse_n1.h
View file @
217a3edd
...
...
@@ -13,10 +13,9 @@
#define NEOVERSE_N1_MIDR U(0x410fd0c0)
/*******************************************************************************
* CPU
Extended
Control register specific definitions.
* CPU
Power
Control register specific definitions.
******************************************************************************/
#define NEOVERSE_N1_CPUPWRCTLR_EL1 S3_0_C15_C2_7
#define NEOVERSE_N1_CPUECTLR_EL1 S3_0_C15_C1_4
/* Definitions of register field mask in NEOVERSE_N1_CPUPWRCTLR_EL1 */
#define NEOVERSE_N1_CORE_PWRDN_EN_MASK U(0x1)
...
...
@@ -26,6 +25,18 @@
#define NEOVERSE_N1_AMU_NR_COUNTERS U(5)
#define NEOVERSE_N1_AMU_GROUP0_MASK U(0x1f)
/*******************************************************************************
* CPU Extended Control register specific definitions.
******************************************************************************/
#define NEOVERSE_N1_CPUECTLR_EL1 S3_0_C15_C1_4
/*******************************************************************************
* CPU Auxiliary Control register specific definitions.
******************************************************************************/
#define NEOVERSE_N1_CPUACTLR2_EL1 S3_0_C15_C1_1
#define NEOVERSE_N1_CPUACTLR2_EL1_BIT_2 (ULL(1) << 2)
/* Instruction patching registers */
#define CPUPSELR_EL3 S3_6_C15_C8_0
#define CPUPCR_EL3 S3_6_C15_C8_1
...
...
This diff is collapsed.
Click to expand it.
lib/cpus/aarch64/neoverse_n1.S
View file @
217a3edd
...
...
@@ -50,6 +50,12 @@ func neoverse_n1_reset_func
/
*
Disables
speculative
loads
*/
msr
SSBS
,
xzr
/
*
Forces
all
cacheable
atomic
instructions
to
be
near
*/
mrs
x0
,
NEOVERSE_N1_CPUACTLR2_EL1
orr
x0
,
x0
,
#
NEOVERSE_N1_CPUACTLR2_EL1_BIT_2
msr
NEOVERSE_N1_CPUACTLR2_EL1
,
x0
isb
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