Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753853AbbFOFkW (ORCPT ); Mon, 15 Jun 2015 01:40:22 -0400 Received: from ozlabs.org ([103.22.144.67]:40088 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751386AbbFOFkI (ORCPT ); Mon, 15 Jun 2015 01:40:08 -0400 Date: Mon, 15 Jun 2015 15:39:43 +1000 From: Paul Mackerras To: Hemant Kumar Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, acme@kernel.org, mingo@kernel.org, mpe@ellerman.id.au, sukadev@linux.vnet.ibm.com, maddy@linux.vnet.ibm.com, warrier@linux.vnet.ibm.com, srikar@linux.vnet.ibm.com, scottwood@freescale.com Subject: Re: [PATCH RESEND v4 1/3] kvm/powerpc: Export kvm exit reasons Message-ID: <20150615053943.GB15637@pale.ozlabs.ibm.com> References: <1434344169-32438-1-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-1-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: 1003 Lines: 22 On Mon, Jun 15, 2015 at 10:26:07AM +0530, Hemant Kumar wrote: > To analyze the kvm exits with perf, we will need to map the exit codes > with the exit reasons. Such a mapping exists today in trace_book3s.h. > Currently its not exported to perf. > > This patch moves these kvm exit reasons and their mapping from > "arch/powerpc/kvm/trace_book3s.h" to > "arch/powerpc/include/uapi/asm/trace_book3s.h". > Accordingly change the include files in "trace_hv.h" and "trace_pr.h". These are not really exit reasons so much as Power ISA interrupt vectors, defined externally to the kernel (in the Power ISA document) and not subject to change (at least, kernel developers can't change them). So I don't see why this needs to be "exported" from the kernel. 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/