From: Cody P Schafer Date: Fri, 14 Mar 2014 05:00:36 +0000 (+1100) Subject: powerpc: Add hvcalls for 24x7 and gpci (Get Performance Counter Info) X-Git-Tag: v4.14-rc1~7796^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=827f798ac13c27c4a122175c60a3a684b59e9103;p=platform%2Fkernel%2Flinux-rpi.git powerpc: Add hvcalls for 24x7 and gpci (Get Performance Counter Info) Signed-off-by: Cody P Schafer Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/include/asm/hvcall.h b/arch/powerpc/include/asm/hvcall.h index d8b600b..5dbbb29 100644 --- a/arch/powerpc/include/asm/hvcall.h +++ b/arch/powerpc/include/asm/hvcall.h @@ -274,6 +274,11 @@ /* 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__ /**