Re: [PATCH] i2c-cpm: Pass dev ptr to dma_*_coherent rather than NULL

2009-05-03 Thread Mark Ware
Ben Dooks wrote: On Wed, Apr 29, 2009 at 08:43:14AM -0500, Kumar Gala wrote: On Apr 22, 2009, at 4:56 PM, Ben Dooks wrote: On Tue, Apr 21, 2009 at 10:11:51AM -0500, Kumar Gala wrote: On Apr 21, 2009, at 7:49 AM, Mark Ware wrote: Recent DMA changes result in a BUG() when NULL is passed to dm

Re: [PATCH] i2c-cpm: Pass dev ptr to dma_*_coherent rather than NULL

2009-05-03 Thread Ben Dooks
On Wed, Apr 29, 2009 at 08:43:14AM -0500, Kumar Gala wrote: > > On Apr 22, 2009, at 4:56 PM, Ben Dooks wrote: > >> On Tue, Apr 21, 2009 at 10:11:51AM -0500, Kumar Gala wrote: >>> >>> On Apr 21, 2009, at 7:49 AM, Mark Ware wrote: >>> Recent DMA changes result in a BUG() when NULL is passed to >

Re: Porting the ibm_newemac driver to use phylib (and other PHY/MAC questions)

2009-05-03 Thread Benjamin Herrenschmidt
On Sun, 2009-05-03 at 00:26 -0400, Kyle Moffett wrote: > Ok, I've dug through the docs on the 460EPx (the CPU I'm using), and > I'd like some confirmation of the following: > > * The EMAC hardware itself internally has its own dedicated > MDIO/MDClk lines, driven by the STACR register. Yes, tho

Re: [PATCH] powerpc: convert mace to netdev_ops

2009-05-03 Thread David Miller
From: David Miller Date: Sun, 03 May 2009 14:15:24 -0700 (PDT) > From: Rogério Brito > Date: Sun, 3 May 2009 08:48:20 -0300 > >> I hope that this version is a slightly better fix to convert mace to >> netdev_ops. >> >> This is against this morning's net-2.6 tree. >> >> Signed-off-by: Rogério

Re: [PATCH] powerpc: convert mace to netdev_ops

2009-05-03 Thread David Miller
From: Rogério Brito Date: Sun, 3 May 2009 08:48:20 -0300 > I hope that this version is a slightly better fix to convert mace to > netdev_ops. > > This is against this morning's net-2.6 tree. > > Signed-off-by: Rogério Brito I'll apply this, thanks! I made one change however. > @@ -798,6 +80

Re: unexpected non-allocatable section

2009-05-03 Thread Sam Ravnborg
On Sun, May 03, 2009 at 04:32:41PM -0400, Sean MacLennan wrote: > On Sun, 3 May 2009 22:07:01 +0200 > "Sam Ravnborg" wrote: > > > On Sun, May 03, 2009 at 09:33:16PM +0200, Wolfgang Denk wrote: > > > > Which exact commands did you use to build the kenrel, and how did > > > you set (and export?) t

Re: unexpected non-allocatable section

2009-05-03 Thread Sam Ravnborg
> I ran the tests on a LE machine: > > Linux gemini.denx.de 2.6.27.15-170.2.24.fc10.i686 #1 SMP Wed Feb 11 23:58:12 > EST 2009 i686 i686 i386 GNU/Linux > > > I will push the patch in a few minutes. > > > > For reference it is below: > > > > Sam > > > > From: Anders Kaseorg > > Subject: [

Re: unexpected non-allocatable section

2009-05-03 Thread Sean MacLennan
On Sun, 3 May 2009 22:07:01 +0200 "Sam Ravnborg" wrote: > On Sun, May 03, 2009 at 09:33:16PM +0200, Wolfgang Denk wrote: > > Which exact commands did you use to build the kenrel, and how did > > you set (and export?) the CROSS_COMPILE environment variable? export CROSS_COMPILE=ppc_4xxFP- export

Re: unexpected non-allocatable section

2009-05-03 Thread Wolfgang Denk
Dear Sam, in message <20090503200701.ga32...@uranus.ravnborg.org> you wrote: > > > The thing is, that I cannot reproduce this - I tested it with > > v2.6.30-rc4, both with ELDK 4.1 (as you) and ELDK 4.2. > > > > Both build the kernel image without any such warnings. > > Anders already found the

