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

2007-09-25 Thread Milton Miller
On Sep 24, 2007, at 10:27 PM, David Gibson wrote: > On Mon, Sep 24, 2007 at 03:02:36AM -0500, Milton Miller wrote: >> >> On Sep 23, 2007, at 9:58 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

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Kumar Gala
On Sep 25, 2007, at 11:56 PM, Mark Nelson wrote: > Kumar Gala wrote: >> >> On Sep 25, 2007, at 8:22 PM, Mark Nelson wrote: >> >>> Kumar Gala wrote: On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: > Update dump_task_altivec() (that has so far never been put to use) > so tha

Re: dtc: Use a custom name for lexer output

2007-09-25 Thread David Gibson
On Wed, Sep 26, 2007 at 02:05:54PM +1000, David Gibson wrote: > This patch makes dtc use the name dtc-lexer.lex.c for the flex output, > instead of the default lex.yy.c. If nothing else that makes the > filename more obvious when/if dtc is embedded into other projects. > > It also explicitly requ

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Mark Nelson
Kumar Gala wrote: > > On Sep 25, 2007, at 8:22 PM, Mark Nelson wrote: > >> Kumar Gala wrote: >>> >>> On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: >>> Update dump_task_altivec() (that has so far never been put to use) so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR >

[PATCH 7/7] Celleb: update for PCI

2007-09-25 Thread Ishizaki Kou
This is a patch kit to support PCI bus on Celleb with new "I/O routines for PowerPC." External PCI on Celleb must do explicit synchronization with devices (Bus has no automatic synchronization feature). Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]> --- Index: linux-powerpc-git/arch/powerpc/plat

[PATCH 6/7] Celleb: Serial I/O update

2007-09-25 Thread Ishizaki Kou
This is an update patch for Serial I/O on Celleb. - Detection algorithm has been changed Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]> --- Index: linux-powerpc-git/arch/powerpc/platforms/celleb/scc_sio.c === --- linux-powerpc-git

[PATCH 3/7] Celleb: Support for Power/Reset buttons

2007-09-25 Thread Ishizaki Kou
This is a patch to support Power/Reset buttons on Beat on Celleb. On Beat, we have an event from Beat if Power button or Reset button is pressed. This patch catches the event and convert it to a signal to INIT process. /sbin/inittab have no entry to turn the machine power off so we have to detect

dtc: Use a custom name for lexer output

2007-09-25 Thread David Gibson
This patch makes dtc use the name dtc-lexer.lex.c for the flex output, instead of the default lex.yy.c. If nothing else that makes the filename more obvious when/if dtc is embedded into other projects. It also explicitly requests flex as the lexer generator, rather than using make's default $(LEX

[PATCH 2/7] Celleb: Move pause, kexec_cpu_down to beat.c

2007-09-25 Thread Ishizaki Kou
This patch is an update for "Beat on Celleb" - Move beat_pause(), beat_kexec_cpu_down() from setup.c to beat.c Signed-off-by: <[EMAIL PROTECTED]> --- Index: linux-powerpc-git/arch/powerpc/platforms/celleb/beat.h === --- linux-power

[PATCH 1/7] PowerPC64: Not to insert EA=0 entry at initializing SLB

2007-09-25 Thread Ishizaki Kou
This is a workaround NOT to insert EA=0 entry at initializing SLB. Without this patch, you can see /sbin/init hanging at a machine which has less or equal than 256MB memory. Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]> --- Index: linux-powerpc-git/arch/powerpc/kernel/setup_64.c ===

Re: [PATCH v2] Make instruction dumping work in real mode.

2007-09-25 Thread Kumar Gala
On Sep 25, 2007, at 3:19 PM, Scott Wood wrote: > On non-book-E-or-4xx, exceptions execute in real mode. If a fault > happens > that leads to a register dump, the kernel currently prints > because > it doesn't realize that PC is a physical address. > > This patch checks the state of

Re: [spi-devel-general] [PATCH 7/7] [POWERPC][SPI] spi_mpc83xx: allow use on MPC85xx

2007-09-25 Thread Kumar Gala
On Sep 25, 2007, at 11:58 AM, David Brownell wrote: - depends on SPI_MASTER && PPC_83xx && EXPERIMENTAL + depends on SPI_MASTER && (PPC_83xx || PPC_85xx) && EXPERIMENTAL >>> >>> Should that really be just PPC_83xx || QUICC_ENGINE? >> >> Well, I thought about that. By now I'm unsure if

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Kumar Gala
On Sep 25, 2007, at 8:22 PM, Mark Nelson wrote: > Kumar Gala wrote: >> >> On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: >> >>> Update dump_task_altivec() (that has so far never been put to use) >>> so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR >>> and VRSAVE) in the same for

