MPC5121e, MBX driver, pvr.ko ...

2009-02-05 Thread David Jander
Hi all, I have a custom board with a MPC5121e (rev 1.5) on it. It is the latest git kernel from denx ads5121 head with our BSP mixed in. I decided to try out Application Note AN3793 from Freescale (3D Graphics on the ADS512101 Board Using OpenGL ES). I started trying to load the provided (bin

Re: [PATCH 2/2] powerpc, ftrace: fix compile error when modules not configured

2009-02-05 Thread Steven Rostedt
On Fri, 2009-02-06 at 17:23 +1100, Michael Neuling wrote: > In message <20090206060527.369616...@goodmis.org> you wrote: > > From: Steven Rostedt > > > > Michael Neuling reported a compile bug when dynamic ftrace was > > configured in and modules were not. This was due to the ftrace > > code ref

Re: [PATCH 2/2] powerpc, ftrace: fix compile error when modules not configured

2009-02-05 Thread Michael Neuling
In message <20090206060527.369616...@goodmis.org> you wrote: > From: Steven Rostedt > > Michael Neuling reported a compile bug when dynamic ftrace was > configured in and modules were not. This was due to the ftrace > code referencing module specific structures. > > Reported-by: Michael Neuling

Re: [PATCH 2/2] powerpc, ftrace: fix compile error when modules not configured

2009-02-05 Thread Steven Rostedt
[ forgot to add linuxppc ] On Fri, 6 Feb 2009, Steven Rostedt wrote: > From: Steven Rostedt > > Michael Neuling reported a compile bug when dynamic ftrace was > configured in and modules were not. This was due to the ftrace > code referencing module specific structures. > > Reported-by: Mich

Re: [PATCH 1/2] ftrace, powerpc: replace debug macro with proper pr_deug

2009-02-05 Thread Steven Rostedt
[ forgot to add linuxppc ] On Fri, 6 Feb 2009, Steven Rostedt wrote: > From: Steven Rostedt > > Impact: cleanup > > The PowerPC ftrace code uses a hacked up DEBUGP macro for prints. > This patch converts it to the standard pr_debug. > > Signed-off-by: Steven Rostedt > --- > arch/powerpc/ke

Re: FSL eSDHC bindings update

2009-02-05 Thread Kumar Gala
On Feb 5, 2009, at 1:04 PM, Anton Vorontsov wrote: On Thu, Jan 22, 2009 at 01:15:01PM -0600, Kumar Gala wrote: On Jan 21, 2009, at 8:00 PM, Anton Vorontsov wrote: This patch adds a new driver: sdhci-of. The driver is similar to the sdhci-pci, it contains common probe code, and controller- sp

Re: ftrace compile error with 32 bit PPC with mainline

2009-02-05 Thread Steven Rostedt
On Fri, 2009-02-06 at 13:37 +1100, Michael Neuling wrote: > # CONFIG_MODULES is not set Those are module references. I never tested with modules turned off. I'll write up a patch tonight. Thanks, -- Steve ___ Linuxppc-dev mailing list Linuxppc-de

ftrace compile error with 32 bit PPC with mainline

2009-02-05 Thread Michael Neuling
I get the following compile error with ftrace with mainline with the attached config (made with randconfig) /home/mikey/src/linux-2.6-ozlabs/arch/powerpc/kernel/ftrace.c: In function ‘__ftrace_make_call’: /home/mikey/src/linux-2.6-ozlabs/arch/powerpc/kernel/ftrace.c:443: error: dereferencing poi

Build breakage for CONFIG_PM but no CONFIG_SUSPEND

2009-02-05 Thread Michael Neuling
I noticed this doing some randconfig testing (.config below). I have CONFIG_PM but no CONFIG_SUSPEND. Bug is against mainline. arch/powerpc/sysdev/built-in.o: In function `ipic_suspend': ipic.c:(.text+0x6b34): undefined reference to `fsl_deep_sleep' make[1]: *** [.tmp_vmlinux1] Error 1 make: *

Html attachments

2009-02-05 Thread Stephen Rothwell
Hi all, I have reconfigured the list to hold any emails with html attachments for moderator approval. So if you don't want your mail to be delayed, do not post html mail to this list. Thanks. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/

linux2.6.23-rc2 enable APU for ppc405

2009-02-05 Thread Li Jun (Aaron)
Anybody can help? Thanks a lot! Hi, I am now using impulse c and xilinx virtex4 ml403 board to do a project. And I want to run the application through APU in the linux environment. So I need to enable the apu for the linux 2.6.23-rc kernel. Then use cross compiler(crosstool-0.43) to make

[PATCH 1/1 v4] AMCC PPC 460SX redwood SoC platform initial framework

2009-02-05 Thread Madhulika Madishetty
From: Madhulika Madishetty This patch contains initial framework for the AMCC Redwood board. Signed-off-by: Madhulika Madishetty Signed-off-by: Tirumala Marri Signed-off-by: Feng Kan Signed-off-by: Vidhyananth Venkatasamy Signed-off-by: Preetesh Parekh Acked-by: Loc Ho Acked-by: Feng Kan

Re: [PATCH] AMCC Crypto4xx Device Driver v6

2009-02-05 Thread James Hsiao
Thanks allot! James On Fri, 2009-02-06 at 08:30 +1100, Herbert Xu wrote: > On Thu, Feb 05, 2009 at 11:47:48AM -0800, James Hsiao wrote: > > > > Thanks for apply the patch. > > Somehow the new directory driver/crypto/amcc is missing from the tree. > > I can see everything else in the tree except th

Re: [PATCH] AMCC Crypto4xx Device Driver v6

2009-02-05 Thread Herbert Xu
On Thu, Feb 05, 2009 at 11:47:48AM -0800, James Hsiao wrote: > > Thanks for apply the patch. > Somehow the new directory driver/crypto/amcc is missing from the tree. > I can see everything else in the tree except the driver source code. > Do you want me to submit a new patch, or you can fix it wit

Re: [PATCH 1/3] powerpc: bare minimum checkpoint/restart implementation

2009-02-05 Thread Benjamin Herrenschmidt
> Absolutely, but the accepted way to handle that so far is that if > you want to run an "incompatible" checkpoint image on a new cpu, > a userspace program will rewrite the image to be correct for the target > cpu. That doesn't sound nice and definitely not something we want to do on PowerPC. Th

Re: [ANN] Introducing new "test" branch in powerpc.git tree

2009-02-05 Thread Josh Boyer
On Fri, Feb 06, 2009 at 07:56:22AM +1100, Benjamin Herrenschmidt wrote: > >> Which begs the question of what master is for. So far, it's just been >> a mirror of next from what I can tell. Maybe it should just track >> Linus' tree? > >I've been wondering myself what to do with it ... I may just l

Re: [ANN] Introducing new "test" branch in powerpc.git tree

2009-02-05 Thread Benjamin Herrenschmidt
> Which begs the question of what master is for. So far, it's just been > a mirror of next from what I can tell. Maybe it should just track > Linus' tree? I've been wondering myself what to do with it ... I may just leave it to track linus indeed. Or maybe just delete it. Ben. __

[PATCH 2/2] powerpc/83xx: Fix TSEC0 workability on MPC8313E-RDB boards

2009-02-05 Thread Anton Vorontsov
TSEC0 is connected to Vitesse 7385 5-port switch. The switch isn't connected to any mdio bus, the link to the switch is fixed to Full-duplex 1000 Mb/s (no pause). This patch fixes following failure during bootup: m...@24520:01 not found eth0: Could not attach to PHY IP-Config: Failed to open eth0

[PATCH 1/2] powerpc/83xx: Fix missing #{address,size}-cells in mpc8313erdb.dts

2009-02-05 Thread Anton Vorontsov
commit b31a1d8b41513b96e9c7ec2f68c5734cef0b26a4 ("gianfar: Convert gianfar to an of_platform_driver") introduced a child node for the ether...@25000 controller, but no address and size cells specifiers were added, and that makes dtc unhappy: DTC: dts->dtb on file "arch/powerpc/boot/dts/mpc8313erd

Re: MPC5200 PCI Issues

2009-02-05 Thread Tobias Knutsson
Hi, That is exactly what the bootlog shows. Debug output on in both mpc52xx_pci.c and in pci-common.c. And the discussed code section enabled. Hälsningar / Regards Tobias Knutsson On 5 feb 2009, at 17.44, Grant Likely wrote: On Thu, Feb 5, 2009 at 12:06 AM, Tobias Knutsson wrote: Whe

Re: [PATCH] AMCC Crypto4xx Device Driver v6

2009-02-05 Thread James Hsiao
Hi Herbert, Thanks for apply the patch. Somehow the new directory driver/crypto/amcc is missing from the tree. I can see everything else in the tree except the driver source code. Do you want me to submit a new patch, or you can fix it with the V6 patch. Thanks James On Thu, 2009-02-05 at 16:18 +

[PATCH 3/3] powerpc/83xx: Add FSL eSDHC support for MPC837x-RDB boards

2009-02-05 Thread Anton Vorontsov
Simply add appropriate sdhci nodes. Note that U-Boot should configure pin multiplexing for eSDHC prior to Linux could use it. U-Boot should also fill-in the clock-frequency property (eSDHC clock depends on board-specific SCCR[ESDHCCM] bits). Signed-off-by: Anton Vorontsov --- arch/powerpc/boot/

[PATCH 2/3] powerpc/83xx: Convert existing sdhc nodes to new bindings

2009-02-05 Thread Anton Vorontsov
- sdhc node renamed to sdhci ("sdhc" name is confusing since SDHC is used to name Secure Digital High Capacity cards, while SDHCI is an interface). - Get rid of "fsl,esdhc" compatible entry, it's replaced by the "fsl,-esdhc" scheme; - Get rid of `model' property. Signed-off-by: Anton Voron

[PATCH 1/3] powerpc: Document FSL eSDHC bindings

2009-02-05 Thread Anton Vorontsov
This patch documents OF bindings for the Freescale Enhanced Secure Digital Host Controller. Signed-off-by: Anton Vorontsov --- Documentation/powerpc/dts-bindings/fsl/esdhc.txt | 24 ++ 1 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 Documentation/power

FSL eSDHC bindings update

2009-02-05 Thread Anton Vorontsov
On Thu, Jan 22, 2009 at 01:15:01PM -0600, Kumar Gala wrote: > On Jan 21, 2009, at 8:00 PM, Anton Vorontsov wrote: >> This patch adds a new driver: sdhci-of. The driver is similar to >> the sdhci-pci, it contains common probe code, and controller-specific >> ops and quirks. >> >> So far there are on

Re: MPC5200 PCI Issues

2009-02-05 Thread Grant Likely
On Thu, Feb 5, 2009 at 12:06 AM, Tobias Knutsson wrote: > When enabling the debug-printouts, it came to me that I forgot to > mention something kind of important. Using the standard mpc52xx_pci.c, > even the memory resources are mapped to zero. > > After disabling this code block, the memory regio

Re: [PATCH 1/3] powerpc: bare minimum checkpoint/restart implementation

2009-02-05 Thread Serge E. Hallyn
Quoting Benjamin Herrenschmidt (b...@kernel.crashing.org): > On Wed, 2009-02-04 at 18:44 -0500, Oren Laadan wrote: > > * Anything that is decided at compiled time should probably go to the arch- > > dependent header. > > > > * Anything that can change at boot time (e.g., for x86 that would include

Re: [ANN] Introducing new "test" branch in powerpc.git tree

2009-02-05 Thread Wolfram Sang
> Sure, I can push it out. It will be a little haphazard though. I > maintain it using stacked git, so not all the things that I have in > the stack are actually applied at any given time, but I will try to > keep it up to date as I pick things up. Cool, thanks, this will do! -- Pengutronix e

Re: [ANN] Introducing new "test" branch in powerpc.git tree

2009-02-05 Thread Grant Likely
On Thu, Feb 5, 2009 at 2:45 AM, Wolfram Sang wrote: > On Wed, Feb 04, 2009 at 09:20:04PM -0700, Grant Likely wrote: > >> what to do with it. The only difference is that mine isn't usually >> public. If people want to see it, then I push it out, but otherwise I >> just wait until I've got a real

Re: [PATCH 2/3] powerpc: Make it possible to safely select CONFIG_FRAME_POINTER

2009-02-05 Thread Anton Vorontsov
On Thu, Feb 05, 2009 at 04:30:23AM +0300, Anton Vorontsov wrote: [...] > > > > > Remove -fno-omit-frame-pointer flag from CFLAGS. > > > > > Remove -fno-omit-frame-pointer workarounds. > > > > > > > > But what about -pg -requires -fno-omit-frame-pointer ? > > > > > > I don't think it requires -fno

Re: Calling wait_event_interruptible_timeout() in I2C wait functions

2009-02-05 Thread Timur Tabi
On Thu, Feb 5, 2009 at 5:51 AM, Mark Brown wrote: > This is exactly the problem for users that caused Timur to run into this > - further up the stack we're trying to do cleanup that involves writing > via I2C but the I2C writes error out due to the signal. Well, there's not much discussion on th

Re: ndfc driver on Kilauea board

2009-02-05 Thread Felix Radensky
Felix Radensky wrote: > > Hi, > > I'm trying to enable Linux ndfc driver on Kilauea (ppc405ex) board rev 1.2 > running > u-boot v2009.01 and linux-2.6.29-rc3. I've enabled NDFC in kernel config > and > updated kilauea.dts as described in > Documentation/powerpc/dts-bindings/4xx/ndfc.txt > NDFC

Re: [ANN] Introducing new "test" branch in powerpc.git tree

2009-02-05 Thread Josh Boyer
On Thu, Feb 05, 2009 at 03:01:33PM +1100, Benjamin Herrenschmidt wrote: >Hoy ! > >So I've been annoyed for some time by the way we do our preparation for >the next merge window. The "next" branch is defined as not being rebased >ever (well, as much as possible), which makes it impossible to just >s

[RFC] Error handling in *_add/find_bridges()

2009-02-05 Thread Gerhard Pircher
Hi! I have a minor question about the error handling in the various *_add/find_bridges functions, which are used to detect and initialize PHBs. AFAIK all of them return an error code that is never checked in the platform setup code (e.g. when there is no memory for the pci_controller struct). Sho

ndfc driver on Kilauea board

2009-02-05 Thread Felix Radensky
Hi, I'm trying to enable Linux ndfc driver on Kilauea (ppc405ex) board rev 1.2 running u-boot v2009.01 and linux-2.6.29-rc3. I've enabled NDFC in kernel config and updated kilauea.dts as described in Documentation/powerpc/dts-bindings/4xx/ndfc.txt NDFC chip select is 1, so it matches the example

next 2009 Feb 5 build break:arch/powerpc/kernel/built-in.o

2009-02-05 Thread Sachin P. Sant
Hi Stephen, Next 20090205 build fails with following error: ld: arch/powerpc/kernel/built-in.o section .text exceeds stub group size ld: arch/powerpc/kernel/head_64.o section .text exceeds stub group size arch/powerpc/kernel/built-in.o: In function `.of_pci_phb_probe': of_platf

2.6.29-rc3-git7 build break : drivers/serial/cpm_uart/

2009-02-05 Thread Sachin P. Sant
2.6.29-rc3-git7 randconfig build breaks with following error CC drivers/serial/cpm_uart/cpm_uart_core.o drivers/serial/cpm_uart/cpm_uart_core.c: In function cpm_put_poll_char: drivers/serial/cpm_uart/cpm_uart_core.c:992: error: implicit declaration of function cpm_uart_early_write make[3]:

Re: Calling wait_event_interruptible_timeout() in I2C wait functions

2009-02-05 Thread Mark Brown
On Wed, Feb 04, 2009 at 12:00:52PM -0800, Mike Ditto wrote: > Timur Tabi wrote: > > However, it appears that this is not common behavior for I2C driver. In > > fact, only these six drivers ever call wait_event_interruptible_timeout(): > > i2c-cpm.c > I don't know about the others, but in i2c-cpm

Re: [ANN] Introducing new "test" branch in powerpc.git tree

2009-02-05 Thread Wolfram Sang
On Wed, Feb 04, 2009 at 09:20:04PM -0700, Grant Likely wrote: > what to do with it. The only difference is that mine isn't usually > public. If people want to see it, then I push it out, but otherwise I > just wait until I've got a real pull request. I'd like to see that tree public, so I can c