Skip to contentSkip to conversation

Fixes for 2.6.26

PATCH New Kumar Gala 1 participant 5 messages May 20, 2008

Subsystems (3)
lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

v2 cover Fixes for 2.6.26

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          |    8 +++-----
 arch/powerpc/boot/Makefile            |    6 ++++--
 arch/powerpc/boot/dts/mpc8377_mds.dts |   18 +++++++++++++-----
 lib/lmb.c                             |    3 ++-
 4 files changed, 22 insertions(+), 13 deletions(-)

Kumar Gala (4):
lmb: Fix compile warning
[POWERPC] Remove generated files on make clean [POWERPC] Update arch/powerpc/boot/.gitignore [POWERPC] Fix mpc8377_mds.dts DMA nodes to match spec

author
#1 lore raw

PATCH v2 1/4 lmb: Fix compile warning

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'

---
 lib/lmb.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
lib/lmb.c +2 -1
index 867f7b5..5d7b928 100644
@@ -48,7 +48,8 @@ void lmb_dump_all(void)
 	}
 
 	pr_info("    reserved.cnt	  = 0x%lx\n", lmb.reserved.cnt);
-	pr_info("    reserved.size	  = 0x%lx\n", lmb.reserved.size);
+	pr_info("    reserved.size	  = 0x%llx\n",
+	    (unsigned long long)lmb.memory.size);
 	for (i=0; i < lmb.reserved.cnt ;i++) {
 		pr_info("    reserved.region[0x%lx].base       = 0x%llx\n",
 		    i, (unsigned long long)lmb.reserved.region[i].base);
Signature · 1 line
1.5.4.5
author
#2 lore raw

PATCH v2 2/4 Remove generated files on make clean

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).

---
 arch/powerpc/boot/Makefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
arch/powerpc/boot/Makefile +4 -2
index 7822d25..f5e0b2a 100644
@@ -99,7 +99,7 @@ $(obj)/zImage.lds $(obj)/zImage.coff.lds $(obj)/zImage.ps3.lds: $(obj)/%: $(srct
 	@cp $< $@
 
 clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \
-		empty.c zImage zImage.coff.lds zImage.ps3.lds zImage.lds
+		empty.c zImage.coff.lds zImage.ps3.lds zImage.lds
 
 quiet_cmd_bootcc = BOOTCC  $@
       cmd_bootcc = $(CROSS32CC) -Wp,-MD,$(depfile) $(BOOTCFLAGS) -c -o $@ $<
@@ -339,7 +339,9 @@ install: $(CONFIGURE) $(addprefix $(obj)/, $(image-y))
 	sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" $<
 
 # anything not in $(targets)
-clean-files += $(image-) $(initrd-) zImage zImage.initrd cuImage.* treeImage.* \
+clean-files += $(image-) $(initrd-) cuImage.* dtbImage.* treeImage.* \
+	zImage zImage.initrd zImage.chrp zImage.coff zImage.holly \
+	zImage.iseries zImage.miboot zImage.pmac zImage.pseries \
 	otheros.bld *.dtb
 
 # clean up files cached by wrapper
Signature · 1 line
1.5.4.5
author
#3 lore raw

PATCH v2 3/4 Update arch/powerpc/boot/.gitignore

* Add dtbImage.*
* Added zImage.holly
* Folded zImage.coff.lds into zImage.*lds
* Removed some unused zImage.<foo> ignores

---
 arch/powerpc/boot/.gitignore |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
arch/powerpc/boot/.gitignore +3 -5
index 2347294..2f50acd 100644
@@ -20,21 +20,19 @@ kernel-vmlinux.strip.gz
 mktree
 uImage
 cuImage.*
+dtbImage.*
 treeImage.*
 zImage
+zImage.initrd
 zImage.bin.*
 zImage.chrp
 zImage.coff
-zImage.coff.lds
-zImage.ep*
+zImage.holly
 zImage.iseries
 zImage.*lds
 zImage.miboot
 zImage.pmac
 zImage.pseries
-zImage.redboot*
-zImage.sandpoint
-zImage.vmode
 zconf.h
 zlib.h
 zutil.h
Signature · 1 line
1.5.4.5
author
#4 lore raw

PATCH v2 4/4 Fix mpc8377_mds.dts DMA nodes to match spec

---
 arch/powerpc/boot/dts/mpc8377_mds.dts |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)
arch/powerpc/boot/dts/mpc8377_mds.dts +13 -5
index 1e7802c..fea5925 100644
@@ -271,27 +271,35 @@
 		dma@82a8 {
 			#address-cells = <1>;
 			#size-cells = <1>;
-			compatible = "fsl,mpc8349-dma";
+			compatible = "fsl,mpc8377-dma", "fsl,elo-dma";
 			reg = <0x82a8 4>;
 			ranges = <0 0x8100 0x1a8>;
 			interrupt-parent = <&ipic>;
 			interrupts = <0x47 8>;
 			cell-index = <0>;
 			dma-channel@0 {
-				compatible = "fsl,mpc8349-dma-channel";
+				compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
 				reg = <0 0x80>;
+				interrupt-parent = <&ipic>;
+				interrupts = <0x47 8>;
 			};
 			dma-channel@80 {
-				compatible = "fsl,mpc8349-dma-channel";
+				compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
 				reg = <0x80 0x80>;
+				interrupt-parent = <&ipic>;
+				interrupts = <0x47 8>;
 			};
 			dma-channel@100 {
-				compatible = "fsl,mpc8349-dma-channel";
+				compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
 				reg = <0x100 0x80>;
+				interrupt-parent = <&ipic>;
+				interrupts = <0x47 8>;
 			};
 			dma-channel@180 {
-				compatible = "fsl,mpc8349-dma-channel";
+				compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel";
 				reg = <0x180 0x28>;
+				interrupt-parent = <&ipic>;
+				interrupts = <0x47 8>;
 			};
 		};
 
Signature · 1 line
1.5.4.5