Re: 2.6.23-rc6-mm1: Build failure on ppc64 drivers/ata/pata_scc.c

2007-09-25 Thread Jeff Garzik
Satyam Sharma wrote: > Hi, > > > On Thu, 20 Sep 2007, Alan Cox wrote: >> On Thu, 20 Sep 2007 14:13:15 +0100 >> [EMAIL PROTECTED] (Mel Gorman) wrote: >> >>> PPC64 building allmodconfig fails to compile drivers/ata/pata_scc.c . It >>> doesn't show up on other arches because this driver is specific

dtc: Use libfdt/fdt.h instead of flat_dt.h

2007-09-25 Thread David Gibson
In the dtc tree, both flat_dt.h and libfdt/fdt.h have structures and constants relating to the flattened device tree format derived from asm-powerpc/prom.h in the kernel. The former is used in dtc, the latter in libfdt. libfdt/fdt.h is the more recent, revised version, so use that throughout, rem

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Mark Nelson
Kumar Gala wrote: > > On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: > >> Update dump_task_altivec() (that has so far never been put to use) >> so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR >> and VRSAVE) in the same format as the ptrace get_vrregs() and add >> the appropriat

Re: [PATCH 2/2] fsl/embedded6xx: don't cast the result of of_get_property

2007-09-25 Thread Stephen Rothwell
On Wed, 26 Sep 2007 10:52:23 +1000 Jeremy Kerr <[EMAIL PROTECTED]> wrote: > > Stephen, > > > If you don't use the value of the len variable, then you can pass > > NULL to of_get_property. > > Sure, but that's probably a separate patch, no ? OK. > > Not *phys_addr? > > That's what the existing

Re: [PATCH 2/2] fsl/embedded6xx: don't cast the result of of_get_property

2007-09-25 Thread Jeremy Kerr
Stephen, > If you don't use the value of the len variable, then you can pass > NULL to of_get_property. Sure, but that's probably a separate patch, no ? > Not *phys_addr? That's what the existing code does. I'm guessing that it treats phys_addr as an array with one entry, not a single u32. Ch

Re: Build failure on treeboot-walnut.c

2007-09-25 Thread Josh Boyer
On Tue, 25 Sep 2007 16:46:17 -0600 "Grant Likely" <[EMAIL PROTECTED]> wrote: > Building Paul's current powerpc branch with a ppc6xx compiler causes > the following build failure: > > SYSMAP System.map > BOOTCC arch/powerpc/boot/treeboot-walnut.o > {standard input}: Assembler messages: > {st

Re: [PATCH 2/2] fsl/embedded6xx: don't cast the result of of_get_property

2007-09-25 Thread Stephen Rothwell
On Fri, 14 Sep 2007 15:46:40 +1000 Jeremy Kerr <[EMAIL PROTECTED]> wrote: > > - avr_clock = *(u32*)of_get_property(avr, "clock-frequency", &len); > - phys_addr = ((u32*)of_get_property(avr, "reg", &len))[0]; > + phys_addr = of_get_property(avr, "reg", &len); > + avr_clock_prop = of_

Re: Book-E watchdog driver questions

2007-09-25 Thread Mike Nuss
> > Is there a reason that booke_wdt.c does not specify a MODULE_LICENSE? > >> From the copyright notice at the top it appears to be GPL. As > >> written, > > it taints the kernel. > > Odd, no reason. I'll submit a patch for that. > > > Also, if I test out the driver by killing my process that's d

Build failure on treeboot-walnut.c

2007-09-25 Thread Grant Likely
Building Paul's current powerpc branch with a ppc6xx compiler causes the following build failure: SYSMAP System.map BOOTCC arch/powerpc/boot/treeboot-walnut.o {standard input}: Assembler messages: {standard input}:184: Error: Unrecognized opcode: `mfdcr' {standard input}:185: Error: Unrecogn

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Benjamin Herrenschmidt
On Tue, 2007-09-25 at 19:00 +0100, Matt Sealey wrote: > Kumar Gala wrote: > > On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: > > > >> Update dump_task_altivec() (that has so far never been put to use) > >> so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR > >> and VRSAVE) in the

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

