From: Scott Wood <scottwood@freescale.com>
To: Kevin Hao <haokexin@gmail.com>
Cc: linuxppc <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [PATCH] powerpc/85xx: enable the math emulation for the corenet64_smp_defconfig
Date: Wed, 10 Jul 2013 16:40:03 -0500 [thread overview]
Message-ID: <1373492403.8183.234@snotra> (raw)
In-Reply-To: <1373420992-25167-1-git-send-email-haokexin@gmail.com> (from haokexin@gmail.com on Tue Jul 9 20:49:52 2013)
On 07/09/2013 08:49:52 PM, Kevin Hao wrote:
> I got the following error on my t4240qds board.
> ntpd[2713]: unhandled signal 4 at 0fd5b448 nip 0fd5b448 lr 0fd5b424 =20
> code 30001
>=20
> The root cause is that the float point instruction 'fsqrt' is used.
> But this instruction is not implemented on e6500 core. Even this
> does seem a gcc bug, I would like to enable the math emulation
> in the kernel to workaround this kind of issue.
I'll apply this, but we should add PPC_WARN_EMULATED to math-emu so =20
that people know when their toolchain is emitting things that require =20
emulation.
It'd also be nice if we had an option to only include the portions of =20
math-emu that are known to be missing in some CPUs (excluding CPUs that =20
are missing the entire FPU, of course). Besides its effect on kernel =20
image size, in my experience math-emu adds a non-trivial amount of time =20
to a kernel build.
-Scott=
next prev parent reply other threads:[~2013-07-10 21:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-10 1:49 [PATCH] powerpc/85xx: enable the math emulation for the corenet64_smp_defconfig Kevin Hao
2013-07-10 21:40 ` Scott Wood [this message]
2013-07-11 9:21 ` Kevin Hao
2013-07-11 10:04 ` David Laight
2013-07-11 10:14 ` Kevin Hao
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=1373492403.8183.234@snotra \
--to=scottwood@freescale.com \
--cc=haokexin@gmail.com \
--cc=linuxppc-dev@lists.ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).