LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Fleming <afleming@freescale.com>
To: Linux/PPC Development <linuxppc-dev@ozlabs.org>
Subject: Perfmon feature
Date: Tue, 5 Apr 2005 11:21:52 -0500	[thread overview]
Message-ID: <17e04050dd77805d8dd464fd6a1af284@freescale.com> (raw)

I'm adding oprofile support for 7450 (and derivative) processors, and 
I'm considering adding a couple PPC_FEATURE bits (one for classic, and 
one for fsl-book-e perfmon).

Reasons:
1) The need to distinguish between Freescale Book-E processors with 
performance monitor support, Classic PPC processors with perfmon 
support, and processors without perfmon support.  (ie - 7450 parts will 
have support, but 7410 parts will not for now).

2) Applications could determine if these features were present, and 
decide between using mfspr and mfpmr instructions to read the counters 
from user-space.

Thoughts, objections?


Andy Fleming
Open Source Team
Freescale Semiconductor, Inc

                 reply	other threads:[~2005-04-05 16:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=17e04050dd77805d8dd464fd6a1af284@freescale.com \
    --to=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