aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/hvapi.c
diff options
context:
space:
mode:
authorDavid Ahern <david.ahern@oracle.com>2015-03-19 16:06:37 -0400
committerDavid S. Miller <davem@davemloft.net>2015-03-19 18:54:49 -0700
commitb5aff55d89c27aedcae9521155b81b6aebb6c5d8 (patch)
treebc59ebea2c767a7d1411441374aa22073f700be5 /arch/sparc/kernel/hvapi.c
parentsparc: perf: Make counting mode actually work (diff)
downloadlinux-dev-b5aff55d89c27aedcae9521155b81b6aebb6c5d8.tar.xz
linux-dev-b5aff55d89c27aedcae9521155b81b6aebb6c5d8.zip
sparc: perf: Add support M7 processor
The M7 processor has a different hypervisor group id and different PCR fast trap values. PIC read/write functions and PCR bit fields are the same as the T4 so those are reused. Signed-off-by: David Ahern <david.ahern@oracle.com> Acked-by: Bob Picco <bob.picco@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/hvapi.c')
-rw-r--r--arch/sparc/kernel/hvapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/hvapi.c b/arch/sparc/kernel/hvapi.c
index 5c55145bfbf0..662500fa555f 100644
--- a/arch/sparc/kernel/hvapi.c
+++ b/arch/sparc/kernel/hvapi.c
@@ -48,6 +48,7 @@ static struct api_info api_table[] = {
{ .group = HV_GRP_VT_CPU, },
{ .group = HV_GRP_T5_CPU, },
{ .group = HV_GRP_DIAG, .flags = FLAG_PRE_API },
+ { .group = HV_GRP_M7_PERF, },
};
static DEFINE_SPINLOCK(hvapi_lock);