lkml.org 
[lkml]   [2006]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: Latency traces I cannot interpret (sa1100, 2.6.15-rc7-rt1)
Date
From
> From: Daniel Walker
> Ok, yet another patch. This one uses the correct lowlevel calls, and I
> fixed the call ordering.

Hmm, I have no deep knowledge of ARM assembler programming,
but your patch branches to a C subroutine without setting up a
return address in the lr register.

Hence, the return in trace_irqs_... jumps to god-knows-where,
but not back to the next instruction.

As a wild guess, I replaced the "b trace_irqs_..." with
"bl trace_irqs_...".

With this change, the kernel boots fine, but the system seems to go
into an infinite loop as soon as the first usermode processes start.
Most likely, my change messes up the lr register of some surrounding
context.

--
Klaus Kusche (Software Development - Control Systems)
KEBA AG Gewerbepark Urfahr, A-4041 Linz, Austria (Europe)
Tel: +43 / 732 / 7090-3120 Fax: +43 / 732 / 7090-6301
E-Mail: kus@keba.com WWW: www.keba.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-04 10:31    [W:0.081 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site