You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/16 08:53:41 UTC
[incubator-nuttx] 10/10: arch: armv7-a: Remove unnecessary d-cache
operation in arm_cpustart.c
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 13f3f84bae5e97fb6b58d7c858824604c52d70a0
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Mon Nov 16 15:17:18 2020 +0900
arch: armv7-a: Remove unnecessary d-cache operation in arm_cpustart.c
Summary:
- Remove unnecessary d-cache operation to make boot fast
Impact:
- armv7-a SMP only
Testing:
- Tested with sabre-6quad:smp (QEMU and dev board)
Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
arch/arm/src/armv7-a/arm_cpustart.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arm/src/armv7-a/arm_cpustart.c b/arch/arm/src/armv7-a/arm_cpustart.c
index ca883d5..de6b037 100644
--- a/arch/arm/src/armv7-a/arm_cpustart.c
+++ b/arch/arm/src/armv7-a/arm_cpustart.c
@@ -171,10 +171,6 @@ int up_cpu_start(int cpu)
sched_note_cpu_start(this_task(), cpu);
#endif
- /* Make the content of CPU0 L1 cache has been written to coherent L2 */
-
- cp15_clean_dcache(CONFIG_RAM_START, CONFIG_RAM_END - 1);
-
/* Execute SGI1 */
return arm_cpu_sgi(GIC_IRQ_SGI1, (1 << cpu));