Re: [PATCH] bookehv: Handle debug exception on guest exit

2013-04-11 Thread Kumar Gala
On Apr 5, 2013, at 2:53 AM, Bhushan Bharat-R65777 wrote: Hi Kumar/Benh, After further looking into the code I think that if we correct the vector range below in DebugDebug handler then we do not need the change I provided in this patch. Here is the snapshot for 32 bit (head_booke.h,

Re: [PATCH] bookehv: Handle debug exception on guest exit

2013-04-11 Thread Kumar Gala
On Apr 5, 2013, at 2:53 AM, Bhushan Bharat-R65777 wrote: Hi Kumar/Benh, After further looking into the code I think that if we correct the vector range below in DebugDebug handler then we do not need the change I provided in this patch. Here is the snapshot for 32 bit (head_booke.h,

Re: [PATCH][v4] PPC: add paravirt idle loop for 64-bit book E

2013-03-13 Thread Kumar Gala
On Feb 8, 2013, at 1:22 PM, Stuart Yoder wrote: From: Stuart Yoder stuart.yo...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -removed KVM prefix to patch subject, patch is not KVM specific arch/powerpc/kernel/epapr_hcalls.S |2 ++

Re: [PATCH][v4] PPC: add paravirt idle loop for 64-bit book E

2013-03-13 Thread Kumar Gala
On Feb 8, 2013, at 1:22 PM, Stuart Yoder wrote: From: Stuart Yoder stuart.yo...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- -removed KVM prefix to patch subject, patch is not KVM specific arch/powerpc/kernel/epapr_hcalls.S |2 ++

Re: [PATCH 2/4] powerpc/booke: Merge the 32 bit e5500/e500mc cpu setup code.

2012-08-04 Thread Kumar Gala
On Jul 9, 2012, at 7:58 AM, Varun Sethi wrote: Merge the 32 bit cpu setup code for e500mc/e5500 and define the cpu_restore routine (for e5500/e6500) only for the 64 bit case. The cpu_restore routine is used in the 64 bit case for setting up the secondary cores. Signed-off-by: Varun Sethi

Re: [PATCH 3/4] powerpc/booke: Separate out restore_e5500/setup_e5500 routines.

2012-08-04 Thread Kumar Gala
On Jul 9, 2012, at 8:01 AM, Varun Sethi wrote: For the 64 bit case separate out e5500 cpu_setup and cpu_restore functions. The cpu_setup function (for the primary core) is passed the cpu_spec pointer, which is not there in case of the cpu_restore function. Also, in our case we will have to

Re: [PATCH 4/4] powerpc/booke: Add CPU_FTR_EMB_HV check for e5500.

2012-08-03 Thread Kumar Gala
On Jul 9, 2012, at 8:04 AM, Varun Sethi wrote: Added CPU_FTR_EMB_HV feature check for e550. Signed-off-by: Varun Sethi varun.se...@freescale.com Signed-off-by: Mihai Caraman mihai.cara...@freescale.com --- arch/powerpc/kernel/cpu_setup_fsl_booke.S |6 ++ 1 files changed, 6

Re: [PATCH v2 1/2] powerpc/e500: make load_up_spe a normal fuction

2012-07-10 Thread Kumar Gala
On Feb 29, 2012, at 7:20 PM, Olivia Yin wrote: From: Liu Yu yu@freescale.com So that we can call it when improving SPE switch like book3e did for fp switch. Signed-off-by: Liu Yu yu@freescale.com Signed-off-by: Olivia Yin hong-hua@freescale.com --- v2: add Signed-off-by

Re: [PATCH v2 1/2] powerpc/e500: make load_up_spe a normal fuction

2012-07-10 Thread Kumar Gala
On Feb 29, 2012, at 7:20 PM, Olivia Yin wrote: From: Liu Yu yu@freescale.com So that we can call it when improving SPE switch like book3e did for fp switch. Signed-off-by: Liu Yu yu@freescale.com Signed-off-by: Olivia Yin hong-hua@freescale.com --- v2: add Signed-off-by

Re: [PATCH] powerpc/e6500: add CPU_FTR_EMB_HV to CPU table

2012-04-13 Thread Kumar Gala
, leaving e6500's CPU table entry missing CPU_FTR_EMB_HV. Signed-off-by: Scott Wood scottw...@freescale.com --- Fixup patch for the KVM merge as requested by Marcelo. arch/powerpc/include/asm/cputable.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Acked-by: Kumar Gala ga

Re: [PATCH] powerpc/e6500: add CPU_FTR_EMB_HV to CPU table

2012-04-13 Thread Kumar Gala
, leaving e6500's CPU table entry missing CPU_FTR_EMB_HV. Signed-off-by: Scott Wood scottw...@freescale.com --- Fixup patch for the KVM merge as requested by Marcelo. arch/powerpc/include/asm/cputable.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Acked-by: Kumar Gala ga

Re: [PATCH 12/38] powerpc/booke: Provide exception macros with interrupt name

2012-03-21 Thread Kumar Gala
On Mar 21, 2012, at 1:19 PM, Scott Wood wrote: On 03/21/2012 01:04 PM, Kumar Gala wrote: On Feb 28, 2012, at 6:09 PM, Alexander Graf wrote: From: Scott Wood scottw...@freescale.com DO_KVM will need to identify the particular exception type. There is an existing set of arbitrary

Re: [PATCH 12/38] powerpc/booke: Provide exception macros with interrupt name

2012-03-21 Thread Kumar Gala
On Mar 21, 2012, at 1:19 PM, Scott Wood wrote: On 03/21/2012 01:04 PM, Kumar Gala wrote: On Feb 28, 2012, at 6:09 PM, Alexander Graf wrote: From: Scott Wood scottw...@freescale.com DO_KVM will need to identify the particular exception type. There is an existing set of arbitrary

Re: [PATCH 01/13] powerpc/e500: Save SPEFCSR in flush_spe_to_thread()

2011-05-19 Thread Kumar Gala
-- arch/powerpc/kernel/process.c|1 + arch/powerpc/kernel/traps.c |5 + 3 files changed, 2 insertions(+), 6 deletions(-) Acked-by: Kumar Gala ga...@kernel.crashing.org [ Alex, let me know if you want this via my powerpc.git tree or your kvm tree ] - k-- To unsubscribe from

Re: [PATCH 02/13] powerpc/e500: SPE register saving: take arbitrary struct offset

2011-05-19 Thread Kumar Gala
files changed, 19 insertions(+), 15 deletions(-) Acked-by: Kumar Gala ga...@kernel.crashing.org [ Alex, let me know if you want this via my powerpc.git tree or your kvm tree ] - k -- To unsubscribe from this list: send the line unsubscribe kvm-ppc in the body of a message to majord

Re: [PATCH] powerpc: remove fpscr use from [kvm_]cvt_{fd,df}

2010-08-23 Thread Kumar Gala
On Aug 22, 2010, at 7:23 PM, Michael Neuling wrote: Neither lfs nor stfs touch the fpscr, so remove the restore/save of it around them. Do some 32 bit processors need this? In 32 bit before the merge, we use to have code that did: #if defined(CONFIG_4xx) || defined(CONFIG_E500)

Re: [PATCH 00/27] KVM PPC PV framework v3

2010-08-06 Thread Kumar Gala
On Jul 29, 2010, at 7:47 AM, Alexander Graf wrote: [without] debian-powerpc:~# time for i in {1..1000}; do /bin/echo hello /dev/null; done real0m14.659s user0m8.967s sys 0m5.688s [with] debian-powerpc:~# time for i in {1..1000}; do /bin/echo hello /dev/null; done

Re: [PATCH 00/27] KVM PPC PV framework v3

2010-08-06 Thread Kumar Gala
On Jul 29, 2010, at 7:47 AM, Alexander Graf wrote: [without] debian-powerpc:~# time for i in {1..1000}; do /bin/echo hello /dev/null; done real0m14.659s user0m8.967s sys 0m5.688s [with] debian-powerpc:~# time for i in {1..1000}; do /bin/echo hello /dev/null; done

Re: [PATCH 4/4] kvmppc: convert wrteei to wrtee as kvm guest optimization

2008-08-21 Thread Kumar Gala
On Aug 19, 2008, at 5:36 AM, [EMAIL PROTECTED] wrote: From: Christian Ehrhardt [EMAIL PROTECTED] Dependent on the already existing CONFIG_KVM_GUEST config option this patch changes wrteei to wrtee allowing the hypervisor to rewrite those to nontrapping instructions. Maybe we should split