From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e39.co.us.ibm.com (e39.co.us.ibm.com [32.97.110.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 99E9F2C0228 for ; Fri, 17 Jan 2014 10:54:11 +1100 (EST) Received: from /spool/local by e39.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 16 Jan 2014 16:54:09 -0700 Received: from b01cxnp22035.gho.pok.ibm.com (b01cxnp22035.gho.pok.ibm.com [9.57.198.25]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 5B73738C804D for ; Thu, 16 Jan 2014 18:54:07 -0500 (EST) Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by b01cxnp22035.gho.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s0GNs7W04063682 for ; Thu, 16 Jan 2014 23:54:07 GMT Received: from d01av03.pok.ibm.com (localhost [127.0.0.1]) by d01av03.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s0GNs6Zx015872 for ; Thu, 16 Jan 2014 18:54:06 -0500 From: Cody P Schafer To: Linux PPC Subject: [PATCH 3/8] powerpc: add hvcalls for 24x7 and gpci (get performance counter info) Date: Thu, 16 Jan 2014 15:53:49 -0800 Message-Id: <1389916434-2288-4-git-send-email-cody@linux.vnet.ibm.com> In-Reply-To: <1389916434-2288-1-git-send-email-cody@linux.vnet.ibm.com> References: <1389916434-2288-1-git-send-email-cody@linux.vnet.ibm.com> Cc: Peter Zijlstra , LKML , Ingo Molnar , Paul Mackerras , Arnaldo Carvalho de Melo , Cody P Schafer List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Signed-off-by: Cody P Schafer --- arch/powerpc/include/asm/hvcall.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/hvcall.h b/arch/powerpc/include/asm/hvcall.h index d8b600b..48d6efa 100644 --- a/arch/powerpc/include/asm/hvcall.h +++ b/arch/powerpc/include/asm/hvcall.h @@ -269,11 +269,15 @@ #define H_COP 0x304 #define H_GET_MPP_X 0x314 #define H_SET_MODE 0x31C -#define MAX_HCALL_OPCODE H_SET_MODE +#define H_GET_24X7_CATALOG_PAGE 0xF078 +#define H_GET_24X7_DATA 0xF07C +#define H_GET_PERF_COUNTER_INFO 0xF080 +#define MAX_HCALL_OPCODE H_GET_PERF_COUNTER_INFO /* Platform specific hcalls, used by KVM */ #define H_RTAS 0xf000 + #ifndef __ASSEMBLY__ /** -- 1.8.5.2