Hi Tushar,
Thanks for your valuable reply.
Regards koteswararao.
On Wed, Aug 15, 2012 at 2:59 PM, Tushar Behera tushar.behera@linaro.org 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
-- Tushar Behera