Re: [PATCH v3 3/3] kvm/powerpc: Export HCALL reason codes

2015-05-12 Thread Scott Wood
On Tue, 2015-05-12 at 21:46 +0530, Hemant Kumar wrote: > On 05/12/2015 03:44 AM, Scott Wood wrote: > > On Fri, 2015-05-08 at 06:23 +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. > >> > >>

Re: [PATCH v3 3/3] kvm/powerpc: Export HCALL reason codes

2015-05-12 Thread Hemant Kumar
On 05/12/2015 03:44 AM, Scott Wood wrote: On Fri, 2015-05-08 at 06:23 +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. This patch moves most of the pSeries hcall codes from arch/powerpc/include/

Re: [PATCH v3 3/3] kvm/powerpc: Export HCALL reason codes

2015-05-11 Thread Scott Wood
On Fri, 2015-05-08 at 06:23 +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. > > This patch moves most of the pSeries hcall codes from > arch/powerpc/include/asm/hvcall.h to > arch/powerpc/inclu

[PATCH v3 3/3] kvm/powerpc: Export HCALL reason codes

2015-05-07 Thread Hemant Kumar
For perf to analyze the KVM events like hcalls, we need the hypervisor calls and their codes to be exported through uapi. This patch moves most of the pSeries hcall codes from arch/powerpc/include/asm/hvcall.h to arch/powerpc/include/uapi/asm/hcall_codes.h. It also moves the mapping from arch/pow