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
2b3ce7b8
Commit
2b3ce7b8
authored
8 years ago
by
danh-arm
Committed by
GitHub
8 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #748 from dp-arm/dp/arm-sip
BL31 runtime instrumentation fixes and documentation update
parents
2fef96a3
bfef6106
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
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
v1.5
v1.5-rc3
v1.5-rc2
v1.5-rc1
v1.5-rc0
v1.4
v1.4-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
docs/user-guide.md
+6
-0
docs/user-guide.md
services/std_svc/std_svc_setup.c
+6
-1
services/std_svc/std_svc_setup.c
with
12 additions
and
1 deletion
+12
-1
docs/user-guide.md
View file @
2b3ce7b8
...
...
@@ -466,6 +466,12 @@ performed.
Note:
`TRUSTED_BOARD_BOOT`
is currently not supported when
`LOAD_IMAGE_V2`
is enabled.
*
`ENABLE_RUNTIME_INSTRUMENTATION`
: Boolean option to enable runtime
instrumentation which injects timestamp collection points into
Trusted Firmware to allow runtime performance to be measured.
Currently, only PSCI is instrumented. Enabling this option enables
the
`ENABLE_PMF`
build option as well. Default is 0.
#### ARM development platform specific build options
*
`ARM_TSP_RAM_LOCATION`
: location of the TSP binary. Options:
...
...
This diff is collapsed.
Click to expand it.
services/std_svc/std_svc_setup.c
View file @
2b3ce7b8
...
...
@@ -81,9 +81,14 @@ uintptr_t std_svc_smc_handler(uint32_t smc_fid,
uint64_t
ret
;
#if ENABLE_RUNTIME_INSTRUMENTATION
/*
* Flush cache line so that even if CPU power down happens
* the timestamp update is reflected in memory.
*/
PMF_WRITE_TIMESTAMP
(
rt_instr_svc
,
RT_INSTR_ENTER_PSCI
,
PMF_
NO_
CACHE_MAINT
,
PMF_CACHE_MAINT
,
get_cpu_data
(
cpu_data_pmf_ts
[
CPU_DATA_PMF_TS0_IDX
]));
#endif
...
...
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