From: Philippe Gerum <rpm@xenomai.org>
To: Wolfgang Grandegger <wg@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] Problem with periodic timer on PPC40x solved
Date: Tue, 26 Sep 2006 18:38:54 +0200 [thread overview]
Message-ID: <1159288734.5084.159.camel@domain.hid> (raw)
In-Reply-To: <4519553A.3040109@domain.hid>
On Tue, 2006-09-26 at 18:28 +0200, Wolfgang Grandegger wrote:
> Philippe Gerum wrote:
> > On Tue, 2006-09-26 at 16:56 +0200, gilles.chanteperdrix wrote:
> >> ---------- Debut du message initial -----------
> >>
> >> De : xenomai-core-bounces@domain.hid
> >> A : niklaus.giger@domain.hid
> >> Copies : xenomai@xenomai.org
> >> Date : Tue, 26 Sep 2006 16:21:18 +0200
> >> Objet : Re: [Xenomai-core] Problem with periodic timer on
> >> PPC40x solved
> >>
> >>>> On Mon, 2006-09-25 at 22:29 +0200, Niklaus Giger wrote:
> >>>>>> Am Montag, 25. September 2006 17:57 schrieb Philippe
> >> Gerum:
> >>>>>>> On Sun, 2006-09-24 at 23:07 +0200, Wolfgang
> >> Grandegger wrote:
> >>>>>>>> Niklaus Giger wrote:
> >>>> <..>
> >>>>>> Is the output of lines like "Xenomai: Switching
> >> display-3238 to secondary
> >>>>>> mode after exception #1025 from user-space at
> >> 0x100033c4 (pid 3240)"
> >>>>>> harmless or the result of a activated
> >> CONFIG_XENO_OPT_DEBUG<..> option?
> >>> A known hw issue seems to exist with the 405GP (revD), which
> >> causes the
> >>> ESR to be incorrectly set upon FPU emulation trap, which
> >> would in turn
> >>> cause the spurious exception to be relayed to the nucleus by
> >> Adeos. The
> >>> patch below is _not_ the final fix, but rather a way to
> >> check if this
> >>> message is indeed related to the FPU emulation on your
> >> board. Does it
> >>> silence the exception without breaking the box?
> >> The FPU fault may be the result of the latency display thread
> >> using the
> >> FPU: on systems with emulated FPU, this looks normal.
> >>
> >
> > This said, we should not switch the task to secondary mode, but rather
> > emulate the FPU ops in primary mode. To this end, we need to make sure
> > that do_mathemu() is not going to choke over this context (e.g.
> > preemption count check issues over CONFIG_PREEMPT when running
> > unmodified uaccess routines). We additionally need to fix the program
> > check exception handler to give the math emulation code a chance to
> > handle the fault before we complain loudly at the nucleus.
>
> OK, but in general, soft-float emulation should be used on systems
> without FPU and this is even more important for real-time.
Makes sense. So maybe we should make this a more explicit and formal
warning, to catch missing soft float emulation, actually.
> This is a
> tool chain issue. Niklaus, what tool chain are you using?
>
> Wolfgang.
>
>
>
--
Philippe.
next prev parent reply other threads:[~2006-09-26 16:38 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-26 14:56 [Xenomai-core] Problem with periodic timer on PPC40x solved gilles.chanteperdrix
2006-09-26 16:10 ` Philippe Gerum
2006-09-26 16:28 ` Wolfgang Grandegger
2006-09-26 16:38 ` Philippe Gerum [this message]
2006-09-26 16:57 ` Wolfgang Grandegger
2006-09-26 18:56 ` Niklaus Giger
2006-09-26 20:23 ` Wolfgang Grandegger
2006-09-26 21:26 ` Niklaus Giger
2006-09-27 10:13 ` Wolfgang Grandegger
2006-09-27 18:19 ` Wolfgang Grandegger
2006-09-28 6:02 ` Niklaus Giger
2006-09-28 7:59 ` Wolfgang Grandegger
-- strict thread matches above, loose matches on Subject: below --
2006-09-23 18:13 [Xenomai-core] Problem with periodic timer on PPC40x identified Niklaus Giger
2006-09-23 20:55 ` Wolfgang Grandegger
2006-09-24 20:47 ` [Xenomai-core] Problem with periodic timer on PPC40x solved Niklaus Giger
2006-09-24 21:07 ` Wolfgang Grandegger
2006-09-25 15:57 ` Philippe Gerum
2006-09-25 20:29 ` Niklaus Giger
2006-09-25 20:59 ` Philippe Gerum
2006-09-25 21:15 ` Niklaus Giger
2006-09-26 6:59 ` Philippe Gerum
2006-09-26 14:21 ` Philippe Gerum
2006-09-26 18:39 ` Niklaus Giger
2006-09-26 19:34 ` Niklaus Giger
2006-09-26 19:48 ` Philippe Gerum
2006-09-26 6:47 ` Wolfgang Grandegger
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=1159288734.5084.159.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=wg@domain.hid \
--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.