powerpc: Add hvcalls for 24x7 and gpci (Get Performance Counter Info)
authorCody P Schafer <cody@linux.vnet.ibm.com>
Fri, 14 Mar 2014 05:00:36 +0000 (16:00 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 23 Mar 2014 22:48:28 +0000 (09:48 +1100)
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/hvcall.h

index d8b600b3f058bda7e0358931b885b8c5d4f30215..5dbbb29f5c3e554632dd4d361a96fd4a6051a012 100644 (file)
 /* Platform specific hcalls, used by KVM */
 #define H_RTAS                 0xf000
 
+/* "Platform specific hcalls", provided by PHYP */
+#define H_GET_24X7_CATALOG_PAGE        0xF078
+#define H_GET_24X7_DATA                0xF07C
+#define H_GET_PERF_COUNTER_INFO        0xF080
+
 #ifndef __ASSEMBLY__
 
 /**