All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
To: benh@us.ibm.com
Cc: michaele@au1.ibm.com, Anton Blanchard <anton@au1.ibm.com>,
	linuxppc-dev@ozlabs.org, cel@linux.vnet.ibm.com,
	khandual@linux.vnet.ibm.com
Subject: [PATCH 1/2][v2] powerpc: Define PV_POWER7p
Date: Mon, 16 Jul 2012 14:22:02 -0700	[thread overview]
Message-ID: <20120716212202.GA14033@us.ibm.com> (raw)

>From 7e47842eb50d56bdeba44ea526979ee5160dbbc0 Mon Sep 17 00:00:00 2001
From: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Date: Tue, 3 Jul 2012 13:32:46 -0700
Subject: [PATCH 1/2][v2] powerpc: Define PV_POWER7p

This change is based on the patch that Carl Love posted to LKML

	https://lkml.org/lkml/2012/6/22/309

It is included here for completeness and to enable building. When
the above patch is merged, this patch can be ignored.

Changelog[v2]:
	- [Gabriel Paubert] Rename PV_POWER7P to PV_POWER7p and keep the
	  processor versions in numeric order.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
---
 arch/powerpc/include/asm/reg.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h
index f0cb7f4..65b6164 100644
--- a/arch/powerpc/include/asm/reg.h
+++ b/arch/powerpc/include/asm/reg.h
@@ -1015,9 +1015,10 @@
 #define PV_POWER6	0x003E
 #define PV_POWER7	0x003F
 #define PV_630		0x0040
-#define PV_630p	0x0041
+#define PV_630p		0x0041
 #define PV_970MP	0x0044
 #define PV_970GX	0x0045
+#define PV_POWER7p	0x004A
 #define PV_BE		0x0070
 #define PV_PA6T		0x0090
 
-- 
1.7.1

             reply	other threads:[~2012-07-16 21:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-16 21:22 Sukadev Bhattiprolu [this message]
2012-07-16 21:22 ` [PATCH 2/2][v2] powerpc/perf: Sample only if SIAR-Valid bit is set in P7+ Sukadev Bhattiprolu
2012-09-07  0:50   ` Benjamin Herrenschmidt

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=20120716212202.GA14033@us.ibm.com \
    --to=sukadev@linux.vnet.ibm.com \
    --cc=anton@au1.ibm.com \
    --cc=benh@us.ibm.com \
    --cc=cel@linux.vnet.ibm.com \
    --cc=khandual@linux.vnet.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=michaele@au1.ibm.com \
    /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.