Re: Device Tree setup for 8272-based board

2009-01-20 Thread Daniel Ng
Hi Scott, On Wed, Jan 21, 2009 at 3:41 AM, Scott Wood wrote: > On Tue, Jan 20, 2009 at 06:23:08PM +1100, Daniel Ng wrote: >> PID hash table entries: 128 (order: 7, 512 bytes) >> time_init: decrementer frequency = 16.50 MHz >> time_init: processor frequency = 330.00 MHz >> clocksource: t

Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended)

2009-01-20 Thread Paul Collins
Got a couple of these on a PowerBook running 2.6.29-rc2 either during suspend or resume -- it's hard to tell. (The suspend message is timestamped in syslog with the time I resumed, so I guess it was buffered along with the subsequent "Badness" messages.) Badness at kernel/time/timekeeping.c:98 N

Re: [PATCH] powerpc: more printing warning fixes for the l64 to ll64 conversion

2009-01-20 Thread Olof Johansson
On Wed, Jan 21, 2009 at 11:16:51AM +1100, Stephen Rothwell wrote: > These are all powerpc specific drivers. > > Signed-off-by: Stephen Rothwell pasemi_nand.c pieces: Acked-by: Olof Johansson ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org http

Re: Defconfig support

2009-01-20 Thread Josh Boyer
On Tue, Jan 20, 2009 at 08:09:36PM -0500, Sean MacLennan wrote: >On Tue, 20 Jan 2009 06:29:30 -0500 >"Josh Boyer" wrote: > >> Since I'll be doing defconfig updates today, just tell me which >> options you need set or disabled. > >Let's try this patch and see how it goes. If it doesn't apply easily

Re: Defconfig support

2009-01-20 Thread Sean MacLennan
On Tue, 20 Jan 2009 06:29:30 -0500 "Josh Boyer" wrote: > Since I'll be doing defconfig updates today, just tell me which > options you need set or disabled. Let's try this patch and see how it goes. If it doesn't apply easily, I will just give you a list. Note a few of the options will be disa

Re: [patch] Possible fix for kexec-tools dynamic range allocation

2009-01-20 Thread Michael Ellerman
On Wed, 2009-01-21 at 08:30 +1100, Simon Horman wrote: > On Wed, Jan 07, 2009 at 05:01:26PM +1100, Michael Ellerman wrote: > > Hi all, > > > > The patch to dynamically allocate memory regions for ppc64 kexec-tools, > > ie. "ppc64: kexec memory ranges dynamic allocation" (d182ce5), has never > > wo

Re: [PATCH] powerpc: more printing warning fixes for the l64 to ll64 conversion

2009-01-20 Thread Arnd Bergmann
On Wednesday 21 January 2009, Stephen Rothwell wrote: >  drivers/edac/cell_edac.c         |    8 >  drivers/mtd/nand/fsl_elbc_nand.c |    6 +++--- >  drivers/mtd/nand/pasemi_nand.c   |    4 ++-- >  3 files changed, 9 insertions(+), 9 deletions(-) > > If noone minds (seeing as how simple t

Re: [PATCH 10/13] powerpc/ps3: printing fixups for l64 to ll64 convserion: drivers/net

2009-01-20 Thread Stephen Rothwell
Hi Ben, On Wed, 14 Jan 2009 14:54:34 -0800 Geoff Levand wrote: > > Stephen Rothwell wrote: > > Signed-off-by: Stephen Rothwell > > --- > > drivers/net/ps3_gelic_wireless.c |2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > Acked-by: Geoff Levand >From Dave Miller: Please f

[PATCH] powerpc: more printing warning fixes for the l64 to ll64 conversion

2009-01-20 Thread Stephen Rothwell
These are all powerpc specific drivers. Signed-off-by: Stephen Rothwell --- drivers/edac/cell_edac.c |8 drivers/mtd/nand/fsl_elbc_nand.c |6 +++--- drivers/mtd/nand/pasemi_nand.c |4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) If noone minds (seeing as

Re: [patch] Possible fix for kexec-tools dynamic range allocation

2009-01-20 Thread Simon Horman
On Wed, Jan 07, 2009 at 05:01:26PM +1100, Michael Ellerman wrote: > Hi all, > > The patch to dynamically allocate memory regions for ppc64 kexec-tools, > ie. "ppc64: kexec memory ranges dynamic allocation" (d182ce5), has never > worked AFAICT. > > Chandru reported it as broken when it was posted:

Re: [Patch] NULL pointer deref with corrupted squashfs image

2009-01-20 Thread Tom Rini
On Tue, Jan 20, 2009 at 05:47:14PM +0100, Eric Sesterhenn wrote: > * Jörn Engel (jo...@logfs.org) wrote: > > On Fri, 16 January 2009 16:07:00 -0700, Tom Rini wrote: > > > > > > Sounds like a plan to me, except maybe zlib_inflate_unsafe() and a > > > comment above the wrapper saying what/why is goi

Re: [RFC PATCH] "multifunc-device": fix IRQ assignment by also scanning dummy nodes

2009-01-20 Thread Tom Arbuckle
Hi, Did anybody pick up on this patch necessary to have OF understand so-called "multifunc-devices". I received no feedback on it. I note that the problem persists with 2.6.28.1 (although it was introduced by the PCI reorg for 2.6.20). File pci_32.c is unchanged in the latest release. Regards,

Re: [Patch] NULL pointer deref with corrupted squashfs image

2009-01-20 Thread Jörn Engel
On Tue, 20 January 2009 17:47:14 +0100, Eric Sesterhenn wrote: > > Some callees of zlib_inflate() might accidentally pass a NULL s/callee/caller/ ? Apart from this, looks fine to me - modulo xtensa of course. Jörn -- Sometimes, asking the right question is already the answer. -- Unknown _

Re: [MPC8272ADS]Cannot start my Linux Kernel

2009-01-20 Thread Scott Wood
On Tue, Jan 20, 2009 at 05:27:09PM +0100, Jean-Michel Hautbois wrote: > 2009/1/20 Jean-Michel Hautbois : > > OK, I just tried a cuImage and a ramdisk without a FDT. I am starting > > to boot, but it freezes. > [...] > > Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 > >

Re: [MPC8272ADS]Cannot start my Linux Kernel

2009-01-20 Thread Scott Wood
Jean-Michel Hautbois wrote: OK... And is there anywhere a description of how I can do that :s. Hmm, if the old u-boot on my board is any indication, it doesn't use a single descriptor, so it's not compatible with the early debug. Just turn it off, and with the brg setting removed you should

Re: [MPC8272ADS]Cannot start my Linux Kernel

2009-01-20 Thread Jean-Michel Hautbois
2009/1/20 Scott Wood : > Jean-Michel Hautbois wrote: >> >> It is *a lot* better ! >> I am finishing into a kernel panic, but it is a normal thing (bad >> initramfs). >> >> Well, that was using the cuImage. When I try to use the uImage and the >> FDT file, I am stopped here: >> Uncompressing Kernel

Re: [MPC8272ADS]Cannot start my Linux Kernel

2009-01-20 Thread Scott Wood
Jean-Michel Hautbois wrote: It is *a lot* better ! I am finishing into a kernel panic, but it is a normal thing (bad initramfs). Well, that was using the cuImage. When I try to use the uImage and the FDT file, I am stopped here: Uncompressing Kernel Image ... OK Loading Ramdisk to 039d7000,

Re: [MPC8272ADS]Cannot start my Linux Kernel

2009-01-20 Thread Jean-Michel Hautbois
2009/1/20 Scott Wood : > On Tue, Jan 20, 2009 at 11:56:58AM +0100, Jean-Michel Hautbois wrote: >> Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 >> Kernel command line: root=/dev/ram rw >> PID hash table entries: 256 (order: 8, 1024 bytes) >> time_init: decrementer frequ

Re: [Patch] NULL pointer deref with corrupted squashfs image

2009-01-20 Thread Eric Sesterhenn
* Jörn Engel (jo...@logfs.org) wrote: > On Fri, 16 January 2009 16:07:00 -0700, Tom Rini wrote: > > > > Sounds like a plan to me, except maybe zlib_inflate_unsafe() and a > > comment above the wrapper saying what/why is going on? > > Eric, will you do the honors? Since you did all the hard work

Re: Device Tree setup for 8272-based board

2009-01-20 Thread Scott Wood
On Tue, Jan 20, 2009 at 06:23:08PM +1100, Daniel Ng wrote: > PID hash table entries: 128 (order: 7, 512 bytes) > time_init: decrementer frequency = 16.50 MHz > time_init: processor frequency = 330.00 MHz > clocksource: timebase mult[f26c9b2] shift[22] registered > clockevent: decrementer

Re: [MPC8272ADS]Cannot start my Linux Kernel

2009-01-20 Thread Scott Wood
On Tue, Jan 20, 2009 at 11:56:58AM +0100, Jean-Michel Hautbois wrote: > Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 > Kernel command line: root=/dev/ram rw > PID hash table entries: 256 (order: 8, 1024 bytes) > time_init: decrementer frequency = 25.00 MHz > time_i

Re: [MPC8272ADS]Cannot start my Linux Kernel

2009-01-20 Thread Jean-Michel Hautbois
2009/1/20 Jean-Michel Hautbois : > OK, I just tried a cuImage and a ramdisk without a FDT. I am starting > to boot, but it freezes. [...] > Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 > Kernel command line: root=/dev/ram rw > PID hash table entries: 256 (order: 8, 102

Re: Bestcomm tasks and interrupts on MPC5200(B)

2009-01-20 Thread Grant Likely
On Tue, Jan 20, 2009 at 6:15 AM, Dave Best wrote: > I'm trying to write a driver which uses the Local Plus Bus on my MPC5200B and > therefore have to use BestComm DMA, which requires me to use a Gen_BD task > for data transfer with Local Plus. > I tried to follow the fec driver that is currently

Re: Kernel Documentation MPC52xx Device Tree Bindings

2009-01-20 Thread Grant Likely
On Tue, Jan 20, 2009 at 12:44 AM, Roman Fietze wrote: > Hello Grant, > > Sorry for mailing to you directly, but joining the appropriate mailing > lists just for posting this one thing doesn't make too much sense. You don't need to subscribe to post to the list. Just email the list and CC: me. W

Re: Bestcomm tasks and interrupts on MPC5200(B)

2009-01-20 Thread Frank Bennett
Dave Best wrote: I'm trying to write a driver which uses the Local Plus Bus on my MPC5200B and therefore have to use BestComm DMA, which requires me to use a Gen_BD task for data transfer with Local Plus. I tried to follow the fec driver that is currently used and took a peek at the mpc52xx-ac

[PATCH] powerpc/85xx: Fix typo in mpc8572ds dts

2009-01-20 Thread Kumar Gala
The localbus node flash had a minor typo for a read-only property. Signed-off-by: Kumar Gala --- arch/powerpc/boot/dts/mpc8572ds.dts |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8572ds.dts b/arch/powerpc/boot/dts/mpc8572ds.dts index 3dcc001.

Re: [PATCH] PS3 ps3av_set_video_mode() make id signed

2009-01-20 Thread Roel Kluin
>> make id signed so a negative id will get noticed > > Thanks for noticing! It looks OK, except... > 1. You forgot to update the forward declaration of ps3av_set_video_mode() in >arch/powerpc/include/asm/ps3av.h (did you compile this succesfully?) fixed that (and no, sorry, I didn't compil

Re: Bestcomm tasks and interrupts on MPC5200(B)

2009-01-20 Thread Frank Bennett
Dave Best wrote: I'm trying to write a driver which uses the Local Plus Bus on my MPC5200B and therefore have to use BestComm DMA, which requires me to use a Gen_BD task for data transfer with Local Plus. I tried to follow the fec driver that is currently used and took a peek at the mpc52xx-ac

Re: [PATCH] powerpc: Remove arch/ppc cruft from Kconfig

2009-01-20 Thread Kumar Gala
On Jan 20, 2009, at 9:16 AM, Josh Boyer wrote: Remove some leftover cruft from the arch/ppc days Signed-off-by: Josh Boyer --- diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index e39b73b..74cc312 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -876,10 +876,6 @@ sou

[PATCH] powerpc: Remove arch/ppc cruft from Kconfig

2009-01-20 Thread Josh Boyer
Remove some leftover cruft from the arch/ppc days Signed-off-by: Josh Boyer --- diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index e39b73b..74cc312 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -876,10 +876,6 @@ source "drivers/Kconfig" source "fs/Kconfig" -# X

Re: [PATCH] mb862xx: Restrict compliation of platform driver to PPC

2009-01-20 Thread Anatolij Gustschin
Julian Calaby wrote: > mb862xx: Restrict compliation of platform driver to PPC > > The OpenFirmware part of this driver is uncompilable on SPARC due to it's > dependance on several PPC specific functions. > > Restricting this to PPC to prevent these build errors. > > This was found using randco

Bestcomm tasks and interrupts on MPC5200(B)

2009-01-20 Thread Dave Best
I'm trying to write a driver which uses the Local Plus Bus on my MPC5200B and therefore have to use BestComm DMA, which requires me to use a Gen_BD task for data transfer with Local Plus. I tried to follow the fec driver that is currently used and took a peek at the mpc52xx-ac97 driver which at

Re: Defconfig support

2009-01-20 Thread Josh Boyer
On Mon, Jan 19, 2009 at 11:21:36PM -0500, Sean MacLennan wrote: >Since the list seems quiet right now, thought I would ask a question. >Up till now I haven't really worried about the warp defconfig being up >to date since, realistically, the stock kernel was not usable on the >warp. Since it usuall

Re: [PATCH] powerpc: Warp patches for the new ndfc driver

2009-01-20 Thread Josh Boyer
On Mon, Jan 19, 2009 at 11:12:05PM -0500, Sean MacLennan wrote: >On Fri, 9 Jan 2009 23:20:11 -0500 >"Sean MacLennan" wrote: > >> Woo hoo! The ndfc driver finally got in the kernel! These patches >> update the warp to use the new driver. > >Just a bump and a comment to see who is reading this ;) >

Re: [PATCH 5/5] ide: Force VIA IDE legacy interrupts for AmigaOne boards

2009-01-20 Thread Gerhard Pircher
Original-Nachricht > Datum: Mon, 19 Jan 2009 19:28:35 +0100 > Von: Bartlomiej Zolnierkiewicz > An: "Gerhard Pircher" > CC: Benjamin Herrenschmidt , > linux-...@vger.kernel.org, linuxppc-dev@ozlabs.org, grant.lik...@secretlab.ca > Betreff: Re: [PATCH 5/5] ide: Force VIA IDE leg

Re: [MPC8272ADS]Cannot start my Linux Kernel

2009-01-20 Thread Jean-Michel Hautbois
2009/1/16 Scott Wood : > Jean-Michel Hautbois wrote: >> >> OK, I just tried a make of my kernel (already compiled yesterday), and >> it generated a cuImage.mpc8272ads kernel image (which it didn't do >> yesterday). >> I don't know why this image was generated, but I tried to reboot using >> this on

Re: [PATCH] PS3 ps3av_set_video_mode() make id signed

2009-01-20 Thread Geert Uytterhoeven
On Sat, 17 Jan 2009, Roel Kluin wrote: > vi drivers/video/ps3fb.c +618 > static int ps3fb_set_par(struct fb_info *info) > { > struct ps3fb_par *par = info->par; > ... [ and at line 660 ] ... > if (ps3av_set_video_mode(par->new_mode_id)) > > now new_mode_id is an int > > vi drivers/v

Re: 2.6.28-rc9 panics with crashkernel=256M while booting

2009-01-20 Thread Chandru
Chandru wrote: In case either physbase or reserve_size are not page aligned and in addition if the following condition is also true node_ar.end_pfn = node->node_end_pfn = PFN_DOWN(physbase+reserve_size). we may hit the BUG_ON(end > bdata->node_low_pfn) in mark_bootmem_node() in mm/bootmem.c Hen