From: Philippe De Muyter <phdm@macqel.be>
To: Andy Fleming <afleming@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: MPC8540 : What's "SPE used in kernel" ?
Date: Sat, 23 Feb 2008 10:24:58 +0100 [thread overview]
Message-ID: <20080223092458.GA6873@10.1.86.20> (raw)
In-Reply-To: <08A7CD2B-27EA-4C97-9220-314E36BBBAA6@freescale.com>
On Fri, Feb 22, 2008 at 12:33:19PM -0600, Andy Fleming wrote:
>
> On Feb 22, 2008, at 03:50, Philippe De Muyter wrote:
>
>> Dear list,
>>
>> I have just compiled linux-2.6.24 for a MPC8540 target using a MPC8540
>> specific gcc.
>>
>> I then got tan infinity of "SPE used in kernel" messages. Looking at the
>> sources I ifdeffed out the printk call in KernelSPE, and I now have a
>> silent kernel, that seems to work fine.
>>
>> Is there something wrong in my setting and should I look further to
>> debug this problem or is this perfectly normal ?
>>
>> I wonder why a kernel configured for E500 and compiled by a E500-specific
>> gcc
>> triggers this message. Is it invalid to use SPE instructions in the
>> kernel
>> or do I misunderstand the message ?
>
>
> We don't currently support using SPE in the kernel. Are you using SPE in
> the kernel for some reason? Do you think that the compiler is
> automatically generating SPE code in the kernel? I've never seen that
> before.
>
> Andy
I have bought a modified CLFS installation targetting by default a MPC8540.
By default my powerpc compiler thus generates also SPE instructions.
And I built linux using that compiler.
My first trial used ARCH=ppc and caused this infinity of "SPE used in kernel"
messages, but I then recompiled linux with ARCH=powerpc. With the message
not ifdef'ed out, this second kernel does not emit "SPE used in kernel"
messages, but I noticed problems with processes dying unexpectedly
(like in the first one, but after my first mail to the list).
Do you by chance know which MPC8540 registers are not saved by the kernel ?
Philippe
next prev parent reply other threads:[~2008-02-23 9:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080221123534.GA17716@ingate.macqel>
2008-02-22 9:50 ` MPC8540 : What's "SPE used in kernel" ? Philippe De Muyter
2008-02-22 15:29 ` Johannes Berg
2008-02-22 18:33 ` Andy Fleming
2008-02-23 9:24 ` Philippe De Muyter [this message]
2008-02-23 9:51 ` Johannes Berg
2008-02-23 10:17 ` Philippe De Muyter
2008-02-23 10:25 ` Johannes Berg
2008-02-26 7:39 ` Kumar Gala
2008-02-26 10:34 ` Philippe De Muyter
2008-02-25 14:47 ` E500 linux : are the 64-bit GPRs context-switched ? Philippe De Muyter
2008-02-25 16:58 ` Scott Wood
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=20080223092458.GA6873@10.1.86.20 \
--to=phdm@macqel.be \
--cc=afleming@freescale.com \
--cc=linuxppc-dev@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).