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
01e7e0ca
Commit
01e7e0ca
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 "Add support for Cortex-A76AE CPU" into integration
parents
7a246d64
9ccc5a57
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
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
docs/user-guide.rst
+2
-0
docs/user-guide.rst
include/lib/cpus/aarch64/cortex_a76ae.h
+25
-0
include/lib/cpus/aarch64/cortex_a76ae.h
lib/cpus/aarch64/cortex_a76ae.S
+56
-0
lib/cpus/aarch64/cortex_a76ae.S
plat/arm/board/fvp/platform.mk
+1
-0
plat/arm/board/fvp/platform.mk
readme.rst
+2
-0
readme.rst
with
86 additions
and
0 deletions
+86
-0
docs/user-guide.rst
View file @
01e7e0ca
...
...
@@ -1669,6 +1669,8 @@ The FVP models used are Version 11.5 Build 33, unless otherwise stated.
-
``
FVP_Base_Cortex
-
A73x4
``
-
``
FVP_Base_Cortex
-
A75x4
``
-
``
FVP_Base_Cortex
-
A76x4
``
-
``
FVP_Base_Cortex
-
A76AEx4
``
(
Tested
with
internal
model
)
-
``
FVP_Base_Cortex
-
A76AEx8
``
(
Tested
with
internal
model
)
-
``
FVP_Base_Neoverse
-
N1x4
``
(
Tested
with
internal
model
)
-
``
FVP_Base_Deimos
``
-
``
FVP_CSS_SGI
-
575
``
(
Version
11.3
build
42
)
...
...
This diff is collapsed.
Click to expand it.
include/lib/cpus/aarch64/cortex_a76ae.h
0 → 100644
View file @
01e7e0ca
/*
* Copyright (c) 2019, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef CORTEX_A76AE_H
#define CORTEX_A76AE_H
#include <lib/utils_def.h>
/* Cortex-A76AE MIDR for revision 0 */
#define CORTEX_A76AE_MIDR U(0x410FD0E0)
/*******************************************************************************
* CPU Extended Control register specific definitions.
******************************************************************************/
#define CORTEX_A76AE_CPUPWRCTLR_EL1 S3_0_C15_C2_7
/* Definitions of register field mask in CORTEX_A76AE_CPUPWRCTLR_EL1 */
#define CORTEX_A76AE_CORE_PWRDN_EN_MASK U(0x1)
#define CORTEX_A76AE_CPUECTLR_EL1 S3_0_C15_C1_4
#endif
/* CORTEX_A76AE_H */
This diff is collapsed.
Click to expand it.
lib/cpus/aarch64/cortex_a76ae.S
0 → 100644
View file @
01e7e0ca
/*
*
Copyright
(
c
)
2019
,
Arm
Limited
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#include <asm_macros.S>
#include <cortex_a76ae.h>
#include <cpu_macros.S>
/
*
---------------------------------------------
*
HW
will
do
the
cache
maintenance
while
powering
down
*
---------------------------------------------
*/
func
cortex_a76ae_core_pwr_dwn
/
*
---------------------------------------------
*
Enable
CPU
power
down
bit
in
power
control
register
*
---------------------------------------------
*/
mrs
x0
,
CORTEX_A76AE_CPUPWRCTLR_EL1
orr
x0
,
x0
,
#
CORTEX_A76AE_CORE_PWRDN_EN_MASK
msr
CORTEX_A76AE_CPUPWRCTLR_EL1
,
x0
isb
ret
endfunc
cortex_a76ae_core_pwr_dwn
#if REPORT_ERRATA
/*
*
Errata
printing
function
for
Cortex
-
A76AE
.
Must
follow
AAPCS
.
*/
func
cortex_a76ae_errata_report
ret
endfunc
cortex_a76ae_errata_report
#endif /* REPORT_ERRATA */
/
*
---------------------------------------------
*
This
function
provides
cortex_a76ae
specific
*
register
information
for
crash
reporting
.
*
It
needs
to
return
with
x6
pointing
to
*
a
list
of
register
names
in
ascii
and
*
x8
-
x15
having
values
of
registers
to
be
*
reported
.
*
---------------------------------------------
*/
.
section
.
rodata.
cortex_a76ae_regs
,
"aS"
cortex_a76ae_regs
:
/
*
The
ASCII
list
of
register
names
to
be
reported
*/
.
asciz
"cpuectlr_el1"
,
""
func
cortex_a76ae_cpu_reg_dump
adr
x6
,
cortex_a76ae_regs
mrs
x8
,
CORTEX_A76AE_CPUECTLR_EL1
ret
endfunc
cortex_a76ae_cpu_reg_dump
declare_cpu_ops
cortex_a76ae
,
CORTEX_A76AE_MIDR
,
CPU_NO_RESET_FUNC
,
\
cortex_a76ae_core_pwr_dwn
This diff is collapsed.
Click to expand it.
plat/arm/board/fvp/platform.mk
View file @
01e7e0ca
...
...
@@ -103,6 +103,7 @@ FVP_CPU_LIBS += lib/cpus/aarch64/cortex_a35.S \
lib/cpus/aarch64/cortex_a73.S
\
lib/cpus/aarch64/cortex_a75.S
\
lib/cpus/aarch64/cortex_a76.S
\
lib/cpus/aarch64/cortex_a76ae.S
\
lib/cpus/aarch64/neoverse_n1.S
\
lib/cpus/aarch64/cortex_deimos.S
\
lib/cpus/aarch64/neoverse_zeus.S
...
...
This diff is collapsed.
Click to expand it.
readme.rst
View file @
01e7e0ca
...
...
@@ -185,6 +185,8 @@ The FVP models used are Version 11.5 Build 33, unless otherwise stated.
- ``FVP_Base_Cortex-A73x4``
- ``FVP_Base_Cortex-A75x4``
- ``FVP_Base_Cortex-A76x4``
- ``FVP_Base_Cortex-A76AEx4`` (Tested with internal model)
- ``FVP_Base_Cortex-A76AEx8`` (Tested with internal model)
- ``FVP_Base_Neoverse-N1x4`` (Tested with internal model)
- ``FVP_Base_Deimos``
- ``FVP_CSS_SGI-575`` (Version 11.3 build 42)
...
...
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