Re: unexpected non-allocatable section

2009-05-03 Thread Sam Ravnborg
On Sun, May 03, 2009 at 09:33:16PM +0200, Wolfgang Denk wrote: > Dear Sean MacLennan, > > In message <20090503123959.0cc5c...@lappy.seanm.ca> you wrote: > > > > > What gcc, binutils versions and config are you using? > > > > gcc version 4.0.0 (DENX ELDK 4.1 4.0.0) > > GNU assembler version 2.16.

Re: unexpected non-allocatable section

2009-05-03 Thread Wolfgang Denk
Dear Sean MacLennan, In message <20090503123959.0cc5c...@lappy.seanm.ca> you wrote: > > > What gcc, binutils versions and config are you using? > > gcc version 4.0.0 (DENX ELDK 4.1 4.0.0) > GNU assembler version 2.16.1 (powerpc-linux) using BFD version 2.16.1 > > And this is all running on the

Re: help with MPC8272ADS board

2009-05-03 Thread Wolfgang Denk
Dear Bracha, In message <065a7d06f7d4e546a18e80e08d066e1811892dd...@ilma1.il.nds.com> you wrote: > > I'm trying to get the MPC8272ADS evaluation board up and running with > the latest versions of u-boot and Denx linux (2.6.24). 2.6.24 is actually very old and not even close to latest. "Latest"

Re: unexpected non-allocatable section

2009-05-03 Thread Sean MacLennan
On Sun, 3 May 2009 20:45:46 +1000 "Stephen Rothwell" wrote: > What gcc, binutils versions and config are you using? gcc version 4.0.0 (DENX ELDK 4.1 4.0.0) GNU assembler version 2.16.1 (powerpc-linux) using BFD version 2.16.1 And this is all running on the Warp with a 440EP. Cheers, Sean __

Re: Next April 28: boot failure on PowerPC with SLQB

2009-05-03 Thread Pekka Enberg
On Thu, 2009-04-30 at 18:10 +0400, Anton Vorontsov wrote: > > @@ -2194,16 +2197,16 @@ static void *kmem_cache_dyn_array_alloc( > > * never get freed by definition so we can do it rather > > * simply. > > */ > > - if (!nextmem) { > > -

Re: Next April 28: boot failure on PowerPC with SLQB

2009-05-03 Thread Pekka Enberg
On Thu, 2009-04-30 at 16:10 +0200, Nick Piggin wrote: > On Fri, May 01, 2009 at 12:00:33AM +1000, Stephen Rothwell wrote: > > Hi Nick, > > > > On Thu, 30 Apr 2009 15:05:42 +0200 Nick Piggin wrote: > > > > > > Hmm, this might do it. The following code now passes some stress testing > > > in a user

[PATCH] powerpc: convert mace to netdev_ops

2009-05-03 Thread Rogério Brito
Hi, Dave. On Apr 27 2009, David Miller wrote: > You can fix the mace_set_timeout() function arguments by having > a helper function that simply wraps around it and provides the > second expection of argument types. I hope that this version is a slightly better fix to convert mace to netdev_ops.

Re: unexpected non-allocatable section

2009-05-03 Thread Stephen Rothwell
Hi Sean, On Sat, 2 May 2009 22:41:26 -0400 Sean MacLennan wrote: > > Latest pull from Linus' git. > > Cheers, >Sean > > WARNING: vmlinux.o (.text): unexpected non-allocatable section. > Did you forget to use "ax"/"aw" in a .S file? > Note that for example contains > section definitions fo

help with MPC8272ADS board

2009-05-03 Thread Landau, Bracha
Hi, I'm trying to get the MPC8272ADS evaluation board up and running with the latest versions of u-boot and Denx linux (2.6.24). I use the device tree file (mpc8272ads.dts) provided. Based on another post, I updated the MPC8260ADS.h file, changing OF_CPU from "c...@0" to "PowerP

Re: unexpected non-allocatable section

2009-05-03 Thread Sean MacLennan
b614a697dc17dff82f140d72d21a095f810fa7fb is first bad commit commit b614a697dc17dff82f140d72d21a095f810fa7fb Author: Anders Kaseorg Date: Thu Apr 23 16:49:33 2009 -0400 kbuild, modpost: Check the section flags, to catch missing "ax"/"aw" When you put .section ".foo" in an