All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] xnarch_xchg infinite loop
@ 2014-01-20  8:31 Henri Roosen
  2014-01-20  9:48 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 8+ messages in thread
From: Henri Roosen @ 2014-01-20  8:31 UTC (permalink / raw)
  To: Xenomai@xenomai.org

Hi all,

We have the problem that (hot-)rebooting our Xenomai system fails every 1
out of 10 times.

The system is an ARM iMX6Solo (Cortex-A9) running Xenomai 2.6.2.1 and
kernel 3.0 (freescale branch).

When the system hangs at reboot, it is in an infinite loop in the Xenomai
atomic exchange implementation, with STREX always returning 1:

__xnarch_xchg
S:0xC0094B2C : ADD      r3,r6,#0x890
S:0xC0094B30 : LDREX    r2,[r3]
S:0xC0094B34 : STREX    r1,r9,[r3]
S:0xC0094B38 : TEQ      r1,#0
S:0xC0094B3C : BNE      {pc}-0xc ; 0xc0094b30

Does anyone know what is causing the STREX to always return 0 and why it
might get into this state?
Is there a workaround for this problem?

Any help is appreciated!

Thanks,
Henri

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-22 20:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-20  8:31 [Xenomai] xnarch_xchg infinite loop Henri Roosen
2014-01-20  9:48 ` Gilles Chanteperdrix
2014-01-20 10:02   ` Henri Roosen
2014-01-20 20:40     ` Gilles Chanteperdrix
2014-01-22  8:31       ` Henri Roosen
2014-01-22 10:47         ` Gilles Chanteperdrix
2014-01-22 14:49           ` Henri Roosen
2014-01-22 20:20             ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.