Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752751AbbFOFkN (ORCPT ); Mon, 15 Jun 2015 01:40:13 -0400 Received: from ozlabs.org ([103.22.144.67]:33183 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750751AbbFOFkI (ORCPT ); Mon, 15 Jun 2015 01:40:08 -0400 Date: Mon, 15 Jun 2015 15:37:20 +1000 From: Paul Mackerras To: Hemant Kumar Cc: linuxppc-dev@lists.ozlabs.org, maddy@linux.vnet.ibm.com, srikar@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, acme@kernel.org, scottwood@freescale.com, warrier@linux.vnet.ibm.com, sukadev@linux.vnet.ibm.com, mingo@kernel.org Subject: Re: [PATCH RESEND v4 3/3] kvm/powerpc: Export HCALL reason codes Message-ID: <20150615053720.GA15637@pale.ozlabs.ibm.com> References: <1434344169-32438-1-git-send-email-hemant@linux.vnet.ibm.com> <1434344169-32438-3-git-send-email-hemant@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434344169-32438-3-git-send-email-hemant@linux.vnet.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 566 Lines: 13 On Mon, Jun 15, 2015 at 10:26:09AM +0530, Hemant Kumar wrote: > For perf to analyze the KVM events like hcalls, we need the > hypervisor calls and their codes to be exported through uapi. Why? The hcall codes are defined externally to the kernel (in the PAPR document) and won't change. They're not kernel API. Paul. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/