2007-09-25 Thread Segher Boessenkool
>>> Hrm... we probably want an "i2c" device_type class, but I don't think >>> we've actually defined one, which is a problem >> >> By defining new device_type's, or new semantics for device_type, >> you open the door to (accidentally) becoming incompatible with >> "real" OF. > > Hrm... perhaps. Bu

Re: [PATCH 2/2] fsl/embedded6xx: don't cast the result of of_get_property

2007-09-25 Thread Kumar Gala
On Sep 14, 2007, at 12:46 AM, Jeremy Kerr wrote: > Use a temporary variable of the correct type instead. > > Also, this allows us to check the return value in ls_uarts_init, to > avoid dereferencing a null pointer if required properties aren't > present. > > Signed-off-by: Jeremy Kerr <[EMAIL PRO

[PATCH v2] Make instruction dumping work in real mode.

2007-09-25 Thread Scott Wood
On non-book-E-or-4xx, exceptions execute in real mode. If a fault happens that leads to a register dump, the kernel currently prints because it doesn't realize that PC is a physical address. This patch checks the state of the IMMU, and if necessary converts PC into a virtual address. Si

Re: [patch 5/7] Use extended crashkernel command line on ppc64

2007-09-25 Thread Andrew Morton
On Tue, 25 Sep 2007 20:23:02 +0200 Bernhard Walle <[EMAIL PROTECTED]> wrote: > This patch adapts the ppc64 code to use the generic parse_crashkernel() > function introduced in the generic patch of that series. > > I really don't like to see patches get a wholesale replacement, especially when t

Re: Local bus binding

2007-09-25 Thread Segher Boessenkool
> Segher, > Kumar said he wants an ack from you on the local bus node binding > before he applies it -- can you review this patch? > > http://patchwork.ozlabs.org/linuxppc/patch?id=13591 As discussed on IRC a bit already... - All three "should"s should be "typically"s. - The relevant values for

[patch 5/7] Use extended crashkernel command line on ppc64

2007-09-25 Thread Bernhard Walle
This patch adapts the ppc64 code to use the generic parse_crashkernel() function introduced in the generic patch of that series. Signed-off-by: Bernhard Walle <[EMAIL PROTECTED]> --- arch/powerpc/kernel/machine_kexec.c | 52 ++-- 1 file changed, 26 insertions(+

Local bus binding

2007-09-25 Thread Scott Wood
Segher, Kumar said he wants an ack from you on the local bus node binding before he applies it -- can you review this patch? http://patchwork.ozlabs.org/linuxppc/patch?id=13591 Thanks, Scott ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https:

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Matt Sealey
Kumar Gala wrote: > On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: > >> Update dump_task_altivec() (that has so far never been put to use) >> so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR >> and VRSAVE) in the same format as the ptrace get_vrregs() and add >> the appropriate

Re: Book-E watchdog driver questions

2007-09-25 Thread Kumar Gala
On Sep 25, 2007, at 11:59 AM, Mike Nuss wrote: > Hi, > > I have a PPC440EPx and I am testing out the builtin watchdog. I have a > couple of questions: > > Is there a reason that booke_wdt.c does not specify a MODULE_LICENSE? >> From the copyright notice at the top it appears to be GPL. As >> wr

Book-E watchdog driver questions

2007-09-25 Thread Mike Nuss
Hi, I have a PPC440EPx and I am testing out the builtin watchdog. I have a couple of questions: Is there a reason that booke_wdt.c does not specify a MODULE_LICENSE? >From the copyright notice at the top it appears to be GPL. As written, it taints the kernel. Also, if I test out the driver by ki

Re: [spi-devel-general] [PATCH 7/7] [POWERPC][SPI] spi_mpc83xx: allow use on MPC85xx

2007-09-25 Thread David Brownell
> >> - depends on SPI_MASTER && PPC_83xx && EXPERIMENTAL > >> + depends on SPI_MASTER && (PPC_83xx || PPC_85xx) && EXPERIMENTAL > > > > Should that really be just PPC_83xx || QUICC_ENGINE? > > Well, I thought about that. By now I'm unsure if every QE > implementation will be compatible with furth

Re: [PATCH 4/7] [POWERPC] QE pario: support for MPC85xx layout

2007-09-25 Thread Kim Phillips
On Tue, 25 Sep 2007 18:34:40 +0400 Anton Vorontsov <[EMAIL PROTECTED]> wrote: > 8 bytes padding required to match MPC85xx registers layout. > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> Reviewed-by: Kim Phillips <[EMAIL PROTECTED]> Kim ___ Li

