Re: [PATCH] Added support for PRTLVT based boards (MPC5121)

2008-06-22 Thread David Jander
On Friday 20 June 2008 16:36:20 you wrote: > I have a set of patches that I will be submitting later today that > adds the generic board support without removing ADS. So I would > prefer for you to just submit a device tree file for your board. Ok, thanks. I'll check your patches, fix our DT and

[PATCH 9/9] powerpc: Add CONFIG_VSX config option

2008-06-22 Thread Michael Neuling
Add CONFIG_VSX config build option. Must compile with POWER4, FPU and ALTIVEC. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- arch/powerpc/platforms/Kconfig.cputype | 16 1 file changed, 16 insertions(+) Index: linux-2.6-ozlabs/arch/powerpc/platforms/Kconfig.cputype

[PATCH 6/9] powerpc: Add VSX CPU feature

2008-06-22 Thread Michael Neuling
Add a VSX CPU feature. Also add code to detect if VSX is available from the device tree. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> Signed-off-by: Joel Schopp <[EMAIL PROTECTED]> --- arch/powerpc/kernel/prom.c |4 include/asm-powerpc/cputable.h | 15 ++- 2 fi

[PATCH 8/9] powerpc: Add VSX context save/restore, ptrace and signal support

2008-06-22 Thread Michael Neuling
This patch extends the floating point save and restore code to use the VSX load/stores when VSX is available. This will make FP context save/restore marginally slower on FP only code, when VSX is available, as it has to load/store 128bits rather than just 64bits. Mixing FP, VMX and VSX code will

[PATCH 7/9] powerpc: Add VSX assembler code macros

2008-06-22 Thread Michael Neuling
This adds the macros for the VSX load/store instruction as most binutils are not going to support this for a while. Also add VSX register save/restore macros and vsr[0-63] register definitions. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- include/asm-powerpc/ppc_asm.h | 127 +

[PATCH 5/9] powerpc: Introduce VSX thread_struct and CONFIG_VSX

2008-06-22 Thread Michael Neuling
The layout of the new VSR registers and how they overlap on top of the legacy FPR and VR registers is: VSR doubleword 0 VSR doubleword 1 VSR[0] | FPR[0]|

[PATCH 3/9] powerpc: Move altivec_unavailable

2008-06-22 Thread Michael Neuling
Move the altivec_unavailable code, to make room at 0xf40 where the vsx_unavailable exception will be. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- arch/powerpc/kernel/head_64.S |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6-ozlabs/arch/powerpc/kernel/head

[PATCH 4/9] powerpc: Make load_up_fpu and load_up_altivec callable

2008-06-22 Thread Michael Neuling
Make load_up_fpu and load_up_altivec callable so they can be reused by the VSX code. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- arch/powerpc/kernel/fpu.S|2 +- arch/powerpc/kernel/head_32.S|6 -- arch/powerpc/kernel/head_64.S|8 +--- arch/powerpc

[PATCH 1/9] powerpc: Fix msr setting in 32 bit signal code

2008-06-22 Thread Michael Neuling
If we set the SPE MSR bit in save_user_regs we can blow away the VEC bit. This will never happen in reality (VMX and SPE will never be in the same processor as their opcodes overlap), but it looks bad. Also when we add VSX here in a later patch, we can hit two of these at the same time. Signed

[PATCH 2/9] powerpc: Add macros to access floating point registers in thread_struct.

2008-06-22 Thread Michael Neuling
We are going to change where the floating point registers are stored in the thread_struct, so in preparation add some macros to access the floating point registers. Update all code to use these new macros. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- arch/powerpc/kernel/align.c |

[PATCH 0/9] powerpc: Add kernel support for POWER7 VSX.

2008-06-22 Thread Michael Neuling
The following set of patches adds Vector Scalar Extentions (VSX) support for POWER7. Includes context switch, ptrace and signals support. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- Paulus: please consider for your 2.6.27 tree. - Updated to remove the union that Kumar doesn't like.

Re: Merging seperate FDT-blobs?

2008-06-22 Thread David Gibson
On Fri, Jun 20, 2008 at 06:10:33PM +0200, Wolfram Sang wrote: > On Fri, Jun 13, 2008 at 02:23:04PM +1000, David Gibson wrote: > > > > a project I am working on consists of different hardware modules, which > > > can be combined in a lot of variations (not at runtime, though). As each > > > module

Re: [RFC 3/3 v2] s390: use virtio_console for KVM on s390

2008-06-22 Thread Rusty Russell
On Friday 20 June 2008 23:24:18 Christian Borntraeger wrote: > This patch enables virtio_console as the default console on kvm for > s390. We currently use the same notify hack as lguest for early > console output. I will try to address this for lguest and s390 later. > > Signed-off-by: Christian B

Re: [PATCH 1/5] Allow drc indexes to be specified in formats other than decimal

2008-06-22 Thread Nathan Fontenot
Sergei Shtylyov wrote: I guess checkpatch.pl told you to consider switching to strict_strtol()? :-) WBR, Sergei Yes, it did warn about not switching. There other places in this file that use simple_strtoul so I was hoping to submit a followon patch that converts everything. -Nathan _

Re: [PATCH 2/9] powerpc: Add macros to access floating point registers in thread_struct.

2008-06-22 Thread Michael Neuling
In message <[EMAIL PROTECTED]> you wrote : > > On Jun 19, 2008, at 11:13 PM, Michael Neuling wrote: > > > Index: linux-2.6-ozlabs/include/asm-powerpc/processor.h > > === > > --- linux-2.6-ozlabs.orig/include/asm-powerpc/processor.h