diff options
author | David S. Miller <davem@davemloft.net> | 2012-08-17 05:35:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-19 08:03:53 +0200 |
commit | 8c79bfa51101354853f0f5d3b02435cec429da51 (patch) | |
tree | 412a66bd5885179b65a957956ad7978b6bada7f4 /arch/sparc/kernel/hvapi.c | |
parent | sparc64: Add detection for features new in SPARC-T4. (diff) | |
download | linux-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.c | 1 |
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 }, }; |