Skip to content
GitLab
Menu
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
8f5426cc
Commit
8f5426cc
authored
Sep 15, 2020
by
Madhukar Pappireddy
Committed by
TrustedFirmware Code Review
Sep 15, 2020
Browse files
Merge "SPE: Fix feature detection" into integration
parents
b2a9e431
b8535929
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/extensions/spe/spe.c
View file @
8f5426cc
...
...
@@ -25,7 +25,7 @@ bool spe_supported(void)
uint64_t
features
;
features
=
read_id_aa64dfr0_el1
()
>>
ID_AA64DFR0_PMS_SHIFT
;
return
(
features
&
ID_AA64DFR0_PMS_MASK
)
==
1U
;
return
(
features
&
ID_AA64DFR0_PMS_MASK
)
>
0ULL
;
}
void
spe_enable
(
bool
el2_unused
)
...
...
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