瀏覽代碼

powerpc: Add hvcalls for 24x7 and gpci (Get Performance Counter Info)

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>
Cody P Schafer 11 年之前
父節點
當前提交
827f798ac1
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      arch/powerpc/include/asm/hvcall.h

+ 5 - 0
arch/powerpc/include/asm/hvcall.h

@@ -274,6 +274,11 @@
 /* Platform specific hcalls, used by KVM */
 /* Platform specific hcalls, used by KVM */
 #define H_RTAS			0xf000
 #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__
 #ifndef __ASSEMBLY__
 
 
 /**
 /**