Re: jffs2 file system on MPC8272ADS board

2007-09-25 Thread Vitaly Bordug
Hello Nethra, On Mon, 24 Sep 2007 22:47:38 -0700 (PDT) Nethra wrote: > > hi everyone, > > I m using custom board similar to MPC8272ADS board... > > 1) For the first time it boots up properly in case if we overwrite any > existing binaries using nfs mounted file system on the board, after > reb

Re: MPC8560 CPM2 SCC(UART) Driver CPM_UART_CONSOLE

2007-09-25 Thread Vitaly Bordug
Hello Deepak, On Tue, 25 Sep 2007 17:33:59 +0630 Deepak Gaur wrote: > Hi all, > > I am writing a kernel module which is required to parse the characters > received from a > device attached to MPC8560 SCC2 (UART slave mode) on serial interface. This > SCC is > required to be configured for sing

Re: MPC8560 CPM2 SCC(UART) Driver CPM_UART_CONSOLE

2007-09-25 Thread Scott Wood
On Tue, Sep 25, 2007 at 05:33:59PM +0630, Deepak Gaur wrote: > I am writing a kernel module which is required to parse the characters > received from a > device attached to MPC8560 SCC2 (UART slave mode) on serial interface. This > SCC is > required to be configured for single-buffer, character b

Re: [spi-devel-general] [PATCH 7/7] [POWERPC][SPI] spi_mpc83xx: allow use on MPC85xx

2007-09-25 Thread Anton Vorontsov
On Tue, Sep 25, 2007 at 10:04:41AM -0500, Kumar Gala wrote: > > On Sep 25, 2007, at 9:35 AM, Anton Vorontsov wrote: > >> MPC85xx's QE SPI controller is almost the same comparing to MPC83xx. >> Thus lets use that driver. Tested to work in loopback mode. >> >> Signed-off-by: Anton Vorontsov <[EMAIL P

Re: [spi-devel-general] [PATCH 7/7] [POWERPC][SPI] spi_mpc83xx: allow use on MPC85xx

2007-09-25 Thread Kumar Gala
On Sep 25, 2007, at 9:35 AM, Anton Vorontsov wrote: > MPC85xx's QE SPI controller is almost the same comparing to MPC83xx. > Thus lets use that driver. Tested to work in loopback mode. > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > --- > drivers/spi/Kconfig |2 +- > 1 files changed

[PATCH v2 7/7] [POWERPC][SPI] spi_mpc83xx: allow use on MPC85xx

2007-09-25 Thread Anton Vorontsov
On Tue, Sep 25, 2007 at 04:48:00PM +0200, Peter Korsgaard wrote: > > "Anton" == Anton Vorontsov <[EMAIL PROTECTED]> writes: > > Hi, > > Anton> config SPI_MPC83xx > Anton> tristate "Freescale MPC83xx SPI controller" > Anton> - depends on SPI_MASTER && PPC_83xx && EXPERIMENTAL >

Re: [PATCH 4/5] ibmebus: Move to of_device and of_platform_driver, match eHCA and eHEA drivers

2007-09-25 Thread Arnd Bergmann
On Tuesday 25 September 2007, Joachim Fenkes wrote: > Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> This is missing a description, but the patch looks good. Arnd <>< ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/ma

Re: [PATCH 7/7] [POWERPC][SPI] spi_mpc83xx: allow use on MPC85xx

2007-09-25 Thread Peter Korsgaard
> "Anton" == Anton Vorontsov <[EMAIL PROTECTED]> writes: Hi, Anton> config SPI_MPC83xx Anton> tristate "Freescale MPC83xx SPI controller" Anton> - depends on SPI_MASTER && PPC_83xx && EXPERIMENTAL Anton> + depends on SPI_MASTER && (PPC_83xx || PPC_85xx) && EXPERIMENT

Re: [PATCH 3/5] ibmebus: Add device creation and bus probing based on of_device

2007-09-25 Thread Arnd Bergmann
On Tuesday 25 September 2007, Joachim Fenkes wrote: > The devtree root is now searched for devices matching a built-in whitelist > during boot, so these devices appear on the bus from the beginning. It is > still possible to manually add/remove devices to/from the bus by using the > probe/remove sy

Re: [PATCH 2/5] ibmebus: Remove bus match/probe/remove functions

