linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Maynard Johnson <maynardj@us.ibm.com>
To: Nathan Lynch <ntl@pobox.com>
Cc: linuxppc-dev@ozlabs.org, Paul Mackerras <paulus@samba.org>
Subject: Re: [PATCH] Add PPC_FEATURE_PMU_COMPAT
Date: Mon, 07 Jul 2008 17:05:05 -0500	[thread overview]
Message-ID: <48729311.1040206@us.ibm.com> (raw)
In-Reply-To: <20080707172921.GH9594@localdomain>

Nathan Lynch wrote:
> Kumar Gala wrote:
>   
>> On Jul 3, 2008, at 6:20 PM, Nathan Lynch wrote:
>>
>>     
>>> Beginning with Power6, there is a set of 32 PMU events which is
>>> compatible across POWER processor lines.  PPC_FEATURE_PMU_COMPAT
>>> indicates support for this subset.
>>>
>>> Signed-off-by: Nathan Lynch <ntl@pobox.com>
>>> ---
>>> arch/powerpc/kernel/cputable.c |    4 ++--
>>> include/asm-powerpc/cputable.h |    1 +
>>> 2 files changed, 3 insertions(+), 2 deletions(-)
>>>       
>> Can you explain what these PMU events are a bit further?
>>     
>
> Maynard, can you help out here...?  :)
>   
As of POWER6, a set of 32 common events were defined that must be
supported on all future POWER processors -- aka "PMU compat set".  The
main impetus for this compat set is the need to support partition
migration, especially from processor P(n) to processor P(n+1), where
performance software that's running in the new partition may not be
knowledgeable about processor P(n+1).  If a performance tool determines
it does not support the physical processor, but is told (via the
PPC_FEATURE_PMU_COMPAT bit) that the processor supports the notion of
the PMU compat set, then the performance tool can surface just those
events to the user of the tool.

Hope that helps.

-Maynard

  reply	other threads:[~2008-07-07 22:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-03 23:20 [PATCH] Add PPC_FEATURE_PMU_COMPAT Nathan Lynch
2008-07-04 14:32 ` Kumar Gala
2008-07-07 17:29   ` Nathan Lynch
2008-07-07 22:05     ` Maynard Johnson [this message]
2008-07-05  5:10 ` Olof Johansson
2008-07-07 17:17   ` Nathan Lynch
2008-07-08 20:01 ` [PATCH v2] Add PPC_FEATURE_PSERIES_PMU_COMPAT Nathan Lynch
2008-07-08 22:05   ` Kumar Gala
2008-07-08 22:30     ` Nathan Lynch
2008-07-09 15:06 ` [PATCH v3] Add PPC_FEATURE_PSERIES_PERFMON_COMPAT Nathan Lynch

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=48729311.1040206@us.ibm.com \
    --to=maynardj@us.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=ntl@pobox.com \
    --cc=paulus@samba.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).