mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
chore(spe): rename spe_disable() to spe_stop()
During CPU power down, we stop the profiling by calling spe_disable() function. From TF-A point of view, enable/disable means the avaibility of the feature for lower EL. In this case we are not actully disabling the feautre but stoping it before power down. Signed-off-by: Manish Pandey <manish.pandey2@arm.com> Change-Id: I6e3b39c5c35d330c51e7ac715446a8b36bf9531f
This commit is contained in:
parent
a4e2a9f16d
commit
4de07b4be7
3 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@
|
|||
#if ENABLE_SPE_FOR_NS
|
||||
void spe_enable(cpu_context_t *ctx);
|
||||
void spe_init_el2_unused(void);
|
||||
void spe_disable(void);
|
||||
void spe_stop(void);
|
||||
#else
|
||||
static inline void spe_enable(cpu_context_t *ctx)
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ static inline void spe_enable(cpu_context_t *ctx)
|
|||
static inline void spe_init_el2_unused(void)
|
||||
{
|
||||
}
|
||||
static inline void spe_disable(void)
|
||||
static inline void spe_stop(void)
|
||||
{
|
||||
}
|
||||
#endif /* ENABLE_SPE_FOR_NS */
|
||||
|
|
|
@ -70,7 +70,7 @@ void spe_init_el2_unused(void)
|
|||
write_mdcr_el2(v);
|
||||
}
|
||||
|
||||
void spe_disable(void)
|
||||
void spe_stop(void)
|
||||
{
|
||||
uint64_t v;
|
||||
|
||||
|
|
|
@ -1303,7 +1303,7 @@ void psci_do_manage_extensions(void)
|
|||
* before exiting coherency.
|
||||
*/
|
||||
if (is_feat_spe_supported()) {
|
||||
spe_disable();
|
||||
spe_stop();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue