Re: [PATCH] net/ehea: bitops work on unsigned longs

2008-12-30 Thread David Miller
From: Stephen Rothwell Date: Wed, 31 Dec 2008 14:18:53 +1100 > These changes will avoid several warnings when we change u64 to unsigned > long long. > > Also, ehea_driver_flags is only used in ehca_main.c > > Signed-off-by: Stephen Rothwell > --- And also rejected, just like the previous two.

Re: [PATCH] net/ehea: use consistent type

2008-12-30 Thread David Miller
From: Stephen Rothwell Date: Wed, 31 Dec 2008 14:17:30 +1100 > ehea_plpar_hcall9() takes an unsigned long array, so pass that. > > This change will avoid some warnings when we change u64 to unsigned > long long. > > Signed-off-by: Stephen Rothwell Patch rejected, for the same reasons as the o

Re: [PATCH] ibmveth: use consistent types

2008-12-30 Thread David Miller
From: Stephen Rothwell Date: Wed, 31 Dec 2008 14:02:25 +1100 > These variables are only used with an interface involving "unsigned > long" and the macros are only used with these variables. This change > will prevent some warnings when we change u64 to "unsigned long long". > > This code is onl

Re: [PATCH] infiniband/ehca: spin_lock_irqsave takes an unsigned long

2008-12-30 Thread Stephen Rothwell
Hi Roland, On Tue, 30 Dec 2008 20:20:29 -0800 Roland Dreier wrote: > > are you trying to land the 'typedef unsigned long u64' change for > 2.6.28, or can these patches wait for 2.6.29? 2.6.29 (or even 30), I would think at this point. -- Cheers, Stephen Rothwells...@canb.au

Re: [PATCH] infiniband/ehca: spin_lock_irqsave takes an unsigned long

2008-12-30 Thread Roland Dreier
are you trying to land the 'typedef unsigned long u64' change for 2.6.28, or can these patches wait for 2.6.29? - R. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH] Minor fix for 85xxmds mpic init

2008-12-30 Thread Jason Jin
Signed-off-by: Jason Jin --- arch/powerpc/platforms/85xx/mpc85xx_mds.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/85xx/mpc85xx_mds.c b/arch/powerpc/platforms/85xx/mpc85xx_mds.c index 2494c51..668e7aa 100644 --- a/arch/powerpc/platforms/85xx/

[PATCH] net/ehea: bitops work on unsigned longs

2008-12-30 Thread Stephen Rothwell
These changes will avoid several warnings when we change u64 to unsigned long long. Also, ehea_driver_flags is only used in ehca_main.c Signed-off-by: Stephen Rothwell --- drivers/net/ehea/ehea.h |3 +-- drivers/net/ehea/ehea_main.c |2 +- 2 files changed, 2 insertions(+), 3 deleti

[PATCH] net/ehea: use consistent type

2008-12-30 Thread Stephen Rothwell
ehea_plpar_hcall9() takes an unsigned long array, so pass that. This change will avoid some warnings when we change u64 to unsigned long long. Signed-off-by: Stephen Rothwell --- drivers/net/ehea/ehea_phyp.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a

[PATCH] infiniband/ehca: use consistent type

2008-12-30 Thread Stephen Rothwell
ehca_plpar_hcall9() takes an unsigned long array, so pass that. This change will avoid some warnings when we change u64 to unsigned long long. Signed-off-by: Stephen Rothwell --- drivers/infiniband/hw/ehca/hcp_if.c | 26 +- 1 files changed, 13 insertions(+), 13 deletio

[PATCH] infiniband/ehca: spin_lock_irqsave takes an unsigned long

2008-12-30 Thread Stephen Rothwell
This will also help prevent some warnings when we change u64 to unsigned long long. Signed-off-by: Stephen Rothwell --- drivers/infiniband/hw/ehca/ehca_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/infiniband/hw/ehca/ehca_main.c b/drivers/infiniband/hw

[PATCH] powerpc/cell: local_irq_save takes an unsigned long

2008-12-30 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell --- .../powerpc/platforms/cell/cbe_cpufreq_pervasive.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/cell/cbe_cpufreq_pervasive.c b/arch/powerpc/platforms/cell/cbe_cpufreq_pervasive.c index 70fa7ae..20472e4 10064

[PATCH] powerpc/cell: bitops work on unsigned longs

2008-12-30 Thread Stephen Rothwell
So change the flags member of struct spu from u64 to unsigned long. This change will also prevent some warnings when we change u64 to unsigned long long. Signed-off-by: Stephen Rothwell --- arch/powerpc/include/asm/spu.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/a

[PATCH] ibmveth: use consistent types

