summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/hvapi.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-08-17 05:35:41 +0200
committerDavid S. Miller <davem@davemloft.net>2012-08-19 08:03:53 +0200
commit8c79bfa51101354853f0f5d3b02435cec429da51 (patch)
tree412a66bd5885179b65a957956ad7978b6bada7f4 /arch/sparc/kernel/hvapi.c
parentsparc64: Add detection for features new in SPARC-T4. (diff)
downloadlinux-8c79bfa51101354853f0f5d3b02435cec429da51.tar.xz
linux-8c79bfa51101354853f0f5d3b02435cec429da51.zip
sparc64: Add hypervisor interfaces for SPARC-T4 perf counter access.
Unlike for previous chips, access to the perf-counter control registers are all hyper-privileged. Therefore, access to them must go through a hypervisor interface. 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 8593672838fd..1032df43ec95 100644
--- a/arch/sparc/kernel/hvapi.c
+++ b/arch/sparc/kernel/hvapi.c
@@ -45,6 +45,7 @@ static struct api_info api_table[] = {
{ .group = HV_GRP_NIU, },
{ .group = HV_GRP_VF_CPU, },
{ .group = HV_GRP_KT_CPU, },
+ { .group = HV_GRP_VT_CPU, },
{ .group = HV_GRP_DIAG, .flags = FLAG_PRE_API },
};