Fix __set_fixmap() for STRICT_MM_TYPECHECKS

2008-05-18 Thread David Gibson
__set_fixmap() in pgtable_32.c currently fails to compile if STRICT_MM_TYPECHECKS is defined. This patch fixes it. Signed-off-by: David Gibson <[EMAIL PROTECTED]> Index: working-2.6/arch/powerpc/mm/pgtable_32.c === --- working-2.6.o

Re: [PATCH v2] lmb: Fix compile warning

2008-05-18 Thread David Miller
From: Kumar Gala <[EMAIL PROTECTED]> Date: Sun, 18 May 2008 23:34:36 -0500 (CDT) > lib/lmb.c: In function 'lmb_dump_all': > lib/lmb.c:51: warning: format '%lx' expects type 'long unsigned int', but > argument 2 has type 'u64' > > Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> Acked-by: David S.

Re: [PATCH 0/4] minor fixes for 2.6.26

2008-05-18 Thread Kumar Gala
On May 18, 2008, at 1:44 PM, Kumar Gala wrote: Please pull from 'for-2.6.26' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for-2.6.26 to receive the following updates: arch/powerpc/boot/.gitignore | 15 ++- arch/powerpc/boot/Makefile

[PATCH v2] lmb: Fix compile warning

2008-05-18 Thread Kumar Gala
lib/lmb.c: In function 'lmb_dump_all': lib/lmb.c:51: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'u64' Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- Cast so it works everywhere. - k lib/lmb.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)

Re: [PATCH 2/4 V5] MSI support on 83xx/85xx/86xx board

2008-05-18 Thread Stephen Rothwell
Hi Jason, Just a couple of comments. All of which you may ignore. :-) On Fri, 16 May 2008 17:50:45 +0800 Jason Jin <[EMAIL PROTECTED]> wrote: > > +static int fsl_msi_free_dt_hwirqs(struct fsl_msi *msi) > +{ > + if ((len % 0x8) != 0) { why not (len % (2 * sizeof(u32))) ? > + /* Format

Re: [PATCH 1/4] lmb: Fix compile warning

2008-05-18 Thread David Miller
From: Kumar Gala <[EMAIL PROTECTED]> Date: Sun, 18 May 2008 13:44:53 -0500 > lib/lmb.c: In function 'lmb_dump_all': > lib/lmb.c:51: warning: format '%lx' expects type 'long unsigned int', but > argument 2 has type 'u64' > > Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> That's not right either.

RE: [PATCH 3/4] [MMC] mmc_spi: add polling support for the card detectline

2008-05-18 Thread Chen Gong
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Anton Vorontsov > Sent: 2008?5?17? 0:51 > To: Kumar Gala; David Brownell; Pierre Ossman > Cc: linuxppc-dev@ozlabs.org; > [EMAIL PROTECTED]; > [EMAIL PROTECTED]; Tabi Timur > Subject: [PATCH 3/4] [

Re: [PATCH 2/4 V5] MSI support on 83xx/85xx/86xx board

2008-05-18 Thread Michael Ellerman
On Fri, 2008-05-16 at 17:50 +0800, Jason Jin wrote: > This MSI driver can be used on 83xx/85xx/86xx board. > In this driver, virtual interrupt host and chip were > setup. There are 256 MSI interrupts in this host, Every 32 > MSI interrupts cascaded to one IPIC/MPIC interrupt. > The chip was treated

Re: [PATCH 1/5 v2] powerpc: DTS file for the C2K

2008-05-18 Thread David Gibson
On Mon, May 19, 2008 at 10:53:42AM +1000, David Gibson wrote: > On Fri, May 16, 2008 at 12:28:48PM -0700, Remi Machet wrote: > > Support for the C2K cPCI Single Board Computer from GEFanuc [snip] > [snip] > > + /* Devices attached to the device controller */ > > + devicebus { >

Re: [PATCH 1/5 v2] powerpc: DTS file for the C2K

2008-05-18 Thread David Gibson
On Fri, May 16, 2008 at 12:28:48PM -0700, Remi Machet wrote: > Support for the C2K cPCI Single Board Computer from GEFanuc > (PowerPC MPC7448 with a Marvell MV64460 chipset) > All features of the board are not supported yet, but the board > boots, flash works, all Ethernet ports are working and PCI

Re: [PATCH 1/5] powerpc: DTS file for the C2K

2008-05-18 Thread David Gibson
On Fri, May 16, 2008 at 10:20:34AM -0700, Remi Machet wrote: > Hi David, > > Thank you for the comments, I am in the process of changing the C2K dts > file. I have a few questions bellow: > > On Fri, 2008-05-16 at 11:53 +1000, David Gibson wrote: > > On Thu, May 15, 2008 at 05:22:50PM -0700, Rem

[PATCH 4/4] [POWERPC] Fix mpc8377_mds.dts DMA nodes to match spec

2008-05-18 Thread Kumar Gala
Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8377_mds.dts | 18 +- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8377_mds.dts b/arch/powerpc/boot/dts/mpc8377_mds.dts index 1e7802c..fea5925 100644 --- a/arch

[PATCH 3/4] [POWERPC] Update arch/powerpc/boot/.gitignore

2008-05-18 Thread Kumar Gala
* Add dtbImage.* * Simplify zImages to zImage and zImage.* Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- arch/powerpc/boot/.gitignore | 15 ++- 1 files changed, 2 insertions(+), 13 deletions(-) diff --git a/arch/powerpc/boot/.gitignore b/arch/powerpc/boot/.gitignore index 23472

[PATCH 2/4] [POWERPC] Remove generated files on make clean

2008-05-18 Thread Kumar Gala
dtbImage.* and several zImage. targets get created but never cleaned up. Also, moved zImage to the clean-files line associated with all other image results (was previously duplicated). Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- arch/powerpc/boot/Makefile |4 ++-- 1 files changed, 2 in

[PATCH 1/4] lmb: Fix compile warning

2008-05-18 Thread Kumar Gala
lib/lmb.c: In function 'lmb_dump_all': lib/lmb.c:51: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'u64' Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- lib/lmb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/lmb.c b/lib/lmb.c i

[PATCH 0/4] minor fixes for 2.6.26

2008-05-18 Thread Kumar Gala
Please pull from 'for-2.6.26' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for-2.6.26 to receive the following updates: arch/powerpc/boot/.gitignore | 15 ++- arch/powerpc/boot/Makefile|4 ++-- arch/powerpc/boot/dts/mpc83

[PATCH v3] [POWERPC] Add a comment about the Book-e tophys/tovirt macros

2008-05-18 Thread Kumar Gala
The Book-E versions of tophys/tovirt are not simple noops to ensure compatibility with their "classic" ppc brethren. --- Lets try this version based on paul's feedback. include/asm-powerpc/ppc_asm.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/asm-powerp

[no subject]

2008-05-18 Thread Kumar Gala
>From 716532d62cb1bf4087dc90c11b7e361cdcd28db4 Mon Sep 17 00:00:00 2001 From: Kumar Gala <[EMAIL PROTECTED]> Date: Fri, 16 May 2008 14:10:03 -0500 Subject: [PATCH v3] [POWERPC] Add a comment about the Book-e tophys/tovirt macros The Book-E versions of tophys/tovirt are not simple noops to ensure