All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: mingo@elte.hu, a.p.zijlstra@chello.nl, paulus@samba.org,
	benh@kernel.crashing.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] powerpc/perf_counter: POWER7 has alternate PR/HV bits
Date: Wed, 1 Jul 2009 13:07:01 +1000	[thread overview]
Message-ID: <20090701030701.GI3563@kryten> (raw)


POWER7 has the same PR/HV bit layout as POWER6, so set the flag.

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Index: linux-2.6-tip/arch/powerpc/kernel/power7-pmu.c
===================================================================
--- linux-2.6-tip.orig/arch/powerpc/kernel/power7-pmu.c	2009-07-01 12:41:49.000000000 +1000
+++ linux-2.6-tip/arch/powerpc/kernel/power7-pmu.c	2009-07-01 12:42:09.000000000 +1000
@@ -358,6 +358,7 @@
 	.get_constraint		= power7_get_constraint,
 	.get_alternatives	= power7_get_alternatives,
 	.disable_pmc		= power7_disable_pmc,
+	.flags			= PPMU_ALT_SIPR,
 	.n_generic		= ARRAY_SIZE(power7_generic_events),
 	.generic_events		= power7_generic_events,
 	.cache_events		= &power7_cache_events,

             reply	other threads:[~2009-07-01  3:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-01  3:07 Anton Blanchard [this message]
2009-07-01  4:46 ` [PATCH] powerpc/perf_counter: POWER7 has alternate PR/HV bits Paul Mackerras
2009-07-01  8:46 ` [tip:perfcounters/urgent] powerpc/perf_counter: Enable alternate PR/HV bits for POWER7 tip-bot for Anton Blanchard

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=20090701030701.GI3563@kryten \
    --to=anton@samba.org \
    --cc=a.p.zijlstra@chello.nl \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.