[PATCH]powerpc: Corrected include header path in kvm_para.h

2012-12-18 Thread Bharat Bhushan
The include/uapi/asm/kvm_para.h includes include/uapi/asm/epapr_hcalls.h but the correct reference should be include/asm/epapr_hcalls.h as this is the place where make install_header installs the header files for userspace. Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com ---

Re: [PATCH]powerpc: Corrected include header path in kvm_para.h

2012-12-18 Thread Alexander Graf
On 18.12.2012, at 12:21, Bharat Bhushan wrote: The include/uapi/asm/kvm_para.h includes include/uapi/asm/epapr_hcalls.h but the correct reference should be include/asm/epapr_hcalls.h as this is the place where make install_header installs the header files for userspace. Signed-off-by:

[PATCH 3/4] KVM: PPC: Book3S: PR: Enable alternative instruction for SC 1

2012-12-18 Thread Alexander Graf
When running on top of pHyp, the hypercall instruction sc 1 goes straight into pHyp without trapping in supervisor mode. So if we want to support PAPR guest in this configuration we need to add a second way of accessing PAPR hypercalls, preferably with the exact same semantics except for the

[PULL 0/4] ppc patch queue 2012-12-18

2012-12-18 Thread Alexander Graf
Hi Marcelo / Gleb, This is my current patch queue for ppc. Please pull. Changes include: - important header fix for UAPI - Book3S: PR: Enable fake sc 1 instruction for KVM on top of pHyp Alex The following changes since commit e11ae1a102b46f76441e328a2743ae5d6e201423: Gleb Natapov

[PATCH 4/4] powerpc: Corrected include header path in kvm_para.h

2012-12-18 Thread Alexander Graf
From: Bharat Bhushan r65...@freescale.com The include/uapi/asm/kvm_para.h includes include/uapi/asm/epapr_hcalls.h but the correct reference should be include/asm/epapr_hcalls.h as this is the place where make install_header installs the header files for userspace. Signed-off-by: Bharat Bhushan

[PATCH 1/4] KVM: PPC: Fix SREGS documentation reference

2012-12-18 Thread Alexander Graf
From: Mihai Caraman mihai.cara...@freescale.com Reflect the uapi folder change in SREGS API documentation. Signed-off-by: Mihai Caraman mihai.cara...@freescale.com Reviewed-by: Amos Kong kongjian...@gmail.com Signed-off-by: Alexander Graf ag...@suse.de --- Documentation/virtual/kvm/api.txt |

[PATCH 2/4] KVM: PPC: Only WARN on invalid emulation

2012-12-18 Thread Alexander Graf
When we hit an emulation result that we didn't expect, that is an error, but it's nothing that warrants a BUG(), because it can be guest triggered. So instead, let's only WARN() the user that this happened. Signed-off-by: Alexander Graf ag...@suse.de --- arch/powerpc/kvm/powerpc.c |3 ++- 1

Re: [PULL 0/4] ppc patch queue 2012-12-18

2012-12-18 Thread Gleb Natapov
On Tue, Dec 18, 2012 at 01:38:39PM +0100, Alexander Graf wrote: Hi Marcelo / Gleb, This is my current patch queue for ppc. Please pull. Is this for 3.8 or 3.9? Changes include: - important header fix for UAPI - Book3S: PR: Enable fake sc 1 instruction for KVM on top of pHyp

Re: [PULL 0/4] ppc patch queue 2012-12-18

2012-12-18 Thread Alexander Graf
On 12/18/2012 04:20 PM, Gleb Natapov wrote: On Tue, Dec 18, 2012 at 01:38:39PM +0100, Alexander Graf wrote: Hi Marcelo / Gleb, This is my current patch queue for ppc. Please pull. Is this for 3.8 or 3.9? This is for 3.9, except for the UAPI one. That one should go into 3.8 and stable.

Re: [PATCH 2/4] KVM: PPC: Only WARN on invalid emulation

2012-12-18 Thread Scott Wood
On 12/18/2012 06:38:41 AM, Alexander Graf wrote: When we hit an emulation result that we didn't expect, that is an error, but it's nothing that warrants a BUG(), because it can be guest triggered. So instead, let's only WARN() the user that this happened. Signed-off-by: Alexander Graf

Re: [PATCH 2/4] KVM: PPC: Only WARN on invalid emulation

2012-12-18 Thread Alexander Graf
On 18.12.2012, at 23:54, Scott Wood wrote: On 12/18/2012 06:38:41 AM, Alexander Graf wrote: When we hit an emulation result that we didn't expect, that is an error, but it's nothing that warrants a BUG(), because it can be guest triggered. So instead, let's only WARN() the user that this

Re: [PATCH 2/4] KVM: PPC: Only WARN on invalid emulation

2012-12-18 Thread Scott Wood
On 12/18/2012 05:01:19 PM, Alexander Graf wrote: On 18.12.2012, at 23:54, Scott Wood wrote: On 12/18/2012 06:38:41 AM, Alexander Graf wrote: When we hit an emulation result that we didn't expect, that is an error, but it's nothing that warrants a BUG(), because it can be guest

Re: [PATCH 2/4] KVM: PPC: Only WARN on invalid emulation

2012-12-18 Thread Alexander Graf
On 19.12.2012, at 00:05, Scott Wood wrote: On 12/18/2012 05:01:19 PM, Alexander Graf wrote: On 18.12.2012, at 23:54, Scott Wood wrote: On 12/18/2012 06:38:41 AM, Alexander Graf wrote: When we hit an emulation result that we didn't expect, that is an error, but it's nothing that warrants