[PATCH] PowerPC: Fix num_cpus calculation in smp_call_function_map()

2007-07-31 Thread Kevin Corry
-by: Kevin Corry <[EMAIL PROTECTED]> Signed-off-by: Carl Love <[EMAIL PROTECTED]> Index: linux-2.6.23-rc1/arch/powerpc/kernel/smp.c === --- linux-2.6.23-rc1.orig/arch/powerpc/kernel/smp.c +++ linux-2.6.23-rc1/arch/powerpc/

[PATCH] PowerPC: Fix num_cpus calculation in smp_call_function_map()

2007-07-31 Thread Kevin Corry
-by: Kevin Corry [EMAIL PROTECTED] Signed-off-by: Carl Love [EMAIL PROTECTED] Index: linux-2.6.23-rc1/arch/powerpc/kernel/smp.c === --- linux-2.6.23-rc1.orig/arch/powerpc/kernel/smp.c +++ linux-2.6.23-rc1/arch/powerpc/kernel/smp.c @@ -212,11

Re: [PATCH 2/2] powerpc: change topology_init() to a subsys_initcall

2007-05-03 Thread Kevin Corry
Hi Michael, On Wed May 2 2007 8:11 pm, Michael Ellerman wrote: > On Wed, 2007-05-02 at 12:11 -0500, Kevin Corry wrote: > > Change the powerpc version of topology_init() from an __initcall to > > a subsys_initcall to match all other architectures. > > > > Signed-

Re: [PATCH 2/2] powerpc: change topology_init() to a subsys_initcall

