Re: [RFC PATCH 0/6] KVM: PPC: Book3E: AltiVec support

2013-06-06 Thread Scott Wood

On 06/06/2013 04:42:44 AM, Caraman Mihai Claudiu-B02008 wrote:
   This looks like a bit much for 3.10 (certainly, subject lines  
like

   refactor and enhance and add support aren't going to make
  Linus
   happy given that we're past rc4) so I think we should apply
   http://patchwork.ozlabs.org/patch/242896/ for 3.10.  Then for  
3.11,

   revert it after applying this patchset.
  
 
  Why not 1/6 plus e6500 removal?

 1/6 is not a bugfix.

Not sure I get it. Isn't this a better fix for AltiVec build breakage:

-#define BOOKE_INTERRUPT_ALTIVEC_UNAVAIL 42
-#define BOOKE_INTERRUPT_ALTIVEC_ASSIST 43
+#define BOOKE_INTERRUPT_ALTIVEC_UNAVAIL 32
+#define BOOKE_INTERRUPT_ALTIVEC_ASSIST 33

This removes the need for additional kvm_handlers. Obvious this  
doesn't make

AltiVec to work so we still need to disable e6500.


OK, didn't realize you meant it as an alternative fix to what was in my  
patch.


-Scott
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: [RFC PATCH 0/6] KVM: PPC: Book3E: AltiVec support

2013-06-05 Thread Caraman Mihai Claudiu-B02008
 -Original Message-
 From: Wood Scott-B07421
 Sent: Wednesday, June 05, 2013 12:39 AM
 To: Caraman Mihai Claudiu-B02008
 Cc: kvm-ppc@vger.kernel.org; k...@vger.kernel.org; linuxppc-
 d...@lists.ozlabs.org; Alexander Graf
 Subject: Re: [RFC PATCH 0/6] KVM: PPC: Book3E: AltiVec support
 
 On 06/03/2013 03:54:22 PM, Mihai Caraman wrote:
  Mihai Caraman (6):
KVM: PPC: Book3E: Fix AltiVec interrupt numbers and build breakage
KVM: PPC: Book3E: Refactor SPE_FP exit handling
KVM: PPC: Book3E: Rename IRQPRIO names to accommodate ALTIVEC
KVM: PPC: Book3E: Add AltiVec support
KVM: PPC: Book3E: Add ONE_REG AltiVec support
KVM: PPC: Book3E: Enhance FPU laziness
 
   arch/powerpc/include/asm/kvm_asm.h|   16 ++-
   arch/powerpc/kvm/booke.c  |  189
  
   arch/powerpc/kvm/booke.h  |4 +-
   arch/powerpc/kvm/bookehv_interrupts.S |8 +-
   arch/powerpc/kvm/e500.c   |   10 +-
   arch/powerpc/kvm/e500_emulate.c   |8 +-
   arch/powerpc/kvm/e500mc.c |   10 ++-
   7 files changed, 199 insertions(+), 46 deletions(-)
 
 This looks like a bit much for 3.10 (certainly, subject lines like
 refactor and enhance and add support aren't going to make Linus
 happy given that we're past rc4) so I think we should apply
 http://patchwork.ozlabs.org/patch/242896/ for 3.10.  Then for 3.11,
 revert it after applying this patchset.
 

Why not 1/6 plus e6500 removal?

-Mike


--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [RFC PATCH 0/6] KVM: PPC: Book3E: AltiVec support

2013-06-05 Thread Scott Wood

On 06/05/2013 02:10:07 AM, Caraman Mihai Claudiu-B02008 wrote:

 -Original Message-
 From: Wood Scott-B07421
 Sent: Wednesday, June 05, 2013 12:39 AM
 To: Caraman Mihai Claudiu-B02008
 Cc: kvm-ppc@vger.kernel.org; k...@vger.kernel.org; linuxppc-
 d...@lists.ozlabs.org; Alexander Graf
 Subject: Re: [RFC PATCH 0/6] KVM: PPC: Book3E: AltiVec support

 On 06/03/2013 03:54:22 PM, Mihai Caraman wrote:
  Mihai Caraman (6):
KVM: PPC: Book3E: Fix AltiVec interrupt numbers and build  
breakage

KVM: PPC: Book3E: Refactor SPE_FP exit handling
KVM: PPC: Book3E: Rename IRQPRIO names to accommodate ALTIVEC
KVM: PPC: Book3E: Add AltiVec support
KVM: PPC: Book3E: Add ONE_REG AltiVec support
KVM: PPC: Book3E: Enhance FPU laziness
 
   arch/powerpc/include/asm/kvm_asm.h|   16 ++-
   arch/powerpc/kvm/booke.c  |  189
  
   arch/powerpc/kvm/booke.h  |4 +-
   arch/powerpc/kvm/bookehv_interrupts.S |8 +-
   arch/powerpc/kvm/e500.c   |   10 +-
   arch/powerpc/kvm/e500_emulate.c   |8 +-
   arch/powerpc/kvm/e500mc.c |   10 ++-
   7 files changed, 199 insertions(+), 46 deletions(-)

 This looks like a bit much for 3.10 (certainly, subject lines like
 refactor and enhance and add support aren't going to make  
Linus

 happy given that we're past rc4) so I think we should apply
 http://patchwork.ozlabs.org/patch/242896/ for 3.10.  Then for 3.11,
 revert it after applying this patchset.


Why not 1/6 plus e6500 removal?


1/6 is not a bugfix.

-Scott
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [RFC PATCH 0/6] KVM: PPC: Book3E: AltiVec support

2013-06-04 Thread Scott Wood

On 06/03/2013 03:54:22 PM, Mihai Caraman wrote:

Mihai Caraman (6):
  KVM: PPC: Book3E: Fix AltiVec interrupt numbers and build breakage
  KVM: PPC: Book3E: Refactor SPE_FP exit handling
  KVM: PPC: Book3E: Rename IRQPRIO names to accommodate ALTIVEC
  KVM: PPC: Book3E: Add AltiVec support
  KVM: PPC: Book3E: Add ONE_REG AltiVec support
  KVM: PPC: Book3E: Enhance FPU laziness

 arch/powerpc/include/asm/kvm_asm.h|   16 ++-
 arch/powerpc/kvm/booke.c  |  189  


 arch/powerpc/kvm/booke.h  |4 +-
 arch/powerpc/kvm/bookehv_interrupts.S |8 +-
 arch/powerpc/kvm/e500.c   |   10 +-
 arch/powerpc/kvm/e500_emulate.c   |8 +-
 arch/powerpc/kvm/e500mc.c |   10 ++-
 7 files changed, 199 insertions(+), 46 deletions(-)


This looks like a bit much for 3.10 (certainly, subject lines like  
refactor and enhance and add support aren't going to make Linus  
happy given that we're past rc4) so I think we should apply  
http://patchwork.ozlabs.org/patch/242896/ for 3.10.  Then for 3.11,  
revert it after applying this patchset.


-Scott
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[RFC PATCH 0/6] KVM: PPC: Book3E: AltiVec support

2013-06-03 Thread Mihai Caraman
Mihai Caraman (6):
  KVM: PPC: Book3E: Fix AltiVec interrupt numbers and build breakage
  KVM: PPC: Book3E: Refactor SPE_FP exit handling
  KVM: PPC: Book3E: Rename IRQPRIO names to accommodate ALTIVEC
  KVM: PPC: Book3E: Add AltiVec support
  KVM: PPC: Book3E: Add ONE_REG AltiVec support
  KVM: PPC: Book3E: Enhance FPU laziness

 arch/powerpc/include/asm/kvm_asm.h|   16 ++-
 arch/powerpc/kvm/booke.c  |  189 
 arch/powerpc/kvm/booke.h  |4 +-
 arch/powerpc/kvm/bookehv_interrupts.S |8 +-
 arch/powerpc/kvm/e500.c   |   10 +-
 arch/powerpc/kvm/e500_emulate.c   |8 +-
 arch/powerpc/kvm/e500mc.c |   10 ++-
 7 files changed, 199 insertions(+), 46 deletions(-)

-- 
1.7.4.1


--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html