All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Soft lockup on arm64
@ 2016-02-02 22:44 Dmitriy Cherkasov
  0 siblings, 0 replies; only message in thread
From: Dmitriy Cherkasov @ 2016-02-02 22:44 UTC (permalink / raw)
  To: xenomai@xenomai.org

Hello.

We are seeing a possible SMP bug on arm64. When running the attached test
program on the 410c board, the following message appears, usually followed
by a complete lockup:

Message from syslogd@linaro-developer at Jul 3 18:51:00 ...
kernel:[ 284.102490] NMI watchdog: BUG: soft lockup - CPU#2 stuck for 
23s! [xeno_sleep:962]

An important observation is when I set the affinity for the realtime thread
to a specific core, the problem goes away. I suspect there is an issue with
CPU migration that triggers most often when sleeping for a short interval.

I have not tested this on any other platform, so I am not sure if this is
arm64 specific. Any help would be greatly appreciated.

Test setup:
410c/Debian with Jorge's latest ipipe and xenomai trees.

Thanks,
Dmitriy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xeno_sleep.c
Type: text/x-csrc
Size: 1294 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20160202/9960c0e1/attachment.c>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-02 22:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-02 22:44 [Xenomai] Soft lockup on arm64 Dmitriy Cherkasov

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.