All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: "Xenomai@xenomai.org" <Xenomai@xenomai.org>
Subject: [Xenomai] [POWERPC] bug alert with CONFIG_XENO_HW_UNLOCKED_SWITCH, >= kernel 3.4
Date: Wed, 05 Jun 2013 12:39:29 +0200	[thread overview]
Message-ID: <51AF1561.6090401@xenomai.org> (raw)


A bad bug has been fixed in the unlocked context switching code for 
powerpc platforms. This affects all I-pipe patches for 3.4 kernels and 
above. The typical manifestation of this bug is random segmentation 
faults in user-space applications (sometimes after hours under stress 
load), usually the Xenomai-dependent ones.

A work around not to change the kernel code is to disable 
CONFIG_XENO_HW_UNLOCKED_SWITCH. Patches for fixing this issue are 
available for 3.5.7 and above:

http://git.xenomai.org/?p=ipipe.git;a=commit;h=614aa59453dacf7693fbb18229c27676c2803dbb
http://git.xenomai.org/?p=ipipe.git;a=commit;h=04ea520ab96a16ec65529a2efed92c9a4a8bda34

You might need this companion patch too: 
http://git.xenomai.org/?p=ipipe.git;a=commit;h=047a21b3b203a1fbfce21284f01e376a2cf54c19

HTH,

-- 
Philippe.


             reply	other threads:[~2013-06-05 10:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05 10:39 Philippe Gerum [this message]
2013-06-05 11:20 ` [Xenomai] [POWERPC] bug alert with CONFIG_XENO_HW_UNLOCKED_SWITCH, >= kernel 3.4 Gilles Chanteperdrix
2013-06-05 11:21   ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51AF1561.6090401@xenomai.org \
    --to=rpm@xenomai.org \
    --cc=Xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.