public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Roger Larsson <roger.larsson@norran•net>
To: linuxppc-embedded@ozlabs•org
Subject: Re: Floating point math in kernel interrupt -- am I doing this right?
Date: Mon, 6 Feb 2006 09:41:07 +0100	[thread overview]
Message-ID: <200602060941.07567.roger.larsson@norran.net> (raw)
In-Reply-To: <200602051140.51759.jaf@lcsaudio.com>

On s=F6ndag 05 februari 2006 20.40, Jeremy Friesner wrote:
> If I disable the saving and restoring of the FPU registers=20
> entirely, they don't seem to occur at all (at least within the bounds of =
my
> testing so far -- 15+ hours).
Is this with full mix?

Then I would really suspect the save/restore code.
Saving and restoring floating point state can be very tricky.
Do try to find an example in the manual (or possibly in the kernel itself -=
=20
context switch code)

Until this works reliably there is no point in looking for other error=20
sources.  You could also try to add code inside the save-resore that destro=
ys=20
all of the floating point registers to be able to spot errors.

/RogerL

      reply	other threads:[~2006-02-06  9:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-05 19:40 Floating point math in kernel interrupt -- am I doing this right? Jeremy Friesner
2006-02-06  8:41 ` Roger Larsson [this message]

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=200602060941.07567.roger.larsson@norran.net \
    --to=roger.larsson@norran$(echo .)net \
    --cc=linuxppc-embedded@ozlabs$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox