diff options
Diffstat (limited to 'services/std_svc')
-rw-r--r-- | services/std_svc/psci/psci_on.c | 3 | ||||
-rw-r--r-- | services/std_svc/psci/psci_setup.c | 12 | ||||
-rw-r--r-- | services/std_svc/psci/psci_suspend.c | 3 |
3 files changed, 0 insertions, 18 deletions
diff --git a/services/std_svc/psci/psci_on.c b/services/std_svc/psci/psci_on.c index cf1a782a..c37adc2e 100644 --- a/services/std_svc/psci/psci_on.c +++ b/services/std_svc/psci/psci_on.c @@ -203,7 +203,4 @@ void psci_cpu_on_finish(unsigned int cpu_idx, * call to set this cpu on its way. */ cm_prepare_el3_exit(NON_SECURE); - - /* Clean caches before re-entering normal world */ - dcsw_op_louis(DCCSW); } diff --git a/services/std_svc/psci/psci_setup.c b/services/std_svc/psci/psci_setup.c index 7a801873..cd1bb092 100644 --- a/services/std_svc/psci/psci_setup.c +++ b/services/std_svc/psci/psci_setup.c @@ -221,18 +221,6 @@ int psci_setup(void) psci_cpu_pd_nodes[plat_my_core_pos()].mpidr = read_mpidr() & MPIDR_AFFINITY_MASK; -#if !USE_COHERENT_MEM - /* - * The psci_non_cpu_pd_nodes only needs flushing when it's not allocated in - * coherent memory. - */ - flush_dcache_range((uintptr_t) &psci_non_cpu_pd_nodes, - sizeof(psci_non_cpu_pd_nodes)); -#endif - - flush_dcache_range((uintptr_t) &psci_cpu_pd_nodes, - sizeof(psci_cpu_pd_nodes)); - psci_init_req_local_pwr_states(); /* diff --git a/services/std_svc/psci/psci_suspend.c b/services/std_svc/psci/psci_suspend.c index 675ef9e2..bd0c5dbc 100644 --- a/services/std_svc/psci/psci_suspend.c +++ b/services/std_svc/psci/psci_suspend.c @@ -261,7 +261,4 @@ void psci_cpu_suspend_finish(unsigned int cpu_idx, * call to set this cpu on its way. */ cm_prepare_el3_exit(NON_SECURE); - - /* Clean caches before re-entering normal world */ - dcsw_op_louis(DCCSW); } |