On 15.08.2012 07:59, Tushar Behera wrote:
On 08/15/2012 11:05 AM, Koteswararao Nelakurthi wrote:
Hi,

While executing reboot call on my ARMv7 board, the system hangs during
cpu_proc_fin() call.

Commenting out this line of code, the reboot works properly.

Index: mvlinux/arch/arm/mm/proc-v7.S
===================================================================
--- mvlinux.orig/arch/arm/mm/proc-v7.S  2012-08-15 14:12:50.396190110 +0900
+++ mvlinux/arch/arm/mm/proc-v7.S       2012-08-15 14:21:28.730760416 +0900
@@ -51,7 +51,7 @@
        mrc     p15, 0, r0, c1, c0, 0           @ ctrl register
        bic     r0, r0, #0x1000                 @ ...i............
        bic     r0, r0, #0x0006                 @ .............ca.
-       mcr     p15, 0, r0, c1, c0, 0           @ disable caches
+       #mcr    p15, 0, r0, c1, c0, 0           @ disable caches
        ldmfd   sp!, {pc}
 ENDPROC(cpu_v7_proc_fin)

is it a CPU_V7 specific issue?

Please provide your valuable input to fix the issue.

Any hint also..will help me in debugging further in this issue.

I have seen above fix in one of the linaro mailing list.

Regards,
koteswararao.


I don't think there is any issue with cpu_v7_proc_fin. In case of the
issue that I was facing, it was fixed by adding a proper reset hook to
my platform.

Please go through following link. I hope that would help.

http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg06170.html

I'm not totally sure if it's the same issue, but you might want to check

http://lists.arm.linux.org.uk/lurker/message/20120809.031847.ad2088dd.en.html

and the rest of that thread.

Sorry if it's unrelated ;)

Best regards

Dirk

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to