2007-09-25 Thread Arnd Bergmann
On Tuesday 25 September 2007, Joachim Fenkes wrote: > ibmebus_{,un}register_driver() are replaced by dummy functions because > ibmebus is temporarily unusable in this transitional state. > > Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> > --- >  arch/powerpc/kernel/ibmebus.c |  199 > ++--

Re: [PATCH 1/5] PowerPC: Move of_device allocation into of_device.[ch]

2007-09-25 Thread Arnd Bergmann
On Tuesday 25 September 2007, Joachim Fenkes wrote: > Extract generic of_device allocation code from of_platform_device_create() > and move it into of_device.[ch], called of_device_alloc(). Also, there's now > of_device_free() which puts the device node. > > Signed-off-by: Joachim Fenkes <[EMAIL P

[PATCH 7/7] [POWERPC][SPI] spi_mpc83xx: allow use on MPC85xx

2007-09-25 Thread Anton Vorontsov
MPC85xx's QE SPI controller is almost the same comparing to MPC83xx. Thus lets use that driver. Tested to work in loopback mode. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/spi/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/spi/Kconfig

[PATCH 6/7] [POWERPC] mpc85xx_mds: reset UCC ethernet properly

2007-09-25 Thread Anton Vorontsov
Apart from that the current code doesn't compile it's also meaningless with regard to the MPC8568E-MDS' BCSR. This patch used to reset UCCs properly. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/platforms/85xx/mpc85xx_mds.c | 28 1 files chan

[PATCH 5/7] [POWERPC] mpc8568mds: update dts to be able to use UCCs

2007-09-25 Thread Anton Vorontsov
1. UCC1's RX_DV pin is 16, not 15; 2. UCC1's phy is at 0x7, not 0x1. Schematics says 0x7, and recent u-boot also using 0x7. 3. Use gianfar's (eTSEC) mdio bus. This is hardware default setup. 4. tx-clock should be CLK16 (GE125, PB31); 5. phy-connection-type is RGMII-ID; Signed-off-by: Anton Voro

[PATCH 4/7] [POWERPC] QE pario: support for MPC85xx layout

2007-09-25 Thread Anton Vorontsov
8 bytes padding required to match MPC85xx registers layout. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/qe_lib/qe_io.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/qe_lib/qe_io.c b/arch/powerpc/sysdev/qe_lib/qe_io.c

[PATCH 3/7] [POWERPC] QEIC: implement low+high multiplexed IRQ chained handler

2007-09-25 Thread Anton Vorontsov
For MPC8568E low and high QEIC lines routed to the single MPIC input, thus low and high sources should be demultiplexed. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/qe_lib/qe_ic.c | 34 -- 1 files changed, 28 insertions(+), 6 deleti

[PATCH 2/7] [POWERPC] Fix QEIC->MPIC cascading

2007-09-25 Thread Anton Vorontsov
set_irq_chained_handler overwrites MPIC's handle_irq function (handle_fasteoi_irq) thus MPIC never gets eoi event from the cascaded IRQ. This situation hangs MPIC on MPC8568E. Patch adds flow level "end" handler to the MPIC, and QEIC calls it when QEIC's interrupt processing finished. Signed-off-

[PATCH 1/7] [POWERPC] mpc85xx_mds: select QUICC_ENGINE

2007-09-25 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/platforms/85xx/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig index b8476b2..cf815b2 100644 --- a/arch/powerpc/platforms

MPC85xx_MDS: Patches to support QE, UCCs and SPI

2007-09-25 Thread Anton Vorontsov
Hi all, These patches needed to make QE, UCCs and SPI work on MPC8568E-MDS. Patchset is against galak/powerpc.git master branch. Thanks, -- Anton Vorontsov email: [EMAIL PROTECTED] backup email: [EMAIL PROTECTED] irc://irc.freenode.net/bd2 ___ Linuxp

Re: 2.6.23-rc6-mm1 -- powerpc link failure

2007-09-25 Thread Andy Whitcroft
On Wed, Sep 19, 2007 at 07:44:03PM +0200, Sam Ravnborg wrote: > On Wed, Sep 19, 2007 at 10:28:48AM +0100, Andy Whitcroft wrote: > > I am seeing this strange link error from a PowerMac G5 (powerpc): > > > > [...] > > KSYM.tmp_kallsyms2.S > > AS .tmp_kallsyms2.o > > LD vm

Re: AMCC yosemite 440ep PCI slot doesn't work.

