]> git.openfabrics.org - ~emulex/infiniband.git/commit
sparc64: Add hypervisor interfaces for SPARC-T4 perf counter access.
authorDavid S. Miller <davem@davemloft.net>
Fri, 17 Aug 2012 03:35:41 +0000 (20:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Aug 2012 06:03:53 +0000 (23:03 -0700)
commit8c79bfa51101354853f0f5d3b02435cec429da51
tree412a66bd5885179b65a957956ad7978b6bada7f4
parent6f859c0e96f0737a543610a189d12420c569110f
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>
arch/sparc/include/asm/hypervisor.h
arch/sparc/kernel/hvapi.c
arch/sparc/kernel/hvcalls.S