Thread (207 messages) flat view 207 messages, 25 authors, 2010-10-01
STALE5826d

[PATCH 52/74] ST SPEAr13xx: Adding CPU hotplug support added for SMP platforms

From: Sundar <hidden>
Date: 2010-09-03 06:00:12

Hi,

On Mon, Aug 30, 2010 at 4:09 PM, Viresh KUMAR [off-list ref] wrote:
From: Deepak Sikri <redacted>

Signed-off-by: Deepak Sikri <redacted>
Signed-off-by: shiraz hashim <redacted>
Signed-off-by: Viresh Kumar <redacted>
---
+       flush_cache_all();
+       asm volatile(
+       "       mcr     p15, 0, %1, c7, c5, 0\n"
+       "       mcr     p15, 0, %1, c7, c10, 4\n"
Isnt this a Cortex-A9 platform? If yes, then this is not implemented
on the Cortex-A9 if I am right.
You should use a dsb() here.
+               /*
+                * here's the WFI
+                */
+               asm(".word      0xe320f003\n"
+                   :
Also, why not a simple asm volatile("wfi" : : : "memory"); instead of
hard coded values.

Regards,
Sundar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help