diff options
author | Cody P Schafer <cody@linux.vnet.ibm.com> | 2014-03-14 01:00:36 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-03-23 18:48:28 -0400 |
commit | 827f798ac13c27c4a122175c60a3a684b59e9103 (patch) | |
tree | e9facbc71e59060b90bb5ccdb2b97ed0e5967b48 | |
parent | e1ed9bc0ee204ea839dac33ef6bd6c813188d75e (diff) |
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>
-rw-r--r-- | arch/powerpc/include/asm/hvcall.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/hvcall.h b/arch/powerpc/include/asm/hvcall.h index d8b600b3f058..5dbbb29f5c3e 100644 --- a/arch/powerpc/include/asm/hvcall.h +++ b/arch/powerpc/include/asm/hvcall.h | |||
@@ -274,6 +274,11 @@ | |||
274 | /* Platform specific hcalls, used by KVM */ | 274 | /* Platform specific hcalls, used by KVM */ |
275 | #define H_RTAS 0xf000 | 275 | #define H_RTAS 0xf000 |
276 | 276 | ||
277 | /* "Platform specific hcalls", provided by PHYP */ | ||
278 | #define H_GET_24X7_CATALOG_PAGE 0xF078 | ||
279 | #define H_GET_24X7_DATA 0xF07C | ||
280 | #define H_GET_PERF_COUNTER_INFO 0xF080 | ||
281 | |||
277 | #ifndef __ASSEMBLY__ | 282 | #ifndef __ASSEMBLY__ |
278 | 283 | ||
279 | /** | 284 | /** |