* [PATCH 0/4] minor fixes for 2.6.26
@ 2008-05-18 18:44 Kumar Gala
2008-05-18 18:44 ` [PATCH 1/4] lmb: Fix compile warning Kumar Gala
2008-05-19 4:37 ` [PATCH 0/4] minor fixes for 2.6.26 Kumar Gala
0 siblings, 2 replies; 21+ messages in thread
From: Kumar Gala @ 2008-05-18 18:44 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
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/mpc8377_mds.dts | 18 +++++++++++++-----
lib/lmb.c | 2 +-
4 files changed, 18 insertions(+), 21 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
^ permalink raw reply [flat|nested] 21+ messages in thread* [PATCH 1/4] lmb: Fix compile warning
2008-05-18 18:44 [PATCH 0/4] minor fixes for 2.6.26 Kumar Gala
@ 2008-05-18 18:44 ` Kumar Gala
2008-05-18 18:44 ` [PATCH 2/4] [POWERPC] Remove generated files on make clean Kumar Gala
2008-05-19 3:31 ` David Miller
2008-05-19 4:37 ` [PATCH 0/4] minor fixes for 2.6.26 Kumar Gala
1 sibling, 2 replies; 21+ messages in thread
From: Kumar Gala @ 2008-05-18 18:44 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev, davem, linux-kernel
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 <galak@kernel.crashing.org>
---
lib/lmb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/lmb.c b/lib/lmb.c
index 867f7b5..553a47c 100644
--- a/lib/lmb.c
+++ b/lib/lmb.c
@@ -48,7 +48,7 @@ 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", lmb.reserved.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);
--
1.5.4.5
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 2/4] [POWERPC] Remove generated files on make clean
2008-05-18 18:44 ` [PATCH 1/4] lmb: Fix compile warning Kumar Gala
@ 2008-05-18 18:44 ` Kumar Gala
2008-05-18 18:44 ` [PATCH 3/4] [POWERPC] Update arch/powerpc/boot/.gitignore Kumar Gala
2008-05-19 3:31 ` David Miller
1 sibling, 1 reply; 21+ messages in thread
From: Kumar Gala @ 2008-05-18 18:44 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
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 <galak@kernel.crashing.org>
---
arch/powerpc/boot/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 7822d25..08bed36 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -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,7 @@ 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-) zImage zImage.* cuImage.* dtbImage.* treeImage.* \
otheros.bld *.dtb
# clean up files cached by wrapper
--
1.5.4.5
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH 3/4] [POWERPC] Update arch/powerpc/boot/.gitignore
2008-05-18 18:44 ` [PATCH 2/4] [POWERPC] Remove generated files on make clean Kumar Gala
@ 2008-05-18 18:44 ` Kumar Gala
2008-05-18 18:44 ` [PATCH 4/4] [POWERPC] Fix mpc8377_mds.dts DMA nodes to match spec Kumar Gala
0 siblings, 1 reply; 21+ messages in thread
From: Kumar Gala @ 2008-05-18 18:44 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
* Add dtbImage.*
* Simplify zImages to zImage and zImage.*
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
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 2347294..ea2fcaf 100644
--- a/arch/powerpc/boot/.gitignore
+++ b/arch/powerpc/boot/.gitignore
@@ -20,21 +20,10 @@ kernel-vmlinux.strip.gz
mktree
uImage
cuImage.*
+dtbImage.*
treeImage.*
zImage
-zImage.bin.*
-zImage.chrp
-zImage.coff
-zImage.coff.lds
-zImage.ep*
-zImage.iseries
-zImage.*lds
-zImage.miboot
-zImage.pmac
-zImage.pseries
-zImage.redboot*
-zImage.sandpoint
-zImage.vmode
+zImage.*
zconf.h
zlib.h
zutil.h
--
1.5.4.5
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 4/4] [POWERPC] Fix mpc8377_mds.dts DMA nodes to match spec
2008-05-18 18:44 ` [PATCH 3/4] [POWERPC] Update arch/powerpc/boot/.gitignore Kumar Gala
@ 2008-05-18 18:44 ` Kumar Gala
0 siblings, 0 replies; 21+ messages in thread
From: Kumar Gala @ 2008-05-18 18:44 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
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/powerpc/boot/dts/mpc8377_mds.dts
+++ b/arch/powerpc/boot/dts/mpc8377_mds.dts
@@ -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>;
};
};
--
1.5.4.5
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: [PATCH 1/4] lmb: Fix compile warning
2008-05-18 18:44 ` [PATCH 1/4] lmb: Fix compile warning Kumar Gala
@ 2008-05-19 3:31 ` David Miller
2008-05-19 3:31 ` David Miller
1 sibling, 0 replies; 21+ messages in thread
From: David Miller @ 2008-05-19 3:31 UTC (permalink / raw)
To: galak; +Cc: linuxppc-dev, paulus, linux-kernel
From: Kumar Gala <galak@kernel.crashing.org>
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 <galak@kernel.crashing.org>
That's not right either.
We'll need to cast this argument because it's a different type on sparc
vs sparc64 vs powerpc.
u64 != unsigned long long
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 1/4] lmb: Fix compile warning
@ 2008-05-19 3:31 ` David Miller
0 siblings, 0 replies; 21+ messages in thread
From: David Miller @ 2008-05-19 3:31 UTC (permalink / raw)
To: galak; +Cc: paulus, linuxppc-dev, linux-kernel
From: Kumar Gala <galak@kernel.crashing.org>
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 <galak@kernel.crashing.org>
That's not right either.
We'll need to cast this argument because it's a different type on sparc
vs sparc64 vs powerpc.
u64 != unsigned long long
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v2] lmb: Fix compile warning
2008-05-19 3:31 ` David Miller
@ 2008-05-19 4:34 ` Kumar Gala
-1 siblings, 0 replies; 21+ messages in thread
From: Kumar Gala @ 2008-05-19 4:34 UTC (permalink / raw)
To: David Miller; +Cc: linuxppc-dev, paulus, linux-kernel
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 <galak@kernel.crashing.org>
---
Cast so it works everywhere.
- k
lib/lmb.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lib/lmb.c b/lib/lmb.c
index 867f7b5..5d7b928 100644
--- a/lib/lmb.c
+++ b/lib/lmb.c
@@ -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);
--
1.5.4.5
^ permalink raw reply related [flat|nested] 21+ messages in thread* [PATCH v2] lmb: Fix compile warning
@ 2008-05-19 4:34 ` Kumar Gala
0 siblings, 0 replies; 21+ messages in thread
From: Kumar Gala @ 2008-05-19 4:34 UTC (permalink / raw)
To: David Miller; +Cc: paulus, linuxppc-dev, linux-kernel
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 <galak@kernel.crashing.org>
---
Cast so it works everywhere.
- k
lib/lmb.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lib/lmb.c b/lib/lmb.c
index 867f7b5..5d7b928 100644
--- a/lib/lmb.c
+++ b/lib/lmb.c
@@ -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);
--
1.5.4.5
^ permalink raw reply related [flat|nested] 21+ messages in thread* Re: [PATCH v2] lmb: Fix compile warning
2008-05-19 4:34 ` Kumar Gala
(?)
@ 2008-05-19 5:09 ` David Miller
-1 siblings, 0 replies; 21+ messages in thread
From: David Miller @ 2008-05-19 5:09 UTC (permalink / raw)
To: galak; +Cc: linuxppc-dev, paulus, linux-kernel
From: Kumar Gala <galak@kernel.crashing.org>
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 <galak@kernel.crashing.org>
Acked-by: David S. Miller <davem@davemloft.net>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 0/4] minor fixes for 2.6.26
2008-05-18 18:44 [PATCH 0/4] minor fixes for 2.6.26 Kumar Gala
2008-05-18 18:44 ` [PATCH 1/4] lmb: Fix compile warning Kumar Gala
@ 2008-05-19 4:37 ` Kumar Gala
2008-05-19 23:07 ` Paul Mackerras
1 sibling, 1 reply; 21+ messages in thread
From: Kumar Gala @ 2008-05-19 4:37 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-dev, paulus
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 | 4 ++--
> arch/powerpc/boot/dts/mpc8377_mds.dts | 18 +++++++++++++-----
> lib/lmb.c | 2 +-
> 4 files changed, 18 insertions(+), 21 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
Paul,
FYI, I've updated the git tree with v2 of the lmb patch if you decided
to pull these patches from there.
- k
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 0/4] minor fixes for 2.6.26
2008-05-19 4:37 ` [PATCH 0/4] minor fixes for 2.6.26 Kumar Gala
@ 2008-05-19 23:07 ` Paul Mackerras
2008-05-20 0:54 ` David Gibson
2008-05-20 4:52 ` Kumar Gala
0 siblings, 2 replies; 21+ messages in thread
From: Paul Mackerras @ 2008-05-19 23:07 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-dev
Kumar Gala writes:
> > Kumar Gala (4):
> > lmb: Fix compile warning
> > [POWERPC] Remove generated files on make clean
I think that adding zImage.* to clean-files is a bad idea, because we
have zImage.lds.S, zImage.coff.lds.S and zImage.ps3.lds.S in
arch/powerpc/boot that we don't want deleted. It would be OK for
compiling with a separate object directory but would be bad for
compiling in the source directory.
Paul.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 0/4] minor fixes for 2.6.26
2008-05-19 23:07 ` Paul Mackerras
@ 2008-05-20 0:54 ` David Gibson
2008-05-20 2:03 ` Segher Boessenkool
2008-05-20 4:52 ` Kumar Gala
1 sibling, 1 reply; 21+ messages in thread
From: David Gibson @ 2008-05-20 0:54 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev
On Tue, May 20, 2008 at 09:07:14AM +1000, Paul Mackerras wrote:
> Kumar Gala writes:
>
> > > Kumar Gala (4):
> > > lmb: Fix compile warning
> > > [POWERPC] Remove generated files on make clean
>
> I think that adding zImage.* to clean-files is a bad idea, because we
> have zImage.lds.S, zImage.coff.lds.S and zImage.ps3.lds.S in
> arch/powerpc/boot that we don't want deleted. It would be OK for
> compiling with a separate object directory but would be bad for
> compiling in the source directory.
Arguably this suggests we should rename either the lds files or the
zImages so that we *can* get a pattern to match.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 0/4] minor fixes for 2.6.26
2008-05-20 0:54 ` David Gibson
@ 2008-05-20 2:03 ` Segher Boessenkool
2008-05-20 2:08 ` David Gibson
0 siblings, 1 reply; 21+ messages in thread
From: Segher Boessenkool @ 2008-05-20 2:03 UTC (permalink / raw)
To: David Gibson; +Cc: linuxppc-dev, Paul Mackerras
>> I think that adding zImage.* to clean-files is a bad idea, because we
>> have zImage.lds.S, zImage.coff.lds.S and zImage.ps3.lds.S in
>> arch/powerpc/boot that we don't want deleted. It would be OK for
>> compiling with a separate object directory but would be bad for
>> compiling in the source directory.
>
> Arguably this suggests we should rename either the lds files or the
> zImages so that we *can* get a pattern to match.
Not really. Just define a $(ALL_ZIMAGES) var and use that everywhere.
I would be pretty upset if "make clean" decided to delete my
zImage.backup,
etc.
Segher
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 0/4] minor fixes for 2.6.26
2008-05-20 2:03 ` Segher Boessenkool
@ 2008-05-20 2:08 ` David Gibson
2008-05-20 2:22 ` Segher Boessenkool
0 siblings, 1 reply; 21+ messages in thread
From: David Gibson @ 2008-05-20 2:08 UTC (permalink / raw)
To: Segher Boessenkool; +Cc: linuxppc-dev, Paul Mackerras
On Tue, May 20, 2008 at 04:03:47AM +0200, Segher Boessenkool wrote:
>>> I think that adding zImage.* to clean-files is a bad idea, because we
>>> have zImage.lds.S, zImage.coff.lds.S and zImage.ps3.lds.S in
>>> arch/powerpc/boot that we don't want deleted. It would be OK for
>>> compiling with a separate object directory but would be bad for
>>> compiling in the source directory.
>>
>> Arguably this suggests we should rename either the lds files or the
>> zImages so that we *can* get a pattern to match.
>
> Not really. Just define a $(ALL_ZIMAGES) var and use that everywhere.
> I would be pretty upset if "make clean" decided to delete my
> zImage.backup,
> etc.
That won't work for .gitignore. Besides it's hard to generate, since
zImage.<allsortsofthings> can be generated based on dts names.
Oh, and variables like that are usually a bad idea for clean rules,
because if new things have just been added/removed from the list, it
will fail to clean up things built before the makefile change was
made.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 0/4] minor fixes for 2.6.26
2008-05-20 2:08 ` David Gibson
@ 2008-05-20 2:22 ` Segher Boessenkool
2008-05-20 2:45 ` David Gibson
0 siblings, 1 reply; 21+ messages in thread
From: Segher Boessenkool @ 2008-05-20 2:22 UTC (permalink / raw)
To: David Gibson; +Cc: linuxppc-dev, Paul Mackerras
>>> Arguably this suggests we should rename either the lds files or the
>>> zImages so that we *can* get a pattern to match.
>>
>> Not really. Just define a $(ALL_ZIMAGES) var and use that everywhere.
>> I would be pretty upset if "make clean" decided to delete my
>> zImage.backup,
>> etc.
>
> That won't work for .gitignore.
Sure, * is fine in .gitignore (and then un-ignore the few files you
don't want ignored). .gitignore is just a convenience thing, after
all.
> Besides it's hard to generate, since
> zImage.<allsortsofthings> can be generated based on dts names.
Tricky. But if make can generate the name _at all_ (and it can),
it can do it here, too. It just needs some fairy dust sprinkling.
> Oh, and variables like that are usually a bad idea for clean rules,
> because if new things have just been added/removed from the list, it
> will fail to clean up things built before the makefile change was
> made.
Yes. OTOH, using xx* in "make clean" is an even worse idea.
Segher
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 0/4] minor fixes for 2.6.26
2008-05-20 2:22 ` Segher Boessenkool
@ 2008-05-20 2:45 ` David Gibson
0 siblings, 0 replies; 21+ messages in thread
From: David Gibson @ 2008-05-20 2:45 UTC (permalink / raw)
To: Segher Boessenkool; +Cc: linuxppc-dev, Paul Mackerras
On Tue, May 20, 2008 at 04:22:40AM +0200, Segher Boessenkool wrote:
>>>> Arguably this suggests we should rename either the lds files or the
>>>> zImages so that we *can* get a pattern to match.
>>>
>>> Not really. Just define a $(ALL_ZIMAGES) var and use that everywhere.
>>> I would be pretty upset if "make clean" decided to delete my
>>> zImage.backup,
>>> etc.
>>
>> That won't work for .gitignore.
>
> Sure, * is fine in .gitignore (and then un-ignore the few files you
> don't want ignored). .gitignore is just a convenience thing, after
> all.
>
>> Besides it's hard to generate, since
>> zImage.<allsortsofthings> can be generated based on dts names.
>
> Tricky. But if make can generate the name _at all_ (and it can),
> it can do it here, too. It just needs some fairy dust sprinkling.
>
>> Oh, and variables like that are usually a bad idea for clean rules,
>> because if new things have just been added/removed from the list, it
>> will fail to clean up things built before the makefile change was
>> made.
>
> Yes. OTOH, using xx* in "make clean" is an even worse idea.
Well, yeah, hence with the name-changing...
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 0/4] minor fixes for 2.6.26
2008-05-19 23:07 ` Paul Mackerras
2008-05-20 0:54 ` David Gibson
@ 2008-05-20 4:52 ` Kumar Gala
2008-05-20 5:10 ` David Gibson
1 sibling, 1 reply; 21+ messages in thread
From: Kumar Gala @ 2008-05-20 4:52 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev
On May 19, 2008, at 6:07 PM, Paul Mackerras wrote:
> Kumar Gala writes:
>
>>> Kumar Gala (4):
>>> lmb: Fix compile warning
>>> [POWERPC] Remove generated files on make clean
>
> I think that adding zImage.* to clean-files is a bad idea, because we
> have zImage.lds.S, zImage.coff.lds.S and zImage.ps3.lds.S in
> arch/powerpc/boot that we don't want deleted. It would be OK for
> compiling with a separate object directory but would be bad for
> compiling in the source directory.
We already had them in clean-files:
clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \
empty.c zImage zImage.coff.lds zImage.ps3.lds
zImage.lds
- k
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [PATCH 0/4] minor fixes for 2.6.26
2008-05-20 4:52 ` Kumar Gala
@ 2008-05-20 5:10 ` David Gibson
2008-05-20 5:21 ` Kumar Gala
0 siblings, 1 reply; 21+ messages in thread
From: David Gibson @ 2008-05-20 5:10 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-dev, Paul Mackerras
On Mon, May 19, 2008 at 11:52:31PM -0500, Kumar Gala wrote:
>
> On May 19, 2008, at 6:07 PM, Paul Mackerras wrote:
>
>> Kumar Gala writes:
>>
>>>> Kumar Gala (4):
>>>> lmb: Fix compile warning
>>>> [POWERPC] Remove generated files on make clean
>>
>> I think that adding zImage.* to clean-files is a bad idea, because we
>> have zImage.lds.S, zImage.coff.lds.S and zImage.ps3.lds.S in
>> arch/powerpc/boot that we don't want deleted. It would be OK for
>> compiling with a separate object directory but would be bad for
>> compiling in the source directory.
>
> We already had them in clean-files:
>
> clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \
> empty.c zImage zImage.coff.lds zImage.ps3.lds zImage.lds
Not quite. Those are the zImage.lds files, Paul is talking about the
zImage.lds.S files from which the former are generated.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 0/4] minor fixes for 2.6.26
2008-05-20 5:10 ` David Gibson
@ 2008-05-20 5:21 ` Kumar Gala
0 siblings, 0 replies; 21+ messages in thread
From: Kumar Gala @ 2008-05-20 5:21 UTC (permalink / raw)
To: David Gibson; +Cc: linuxppc-dev, Paul Mackerras
On May 20, 2008, at 12:10 AM, David Gibson wrote:
> On Mon, May 19, 2008 at 11:52:31PM -0500, Kumar Gala wrote:
>>
>> On May 19, 2008, at 6:07 PM, Paul Mackerras wrote:
>>
>>> Kumar Gala writes:
>>>
>>>>> Kumar Gala (4):
>>>>> lmb: Fix compile warning
>>>>> [POWERPC] Remove generated files on make clean
>>>
>>> I think that adding zImage.* to clean-files is a bad idea, because
>>> we
>>> have zImage.lds.S, zImage.coff.lds.S and zImage.ps3.lds.S in
>>> arch/powerpc/boot that we don't want deleted. It would be OK for
>>> compiling with a separate object directory but would be bad for
>>> compiling in the source directory.
>>
>> We already had them in clean-files:
>>
>> clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \
>> empty.c zImage zImage.coff.lds zImage.ps3.lds
>> zImage.lds
>
> Not quite. Those are the zImage.lds files, Paul is talking about the
> zImage.lds.S files from which the former are generated.
Ah, missed that minor detail.
- k
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v2 0/4] Fixes for 2.6.26
@ 2008-05-20 5:43 Kumar Gala
2008-05-20 5:43 ` [PATCH 1/4] lmb: Fix compile warning Kumar Gala
0 siblings, 1 reply; 21+ messages in thread
From: Kumar Gala @ 2008-05-20 5:43 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
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
^ permalink raw reply [flat|nested] 21+ messages in thread* [PATCH 1/4] lmb: Fix compile warning
2008-05-20 5:43 [PATCH v2 0/4] Fixes " Kumar Gala
@ 2008-05-20 5:43 ` Kumar Gala
0 siblings, 0 replies; 21+ messages in thread
From: Kumar Gala @ 2008-05-20 5:43 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev, davem, linux-kernel
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 <galak@kernel.crashing.org>
Acked-by: David S. Miller <davem@davemloft.net>
---
lib/lmb.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lib/lmb.c b/lib/lmb.c
index 867f7b5..5d7b928 100644
--- a/lib/lmb.c
+++ b/lib/lmb.c
@@ -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);
--
1.5.4.5
^ permalink raw reply related [flat|nested] 21+ messages in thread
end of thread, other threads:[~2008-05-20 5:43 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-18 18:44 [PATCH 0/4] minor fixes for 2.6.26 Kumar Gala
2008-05-18 18:44 ` [PATCH 1/4] lmb: Fix compile warning Kumar Gala
2008-05-18 18:44 ` [PATCH 2/4] [POWERPC] Remove generated files on make clean Kumar Gala
2008-05-18 18:44 ` [PATCH 3/4] [POWERPC] Update arch/powerpc/boot/.gitignore Kumar Gala
2008-05-18 18:44 ` [PATCH 4/4] [POWERPC] Fix mpc8377_mds.dts DMA nodes to match spec Kumar Gala
2008-05-19 3:31 ` [PATCH 1/4] lmb: Fix compile warning David Miller
2008-05-19 3:31 ` David Miller
2008-05-19 4:34 ` [PATCH v2] " Kumar Gala
2008-05-19 4:34 ` Kumar Gala
2008-05-19 5:09 ` David Miller
2008-05-19 4:37 ` [PATCH 0/4] minor fixes for 2.6.26 Kumar Gala
2008-05-19 23:07 ` Paul Mackerras
2008-05-20 0:54 ` David Gibson
2008-05-20 2:03 ` Segher Boessenkool
2008-05-20 2:08 ` David Gibson
2008-05-20 2:22 ` Segher Boessenkool
2008-05-20 2:45 ` David Gibson
2008-05-20 4:52 ` Kumar Gala
2008-05-20 5:10 ` David Gibson
2008-05-20 5:21 ` Kumar Gala
-- strict thread matches above, loose matches on Subject: below --
2008-05-20 5:43 [PATCH v2 0/4] Fixes " Kumar Gala
2008-05-20 5:43 ` [PATCH 1/4] lmb: Fix compile warning Kumar Gala
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.