linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Gérard Guével" <gguevel@interfaceconcept.com>
To: <linuxppc-embedded@ozlabs.org>
Subject: How to use SPE on MPC8541
Date: Tue, 27 Sep 2005 17:30:25 +0200	[thread overview]
Message-ID: <000d01c5c378$64610960$5201a8c0@GEG2400> (raw)
In-Reply-To: <e29792bf3239d4cfb5861e7826300795@freescale.com>


Hi,

I am running a Linux 2.6.9 on a MPC8541 custom board.

I would like to run a user application which contains
some SPE code extracted from a freescale library.

I compiled the kernel with the CONFIG_SPE set to yes.
The application also compiles and I can run it on the
board.

But it seems the SPE bit from the MSR register
is not set when the process runs.

I tried to use a call to the enable_kernel_spe function
to force the bit, but it is always erased by the kernel (??)
when scheduling task and never set again.

Must I compile the application with some special flags
to instruct the kernel I want to use SPE ?

Thanks for any idea
Gérard

  reply	other threads:[~2005-09-27 15:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27 17:46 Linux Kernel Issue: MPC8540 Errata (CPU29) Chiradeep Vittal
2005-04-27 18:36 ` Kumar Gala
2005-09-27 15:30   ` Gérard Guével [this message]
2005-09-27 15:56     ` How to use SPE on MPC8541 Andy Fleming
2005-09-27 17:36       ` Gérard Guével
2005-09-27 18:50         ` Andy Fleming
2005-09-28  8:02           ` Gérard Guével
2005-09-28 15:32             ` Andy Fleming
2005-09-29 13:23               ` Gérard Guével
  -- strict thread matches above, loose matches on Subject: below --
2005-09-28  8:12 Fillod Stephane
2005-09-28 15:34 ` Andy Fleming

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='000d01c5c378$64610960$5201a8c0@GEG2400' \
    --to=gguevel@interfaceconcept.com \
    --cc=linuxppc-embedded@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).