From: Heikki Lindholm <holindho@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [PATCH] Fix ppc fpu support
Date: Fri, 06 Jan 2006 23:38:37 +0200 [thread overview]
Message-ID: <43BEE35D.3090800@domain.hid> (raw)
In-Reply-To: <43BEC436.6080901@domain.hid>
Jan Kiszka kirjoitti:
> Heikki Lindholm wrote:
>
>>Jan Kiszka kirjoitti:
>>
>>
>>>Heikki Lindholm wrote:
>>>
>>>
>>>>Xenomai might preempt linux when linux has cleared a tasks MSR_FP, but
>>>>not yet set last_task_used_math to NULL. As a result the tasks MSR_FP
>>>>will get set, although it should be cleared. If the task happens to hit
>>>>one of the codepaths that save FPU state if MSR_FP is set, the wrong FPU
>>>>state might be saved to the task. The attached patch should fix this. I
>>>>couldn't try it on most recent Xenomai trunk, because latency wouldn't
>>>>build anymore. However, I see no reason it shouldn't work. All thee
>>>
>>>
>>>
>>>Is it still broken with latest revision 376? Philippe had merged the fix
>>>for my mess, and it worked at least for 2.6 on my box again.
>>
>>
>>I'd say this has been unchanged since the beginning (0.9?).
>>
>
>
> Then, what latency are we talking about? My last modifications went to
> src/testsuite/latency. Did you mean ksrc/skins/native/demos/latency.c?
Sorry, I misinterpreted in a hurry. I was (still) talking about the fpu
;) It might be that the latency test didn't compile, because I didn't
even enable the rtdm measuring device in kernel config or something(?).
I'll try again.
-- Heikki Lindholm
next prev parent reply other threads:[~2006-01-06 21:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-06 18:42 [Xenomai-core] [PATCH] Fix ppc fpu support Heikki Lindholm
2006-01-06 18:58 ` Jan Kiszka
2006-01-06 19:14 ` Heikki Lindholm
2006-01-06 19:25 ` Jan Kiszka
2006-01-06 19:42 ` Jan Kiszka
2006-01-06 21:38 ` Heikki Lindholm [this message]
2006-01-07 10:38 ` Heikki Lindholm
2006-01-07 10:34 ` Heikki Lindholm
2006-01-07 13:33 ` Philippe Gerum
2006-01-07 17:24 ` Heikki Lindholm
2006-01-07 17:41 ` Philippe Gerum
2006-01-07 18:00 ` Heikki Lindholm
2006-01-07 18:35 ` Philippe Gerum
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=43BEE35D.3090800@domain.hid \
--to=holindho@domain.hid \
--cc=jan.kiszka@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.