2007-05-03 Thread Kevin Corry
Hi Michael, On Wed May 2 2007 8:11 pm, Michael Ellerman wrote: On Wed, 2007-05-02 at 12:11 -0500, Kevin Corry wrote: Change the powerpc version of topology_init() from an __initcall to a subsys_initcall to match all other architectures. Signed-off-by: Kevin Corry [EMAIL PROTECTED

[PATCH 1/2] powerpc: add smp_call_function_single()

2007-05-02 Thread Kevin Corry
explicitly calls preempt_disable() before getting the count of online CPUs. Signed-off-by: Kevin Corry <[EMAIL PROTECTED]> Index: linux-2.6.21/arch/powerpc/kernel/smp.c === --- linux-2.6.21.orig/arch/powerpc/kernel/smp.c +++ linux-2.6.2

[PATCH 2/2] powerpc: change topology_init() to a subsys_initcall

2007-05-02 Thread Kevin Corry
Change the powerpc version of topology_init() from an __initcall to a subsys_initcall to match all other architectures. Signed-off-by: Kevin Corry <[EMAIL PROTECTED]> Index: linux-2.6.21/arch/powerpc/kernel/sysfs.c === ---

[PATCH 0/2] powerpc: perfmon2 prereqs

2007-05-02 Thread Kevin Corry
its __initcall routine. We have been running tests with these patches for the last few weeks on Cell and Power5 systems without any problems. Thanks, -- Kevin Corry [EMAIL PROTECTED] http://www.ibm.com/linux/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

[PATCH 0/2] powerpc: perfmon2 prereqs

2007-05-02 Thread Kevin Corry
its __initcall routine. We have been running tests with these patches for the last few weeks on Cell and Power5 systems without any problems. Thanks, -- Kevin Corry [EMAIL PROTECTED] http://www.ibm.com/linux/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH 1/2] powerpc: add smp_call_function_single()

2007-05-02 Thread Kevin Corry
explicitly calls preempt_disable() before getting the count of online CPUs. Signed-off-by: Kevin Corry [EMAIL PROTECTED] Index: linux-2.6.21/arch/powerpc/kernel/smp.c === --- linux-2.6.21.orig/arch/powerpc/kernel/smp.c +++ linux-2.6.21

[PATCH 2/2] powerpc: change topology_init() to a subsys_initcall

2007-05-02 Thread Kevin Corry
Change the powerpc version of topology_init() from an __initcall to a subsys_initcall to match all other architectures. Signed-off-by: Kevin Corry [EMAIL PROTECTED] Index: linux-2.6.21/arch/powerpc/kernel/sysfs.c === --- linux

Re: Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
On Thu April 5 2007 6:04 pm, Benjamin Herrenschmidt wrote: > On Thu, 2007-04-05 at 14:55 -0500, Kevin Corry wrote: > > First, the stock 2.6.20 kernel has a prototype in include/linux/smp.h for > > a function called smp_call_function_single(). However, this routine is > > onl

Re: Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
On Thu April 5 2007 3:32 pm, Kevin Corry wrote: > On Thu April 5 2007 3:08 pm, Arnd Bergmann wrote: > > On Thursday 05 April 2007, Kevin Corry wrote: > > > First, the stock 2.6.20 kernel has a prototype in include/linux/smp.h > > > for a function called smp_call

Re: Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
On Thu April 5 2007 3:08 pm, Arnd Bergmann wrote: > On Thursday 05 April 2007, Kevin Corry wrote: > > First, the stock 2.6.20 kernel has a prototype in include/linux/smp.h for > > a function called smp_call_function_single(). However, this routine is > > only implemented

Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
problems elsewhere in the powerpc code. I've included the patch below (after the smp-call-function-single patch). Does anyone know if this change is safe, or if there was a specific reason that topology_init() was left as an __initcall() on powerpc? Thanks for your help! -- Kevin Corry [EMAIL

Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
problems elsewhere in the powerpc code. I've included the patch below (after the smp-call-function-single patch). Does anyone know if this change is safe, or if there was a specific reason that topology_init() was left as an __initcall() on powerpc? Thanks for your help! -- Kevin Corry [EMAIL

Re: Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
On Thu April 5 2007 3:08 pm, Arnd Bergmann wrote: On Thursday 05 April 2007, Kevin Corry wrote: First, the stock 2.6.20 kernel has a prototype in include/linux/smp.h for a function called smp_call_function_single(). However, this routine is only implemented on i386, x86_64, ia64, and mips

Re: Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
On Thu April 5 2007 3:32 pm, Kevin Corry wrote: On Thu April 5 2007 3:08 pm, Arnd Bergmann wrote: On Thursday 05 April 2007, Kevin Corry wrote: First, the stock 2.6.20 kernel has a prototype in include/linux/smp.h for a function called smp_call_function_single(). However, this routine

Re: Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
On Thu April 5 2007 6:04 pm, Benjamin Herrenschmidt wrote: On Thu, 2007-04-05 at 14:55 -0500, Kevin Corry wrote: First, the stock 2.6.20 kernel has a prototype in include/linux/smp.h for a function called smp_call_function_single(). However, this routine is only implemented on i386, x86_64

Re: device-mapper: fix TB stripe data corruption

2005-01-21 Thread Kevin Corry
what we needed. Here's a different version of Alasdair's patch that changes chunk to 64-bit and uses do_div(). -- Kevin Corry [EMAIL PROTECTED] http://evms.sourceforge.net/ In stripe_map(), change chunk to 64-bit and use do_div to divide and mod by the number of stripes. --- diff/drivers/md/dm-st

Re: device-mapper: fix TB stripe data corruption

2005-01-21 Thread Kevin Corry
wing error: MODPOST *** Warning: "__udivdi3" [drivers/md/dm-mod.ko] undefined! *** Warning: "__umoddi3" [drivers/md/dm-mod.ko] undefined! -- Kevin Corry [EMAIL PROTECTED] http://evms.sourceforge.net/ - To unsubscribe from this list: send the line "unsubscribe linux

Re: device-mapper: fix TB stripe data corruption

2005-01-21 Thread Kevin Corry
[drivers/md/dm-mod.ko] undefined! *** Warning: __umoddi3 [drivers/md/dm-mod.ko] undefined! -- Kevin Corry [EMAIL PROTECTED] http://evms.sourceforge.net/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: device-mapper: fix TB stripe data corruption

2005-01-21 Thread Kevin Corry
version of Alasdair's patch that changes chunk to 64-bit and uses do_div(). -- Kevin Corry [EMAIL PROTECTED] http://evms.sourceforge.net/ In stripe_map(), change chunk to 64-bit and use do_div to divide and mod by the number of stripes. --- diff/drivers/md/dm-stripe.c 2005-01-21 15:55:02.093379864