diff options
author | David Ahern <david.ahern@oracle.com> | 2015-03-19 16:06:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-19 18:54:49 -0700 |
commit | b5aff55d89c27aedcae9521155b81b6aebb6c5d8 (patch) | |
tree | bc59ebea2c767a7d1411441374aa22073f700be5 /arch/sparc/kernel/hvapi.c | |
parent | d51291cb8f32bfae6b331e1838651f3ddefa73a5 (diff) | |
download | op-kernel-dev-b5aff55d89c27aedcae9521155b81b6aebb6c5d8.zip op-kernel-dev-b5aff55d89c27aedcae9521155b81b6aebb6c5d8.tar.gz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/hvapi.c b/arch/sparc/kernel/hvapi.c index 5c55145..662500f 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); |