From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <43BEC815.7040300@domain.hid> Date: Fri, 06 Jan 2006 20:42:13 +0100 From: Jan Kiszka MIME-Version: 1.0 Subject: Re: [Xenomai-core] [PATCH] Fix ppc fpu support References: <43BEBA0D.5090708@domain.hid> <43BEBDC4.3020905@domain.hid> <43BEC17F.3090501@domain.hid> <43BEC436.6080901@domain.hid> In-Reply-To: <43BEC436.6080901@domain.hid> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig35196FAB48745ABC360E39B8" Sender: jan.kiszka@domain.hid List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Heikki Lindholm Cc: xenomai@xenomai.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig35196FAB48745ABC360E39B8 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Jan Kiszka wrote: > 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? > BTW, the latter compiles fine for me as well (in my case by providing the full path to xeno-config via XENO_CONFIG to "make"). Jan --------------enig35196FAB48745ABC360E39B8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDvsgVniDOoMHTA+kRAprvAJ9dq6N/ppBJ50QBc49msUoSmnYiSwCfQtrj Ud7rTJo96jL1biD62PKcdhc= =T0WT -----END PGP SIGNATURE----- --------------enig35196FAB48745ABC360E39B8--