2007-09-25 Thread Stefan Roese
On Tuesday 25 September 2007, Stefan Roese wrote: > On Tuesday 25 September 2007, Andrew Liu wrote: > > I have tested it on linux-2.6.19 which is from AMCC website , linux > > 2.6.21.7 which is from linux mainline and linux-2.6.23.rc7 which is > > from git://www.denx.de/git/linux-2.6-denx.git > >

Re: Please pull powerpc.git merge branch

2007-09-25 Thread Paul Mackerras
Kumar Gala writes: > Should this also go to -stable? It turns out that it's not triggerable (as an oops) from userspace in 2.6.22 and earlier. Commit 1b6610d6 of Ben H's took out #ifdef CONFIG_PPC32 around a couple of CHECK_FULL_REGS calls, which is what made it triggerable on ppc64. We have an

Re: Please pull powerpc.git merge branch

2007-09-25 Thread Kumar Gala
On Sep 25, 2007, at 6:40 AM, Paul Mackerras wrote: > Linus, > > Please do > > git pull \ > git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge > > to get a patch from Roland McGrath that fixes a user-triggerable oops > on 64-bit powerpc. > > Thanks, > Paul. Should this also go

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Kumar Gala
On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: > Update dump_task_altivec() (that has so far never been put to use) > so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR > and VRSAVE) in the same format as the ptrace get_vrregs() and add > the appropriate glue typedefs and #defines

Please pull powerpc.git merge branch

2007-09-25 Thread Paul Mackerras
Linus, Please do git pull \ git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge to get a patch from Roland McGrath that fixes a user-triggerable oops on 64-bit powerpc. Thanks, Paul. arch/powerpc/kernel/process.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions

[PATCH 5/5] ibmebus: More speaking error return code in ibmebus_store_probe()

2007-09-25 Thread Joachim Fenkes
Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ibmebus.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/ibmebus.c b/arch/powerpc/kernel/ibmebus.c index 379472f..8c08a98 100644 --- a/arch/powerpc/kernel/ibmebus.c +++ b/arch

[PATCH 4/5] ibmebus: Move to of_device and of_platform_driver, match eHCA and eHEA drivers

2007-09-25 Thread Joachim Fenkes
Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/ehca_classes.h |2 +- drivers/net/ehea/ehea.h |2 +- include/asm-powerpc/ibmebus.h | 38 +++ arch/powerpc/kernel/ibmebus.c | 28 ++- drivers/in

[PATCH 3/5] ibmebus: Add device creation and bus probing based on of_device

2007-09-25 Thread Joachim Fenkes
The devtree root is now searched for devices matching a built-in whitelist during boot, so these devices appear on the bus from the beginning. It is still possible to manually add/remove devices to/from the bus by using the probe/remove sysfs interface. Also, when a device driver registers itself,

[PATCH 2/5] ibmebus: Remove bus match/probe/remove functions

2007-09-25 Thread Joachim Fenkes
ibmebus_{,un}register_driver() are replaced by dummy functions because ibmebus is temporarily unusable in this transitional state. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ibmebus.c | 199 ++--- 1 files changed, 6 insertions(+)

[PATCH 1/5] PowerPC: Move of_device allocation into of_device.[ch]

2007-09-25 Thread Joachim Fenkes
Extract generic of_device allocation code from of_platform_device_create() and move it into of_device.[ch], called of_device_alloc(). Also, there's now of_device_free() which puts the device node. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- include/asm-powerpc/of_device.h |4 ++ i

[PATCH 0/5] PowerPC: ibmebus refactoring and fixes

2007-09-25 Thread Joachim Fenkes
This patchset will merge the ibmebus and of_platform bus drivers by basing a lot of ibmebus functionality on of_platform code and adding the features specific to ibmebus on top of that. I split the actual ibmebus rework into three patches (2/5-4/5) for easier readability. The kernel will compile d

MPC8560 CPM2 SCC(UART) Driver CPM_UART_CONSOLE

2007-09-25 Thread Deepak Gaur
Hi all, I am writing a kernel module which is required to parse the characters received from a device attached to MPC8560 SCC2 (UART slave mode) on serial interface. This SCC is required to be configured for single-buffer, character based operation. Moreover on another SCC (SCC1 UART master mod

Linux 2.6.23-rc7 kGDB broken

2007-09-25 Thread Benjamin ZORES
Hi, I used to use linux-2.6-kgdb git tree from jwessel to extract kGDB related patches but I now have seen that it has been included in -mm branch. However, in this branch, kGDB seems to be broken at least on PowerPC (see http://lkml.org/lkml/2007/9/19/103). It seems to me that the only reason i