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
80003d86
Commit
80003d86
authored
5 years ago
by
Soby Mathew
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "Explicitly disable the SPME bit in MDCR_EL3" into integration
parents
25792ce4
2a7adf25
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
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/arch/aarch64/el3_common_macros.S
+8
-1
include/arch/aarch64/el3_common_macros.S
with
8 additions
and
1 deletion
+8
-1
include/arch/aarch64/el3_common_macros.S
View file @
80003d86
...
...
@@ -113,11 +113,18 @@
*
prohibited
in
Secure
state
.
This
bit
is
RES0
in
versions
of
the
*
architecture
earlier
than
ARMv8
.5
,
setting
it
to
1
doesn
't have any
*
effect
on
them
.
*
*
MDCR_EL3
.
SPME
:
Set
to
zero
so
that
event
counting
by
the
programmable
*
counters
PMEVCNTR
<
n
>
_EL0
is
prohibited
in
Secure
state
.
If
ARMv8
.2
*
Debug
is
not
implemented
this
bit
does
not
have
any
effect
on
the
*
counters
unless
there
is
support
for
the
implementation
defined
*
authentication
interface
ExternalSecureNoninvasiveDebugEnabled
()
.
*
---------------------------------------------------------------------
*/
mov_imm
x0
,
((
MDCR_EL3_RESET_VAL
| MDCR_SDD_BIT |
\
MDCR_SPD32
(
MDCR_SPD32_DISABLE
)
|
MDCR_SCCD_BIT
)
&
\
~(
MDCR_TDOSA_BIT
| MDCR_TDA_BIT |
MDCR_TPM_BIT
))
~(
MDCR_SPME_BIT
| MDCR_TDOSA_BIT |
MDCR_TDA_BIT
|
\
MDCR_TPM_BIT
))
msr
mdcr_el3
,
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