2008-12-30 Thread Stephen Rothwell
These variables are only used with an interface involving "unsigned long" and the macros are only used with these variables. This change will prevent some warnings when we change u64 to "unsigned long long". This code is only built for 64bit powerpc, so the transformation is really a noop. Signe

Re: [PATCH] powerpc: Update 8641hpcn dts file to match latest u-boot

2008-12-30 Thread Matt Sealey
Becky Bruce wrote: The newest revision of uboot reworks the memory map for this board to look more like the 85xx boards. Also, some regions which were far larger than the actual hardware have been scaled back to match the board, and the imaginary second flash bank has been removed. Rapidio and P

Re: mpc5200 spi + mmc support

2008-12-30 Thread Anton Vorontsov
On Tue, Dec 30, 2008 at 03:17:55PM -0500, Jon Smirl wrote: > Grant, is your mpc5200 spi support going in this round? If so, there > is a small amount of dependent code to get mmc working. > > Anton's of_mmc_spi.c patch is also needed. I'm not sure of the status > for that patch, it has gone throug

[PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2008-12-30 Thread Anton Vorontsov
This patch adds pcie nodes to the appropriate dts files, plus adds some probing code for the boards. Note that the nodes are disabled by default (via status property), since old (community) U-Boots don't configure PCI-E controllers. Also, remove of_device_is_avaliable() check from the mpc837x_mds

[PATCH v3 3/4] powerpc/fsl_pci: Add MPC83xx PCI-E controller RC mode support

2008-12-30 Thread Anton Vorontsov
This patch adds support for PCI-Express controllers as found on the newer MPC83xx chips. The work is loosely based on the Tony Li's patch[1], but unlike the original patch, this patch implements sliding window for the Type 1 transactions using outbound window translations, so we don't have to iore

mpc5200 spi + mmc support

2008-12-30 Thread Jon Smirl
Grant, is your mpc5200 spi support going in this round? If so, there is a small amount of dependent code to get mmc working. Anton's of_mmc_spi.c patch is also needed. I'm not sure of the status for that patch, it has gone through a lot of revisions. -- Jon Smirl jonsm...@gmail.com _

[PATCH] Add the of_find_i2c_device_by_node function.

2008-12-30 Thread Jon Smirl
Add the of_find_i2c_device_by_node function. This allows you to follow a reference in the device tree to an i2c device node and then locate the linux device instantiated by the device tree. Example use, an i2s codec controlled by i2c. This was waiting for Anton's i2c patches that were just added.

Re: Please pull from 'next' branch

2008-12-30 Thread Kumar Gala
On Dec 30, 2008, at 11:40 AM, Kumar Gala wrote: Please pull from 'next' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git next to receive the following updates: Documentation/powerpc/dts-bindings/fsl/board.txt | 32 +++ arch/powerpc/boot/dts/mpc836x_mds.dts

Re: [PATCH] powerpc/qe: Select QE_USB with USB_GADGET_FSL_QE

2008-12-30 Thread Kumar Gala
On Nov 8, 2008, at 11:52 AM, Anton Vorontsov wrote: Boards should know when QE_USB is used, so that they can configure USB clocks and pins. Another option would be to add 'select QE_USB' into USB_GADGET_FSL_QE, but selects are evil since they don't support dependencies. While at it, also remo

Re: [PATCH 2/2] arch/powerpc/platforms/85xx: Add local_irq_restore in error handling code

2008-12-30 Thread Kumar Gala
On Dec 21, 2008, at 2:54 PM, Julia Lawall wrote: From: Julia Lawall There is a call to local_irq_restore in the normal exit case, so it would seem that there should be one on an error return as well. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccin

Re: [PATCH v2 3/4] powerpc/fsl_pci: Add MPC83xx PCI-E controller RC mode support

2008-12-30 Thread Kumar Gala
How about this patch? It works for me using SKY2 NIC, though I don't have any PCI-E switch or multi-function device to fully test the sliding window behaviour... I'd prefer we tested under these scenarios but will not hold up the patch on it. Thanks, arch/powerpc/include/asm/pci-bridge.h |

Re: [PATCH 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2008-12-30 Thread Kumar Gala
On Dec 29, 2008, at 10:40 AM, Anton Vorontsov wrote: diff --git a/arch/powerpc/boot/dts/mpc8315erdb.dts b/arch/powerpc/ boot/dts/mpc8315erdb.dts index d3d3097..5997325 100644 --- a/arch/powerpc/boot/dts/mpc8315erdb.dts +++ b/arch/powerpc/boot/dts/mpc8315erdb.dts @@ -22,6 +22,8 @@

Please pull from 'next' branch

2008-12-30 Thread Kumar Gala
Please pull from 'next' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git next to receive the following updates: Documentation/powerpc/dts-bindings/fsl/board.txt | 32 +++ arch/powerpc/boot/dts/mpc836x_mds.dts| 43 - arch/powerpc/boot/dts/mpc836

[PATCH] powerpc/85xx: Enable SMP support

2008-12-30 Thread Kumar Gala
Signed-off-by: Kumar Gala --- arch/powerpc/platforms/Kconfig.cputype |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index 3d0c776..e868b5c 100644 --- a/arch/powerpc/platforms/Kconfig.cputyp

[PATCH] powerpc/85xx: Add SMP support to MPC8572 DS

2008-12-30 Thread Kumar Gala
Enable SMP support on the MPC8572 DS reference board. Signed-off-by: Kumar Gala --- arch/powerpc/configs/85xx/mpc8572_ds_defconfig | 43 +++ arch/powerpc/platforms/85xx/mpc85xx_ds.c |7 2 files changed, 35 insertions(+), 15 deletions(-) diff --git a/arch/pow

Re: [PATCH] powerpc: Update 8641hpcn dts file to match latest u-boot

2008-12-30 Thread Kumar Gala
On Dec 19, 2008, at 4:05 PM, Becky Bruce wrote: The newest revision of uboot reworks the memory map for this board to look more like the 85xx boards. Also, some regions which were far larger than the actual hardware have been scaled back to match the board, and the imaginary second flash bank

Re: [PATCH] powerpc: Update 8641hpcn dts file to match latest u-boot

2008-12-30 Thread Kumar Gala
On Dec 20, 2008, at 9:27 PM, Timur Tabi wrote: On Fri, Dec 19, 2008 at 4:05 PM, Becky Bruce > wrote: --- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts +++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts @@ -26,7 +26,7 @@ serial1 = &serial1; pci0 = &pci0; pci1 = &pc

Re: [PATCH] powerpc/qe: Fix few build errors with CONFIG_QUICC_ENGINE=n

2008-12-30 Thread Kumar Gala
On Dec 5, 2008, at 10:59 AM, Anton Vorontsov wrote: Some 83xx boards were not ready for the optional QUICC Engine support. This patch fixes following build errors: arch/powerpc/platforms/built-in.o: In function `flush_disable_caches': (.text+0xb308): undefined reference to `par_io_data_set' a

Re: [PATCH] powerpc/83xx: Fix few build errors with CONFIG_QUICC_ENGINE=n

2008-12-30 Thread Kumar Gala
On Dec 5, 2008, at 10:55 AM, Anton Vorontsov wrote: Some 83xx boards were not ready for the optional QUICC Engine support. This patch fixes following build errors: arch/powerpc/platforms/built-in.o: In function `flush_disable_caches': (.text+0xb308): undefined reference to `par_io_data_set' a

Re: [PATCH 1/4] powerpc/fsl_pci: Fix sparse warnings

2008-12-30 Thread Kumar Gala
On Dec 29, 2008, at 10:40 AM, Anton Vorontsov wrote: This patch fixes following sparse warnings: CHECK fsl_pci.c fsl_pci.c:32:13: warning: symbol 'setup_pci_atmu' was not declared. Should it be static? fsl_pci.c:89:13: warning: symbol 'setup_pci_cmd' was not declared. Should it be stati

Re: [PATCH] clean up of netif_rx_reschedule() changes in drivers

2008-12-30 Thread Neil Horman
On Mon, Dec 29, 2008 at 06:19:08PM -0800, David Miller wrote: > From: Neil Horman > Date: Mon, 29 Dec 2008 10:37:57 -0500 > > > On Mon, Dec 29, 2008 at 09:41:44PM +1100, Stephen Rothwell wrote: > > > Hi Kamalesh, > > > > > > On Mon, 29 Dec 2008 15:55:29 +0530 Kamalesh Babulal > > > wrote: > >

[BUG] 2.6.28-git2 - powerpc - kernel expection with KGDB - "kgdbts:RUN sw breakpoint test"

2008-12-30 Thread Kamalesh Babulal
Hi, 2.6.28-git2 kernel panic's with "Recursive entry to debugger", while running "kgdbts:RUN sw breakpoint test" on bootup on a powerpc box. The kernel was compiled with following KGDB options CONFIG_HAVE_ARCH_KGDB=y CONFIG_KGDB=y CONFIG_KGDB_SERIAL_CONSOLE=y CONFIG_KGDB_TESTS=y CONFI

[PATCH] powerpc: add ioctls for RS485 mode control of serial drivers

2008-12-30 Thread Matthias Fuchs
These ioctls take a struct serial_rs485 (see linux/serial.h) as argument. They are already available on x86. This patch adds them for the powerpc architecture. Signed-off-by: Matthias Fuchs --- arch/powerpc/include/asm/ioctls.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --