Re: Sequoia kernel crash workaround.

2007-09-23 Thread Benjamin Herrenschmidt
On Thu, 2007-09-20 at 12:29 -0500, Josh Boyer wrote: > On Thu, 20 Sep 2007 12:25:06 -0500 > Olof Johansson <[EMAIL PROTECTED]> wrote: > > > On Thu, Sep 20, 2007 at 08:56:32PM +0400, Valentine Barshak wrote: > > > > > > I was thinking about it. Looks like it's the best place, but the code > > > t

Downtime

2007-09-23 Thread Stephen Rothwell
Hi all, Just letting you all know that ozlabs.org will be down for about 5 hours from 1:54 am Canberra time (UTC+10) Monday morning (i.e. about 2 hours 40 minutes from now) due to electrical work in our hosting data centre. -- Cheers, Stephen Rothwell[EMAIL PROTECTED] http:

[patch v3] Cell: Wrap master run control bit

2007-09-23 Thread Geoff Levand
Subject: Cell: Wrap master run control bit From: Masato Noguchi <[EMAIL PROTECTED]> Add platform specific SPU run control routines to the spufs. The current spufs implementation uses the SPU master run control bit (MFC_SR1[S]) to control SPE execution, but the PS3 hypervisor does not support the

FDT for Microblaze and PPC405

2007-09-23 Thread Michal Simek
Hi, I made EDK tcl script for generation DTS test scructure for FDT. Script support Microblaze and PowerPC 405. Script was primary built for generation U-BOOT configs files for Microblaze. For Microblaze can you generate both files (FDT and U-BOOT). For PowerPC can you generate only DTS file. Gener

Re: [PATCH 1/2] qemu platform, v2

2007-09-23 Thread Rob Landley
On Saturday 22 September 2007 11:27:05 pm Paul Mackerras wrote: > Rob Landley writes: > > Just to correct a few misconceptions: > > 2) PowerPC uses a device tree supplied by the hardware to identify the > > available hardware, even for stuff living on PCI busses which it could > > theoretically pro

[PATCH 08/11] [POWERPC] iSeries: move detection of virtual cdroms

2007-09-23 Thread Stephen Rothwell
Now we will only have entries in the device tree for the actual existing devices (including their OS/400 properties). This way viocd.c gets all the information about the devices from the device tree. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/vio.c

[PATCH 09/11] [POWERPC] iSeries: move detection of virtual tapes

2007-09-23 Thread Stephen Rothwell
Now we will only have entries in the device tree for the actual existing devices (including their OS/400 properties). This way viotape.c gets all the information about the devices from the device tree. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/platforms/iseries/dt.c |

[PATCH 11/11] [POWERPC] iSeries: move viodasd probing

2007-09-23 Thread Stephen Rothwell
This way we only have entries in the device tree for disks that actually exist. A slight complication is that disks may be attached to LPARs at runtime. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/platforms/iseries/dt.c |6 - arch/powerpc/platforms/iseries/vio.c |

Re: [PATCH 1/15] boot: find initrd location from device-tree

2007-09-23 Thread David Gibson
On Fri, Sep 21, 2007 at 06:03:24PM -0500, Milton Miller wrote: > Some platforms have a boot agent that can create or modify properties in > the device-tree and load images into memory. Provide a helper to set > loader_info used by prep_initrd(). > > Signed-off-by: Milton Miller <[EMAIL PROTECTED]

Re: [PATCH 2/15] boot: record header bytes in gunzip_start

2007-09-23 Thread David Gibson
On Fri, Sep 21, 2007 at 06:03:34PM -0500, Milton Miller wrote: > > Record the number of header bytes skipped in the total bytes read field. > > This is needed for the initramfs parsing code to find the end of the > zip file. > > Signed-off-by: Milton Miller <[EMAIL PROTECTED]> Acked-by: David Gi

Re: [PATCH 5/15] bootwrapper: occuppied memory ranges

2007-09-23 Thread David Gibson
On Fri, Sep 21, 2007 at 06:04:18PM -0500, Milton Miller wrote: > Add a set of library routines to manage gross memory allocations. > > This code uses an array in bss to store upto 32 entrys with merging > representing a range of memory below rma_end (aka end of real mode > memory at 0). > > To us

Re: [PATCH 6/15] bootwrapper: help for 64 bit cpus

2007-09-23 Thread David Gibson
On Fri, Sep 21, 2007 at 06:04:37PM -0500, Milton Miller wrote: > Add code to check if the processor is in 64 or 32 bit mode using > only instructions from the 32 bit subset. If the processor is in > 64 bit mode, switch to 32 bit mode by clearing MSR[SF]. > > Also add a 64 bit procedure descriptor

Re: [PATCH 7/15] bootwrapper: Add kexec callable zImage wrapper

2007-09-23 Thread David Gibson
On Fri, Sep 21, 2007 at 06:04:58PM -0500, Milton Miller wrote: > > This code creates a 32 bit zImage wrapper for a 32 or 64 bit PowerPC > Linux kernel. This allows you to kexec a zImage with its compressed > vmlinux instead of the uncompressed vmlinux elf. The code is also > packaged as a 64 bit

Re: [PATCH 8/15] bootwrapper: convert flatdevtree to version 16

2007-09-23 Thread David Gibson
On Fri, Sep 21, 2007 at 06:05:06PM -0500, Milton Miller wrote: > kexec-tools still produces a version 2 device tree, while the > libraries in the wrapper only support version 16 and later. > > Add a routine to convert a v2 flat device tree to a v16 one inplace > by inserting OF_DT_NOP and chomping

Re: [PATCH 9/15] bootwrapper: rtas support

2007-09-23 Thread David Gibson
On Fri, Sep 21, 2007 at 06:05:30PM -0500, Milton Miller wrote: > This code provides a console write that calls put-term-char. > > To avoid PIC relocation of the absolute rtas addresses, hide the > actual call to rtas in assembly and declare all variables as int. > > An instantiated rtas will be p

Re: [PATCH 1/2] qemu platform, v2

2007-09-23 Thread David Gibson
On Sat, Sep 22, 2007 at 11:55:46AM +0200, Christoph Hellwig wrote: > On Fri, Sep 21, 2007 at 06:08:31PM -0500, Milton Miller wrote: > > Here is the second rev of patches to boot a arch powerpc kernel on > > qemu with the prep architecture. > > So if this is supposed to be prep why do you need addi

Re: [PATCH 13/15] bootwrapper: attach an empty vmlinux

2007-09-23 Thread David Gibson
On Fri, Sep 21, 2007 at 06:06:38PM -0500, Milton Miller wrote: > Allow the boot wrapper code to be linked without an attached vmlinux. > > Rather than invent a new syntax to invoke the wrapper, attach the > stripped version of empty.o, which produces the same result. Aiee. Please don't do that.

Re: [patch 3/3] mpc8349emitx.dts: Add ds1339 RTC

2007-09-23 Thread David Gibson
On Fri, Sep 21, 2007 at 09:35:03AM +0200, Peter Korsgaard wrote: > > "Scott" == Scott Wood <[EMAIL PROTECTED]> writes: > > Hi, > > Scott> #size-cells is zero on i2c, so it should just be reg = <68>. > > Scott> You'll probably need to add #address-cells and #size-cells to the > Scott> cont

Re: [PATCH 1/15] boot: find initrd location from device-tree

2007-09-23 Thread Rob Landley
On Sunday 23 September 2007 9:58:24 pm David Gibson wrote: > On Fri, Sep 21, 2007 at 06:03:24PM -0500, Milton Miller wrote: > > Some platforms have a boot agent that can create or modify properties in > > the device-tree and load images into memory. Provide a helper to set > > loader_info used by

Re: [patch 3/3] mpc8349emitx.dts: Add ds1339 RTC

2007-09-23 Thread Peter Korsgaard
> "David" == David Gibson <[EMAIL PROTECTED]> writes: Hi >> compatible = "fsl-i2c"; >> reg = <3100 100>; >> interrupts = ; >> interrupt-parent = < &ipic >; >> dfsrr; >> + >> + [EMAIL PROTECTED] { >> + device_type = "rtc"; >> +

Re: [patch 3/3] mpc8349emitx.dts: Add ds1339 RTC

2007-09-23 Thread Kumar Gala
On Sep 24, 2007, at 12:07 AM, David Gibson wrote: > On Fri, Sep 21, 2007 at 09:35:03AM +0200, Peter Korsgaard wrote: >>> "Scott" == Scott Wood <[EMAIL PROTECTED]> writes: >> >> Hi, >> >> Scott> #size-cells is zero on i2c, so it should just be reg = <68>. >> >> Scott> You'll probably need to

Re: [PATCH 8/15] bootwrapper: convert flatdevtree to version 16

2007-09-23 Thread Milton Miller
On Sep 23, 2007, at 10:36 PM, David Gibson wrote: > On Fri, Sep 21, 2007 at 06:05:06PM -0500, Milton Miller wrote: >> kexec-tools still produces a version 2 device tree, while the >> libraries in the wrapper only support version 16 and later. >> >> Add a routine to convert a v2 flat device tree t