Please pull from 'next' branch (for 2.6.30)

2009-01-28 Thread Kumar Gala
Please pull from 'next' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git next to receive the following updates: Documentation/powerpc/dts-bindings/fsl/dma.txt | 34 arch/powerpc/Kconfig | 19 arch/powerpc/boot/dts/gef_sbc310.dts

[RFC/example] powerpc: add the mpic global timer support

2009-01-28 Thread Kumar Gala
From: Dave Liu The mpic timer works as wake up source for power management, the max timer period is 336 seconds when the CCB freq is 400MHz. to setup timer, type echo 30 > /sys/devices/ffe0.soc8572/ffe41100.timer/timeout before the system enter to sleep mode. Signed-off-by: Dave Liu ---

Re: [PATCH 2/3] powerpc/86xx: Board support for GE Fanuc SBC310

2009-01-28 Thread Kumar Gala
On Jan 19, 2009, at 5:33 AM, Martyn Welch wrote: Support for the SBC310 VPX Single Board Computer from GE Fanuc (PowerPC MPC8641D). This is the basic board support for GE Fanuc's SBC310, a 3U single board computer, based on Freescale's MPC8641D. Signed-off-by: Martyn Welch --- arch/pow

Re: [PATCH 3/3] powerpc/86xx: Extend GE Fanuc GPIO driver for the SBC310

2009-01-28 Thread Kumar Gala
On Jan 19, 2009, at 5:33 AM, Martyn Welch wrote: This patch adds basic support for the 6 GPIO lines found on GE Fanucs SBC310 to the GE Fanuc GPIO driver. Signed-off-by: Martyn Welch --- arch/powerpc/configs/86xx/gef_sbc310_defconfig |2 + arch/powerpc/platforms/86xx/gef_gpio.c

Re: [PATCH 1/3] powerpc/86xx: Default configutation for GE Fanuc's SBC310

2009-01-28 Thread Kumar Gala
On Jan 19, 2009, at 5:33 AM, Martyn Welch wrote: Support for the SBC310 VPX Single Board Computer from GE Fanuc (PowerPC MPC8641D). This is the default config file for GE Fanuc's SBC310, a 3U single board computer, based on Freescale's MPC8641D. Signed-off-by: Martyn Welch --- arch/pow

Re: How to bring up fs_enet on 2.6.27?

2009-01-28 Thread Mike Ditto
Daniel Ng wrote: > Should the device just be available as 'eth2', so that I can do > 'ifconfig eth2 192.168.1.33'? It will be eth0 if you have no other network devices. > // FCC2- > reg = <0x11320 0x20 0x8500 0x100 0x113b0 0x1>; > fsl,cpm-command = <0x12000300>; That's n

Re: How to bring up fs_enet on 2.6.27?

2009-01-28 Thread Daniel Ng
Thanks for your help so far Laurent- On Wed, Jan 28, 2009 at 8:50 PM, Laurent Pinchart wrote: > > Make sure FS_ENET_HAS_FCC is set in your kernel configuration. Yep, I've done that... > > [snip] > >> The fs_enet probe() function doesn't seem to get called (I had put a >> panic() in it). Should

[QUESTION] PPC4xx SPI mode

2009-01-28 Thread Herrera-Bendezu, Luis
I am using PPC440EPx SPI driver to access devices with different clock polarities (SPI_MODE_0 and SPI_MODE_2), but otherwise similar SPI parameters (max clock frequency, bits per word, etc.) If spidev is used to modify clock polarity via ioctl SPI_IOC_WR_MODE, it does not have any effect on the con

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

2009-01-28 Thread Nathan Lynch
The only thing of significance here is that the checkpointed task's pt_regs and fp state are saved and restored (see cr_write_cpu and cr_read_cpu); the rest of the code consists of dummy implementations of the APIs the arch needs to provide to the checkpoint/restart core. What works: * self and ex

[PATCH 3/3] allow checkpoint/restart on powerpc

2009-01-28 Thread Nathan Lynch
Signed-off-by: Nathan Lynch --- checkpoint/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/checkpoint/Kconfig b/checkpoint/Kconfig index ffaa635..00036aa 100644 --- a/checkpoint/Kconfig +++ b/checkpoint/Kconfig @@ -1,7 +1,7 @@ config CHECKPOINT_RESTART p

[PATCH 2/3] powerpc: wire up checkpoint and restart syscalls

2009-01-28 Thread Nathan Lynch
Signed-off-by: Nathan Lynch --- arch/powerpc/include/asm/systbl.h |2 ++ arch/powerpc/include/asm/unistd.h |4 +++- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h index 803def2..cdb60b4 100644 --- a/arc

[RFC/PATCH 0/3] checkpoint/restart for powerpc

2009-01-28 Thread Nathan Lynch
This series is a first attempt at enabling checkpoint/restart for powerpc. It is based on Oren Laadan's v13 checkpoint/restart series: http://lkml.org/lkml/2009/1/27/227 Nathan Lynch (3): powerpc: bare minimum checkpoint/restart implementation powerpc: wire up checkpoint and restart syscalls

Re: [PATCH] AMCC Crypto4xx Device Driver v5

2009-01-28 Thread Herbert Xu
On Wed, Jan 28, 2009 at 09:41:56AM -0800, James Hsiao wrote: > > I will re submit the patch with proper changelog. > I had the change log this way is for the reviewer easy to see the > difference. But, I agree this is not proper for a newly created driver. Oh yeah I have nothing against the chang

[PATCH] gianfar: Fix sparse warnings

2009-01-28 Thread Anton Vorontsov
This patch fixes following sparse warnings: CHECK gianfar_ethtool.c gianfar_ethtool.c:610:26: warning: symbol 'gfar_ethtool_ops' was not declared. Should it be static? CHECK gianfar_mii.c gianfar_mii.c:108:35: warning: cast adds address space to expression () gianfar_mii.c:119:35: warning

[PATCH -next 2/2] phylib: Rework suspend/resume code to check netdev wakeup capability

2009-01-28 Thread Anton Vorontsov
In most cases (e.g. PCI drivers) MDIO and MAC controllers are represented by the same device. But for SOC ethernets we have separate devices. So, in SOC case, checking whether MDIO controller may wakeup is not only makes little sense, but also prevents us from doing per-netdevice wakeup management.

[PATCH -next 1/2] gianfar: Implement proper, per netdevice wakeup management

2009-01-28 Thread Anton Vorontsov
This patch implements wakeup management for the gianfar driver. The driver should set wakeup enable if WOL is enabled, so that phylib won't power off an attached PHY. Signed-off-by: Anton Vorontsov --- drivers/net/gianfar.c |5 + drivers/net/gianfar_ethtool.c |1 + 2 files c

[PATCH] gianfar: Fix Wake-on-LAN support

2009-01-28 Thread Anton Vorontsov
commit 0f0ca340e57bd7446855fefd07a64249acf81223 ("phy: power management support") caused a regression in the gianfar driver. Now phylib turns off PHY power during suspend, and thus WOL doesn't work anymore. This patch workarounds the issue by enabling wakeup in the MDIO device, i.e. just restores

[PATCH] powerpc: Ignore vmlinux.strip

2009-01-28 Thread Sean MacLennan
Not sure if this is PPC specific or not. I use the following patch to get a clean git status. Does nobody else see this file? Or am I missing a step somewhere? Cheers, Sean Ignore the vmlinux.strip file. Signed-off-by: Sean MacLennan diff --git a/.gitignore b/.gitignore index 869e1a3..f7e924

[PATCH] powerpc/fsl: Ensure PCI_QUIRKS are enabled for FSL_PCI

2009-01-28 Thread Kumar Gala
The FSL PCI code depends on PCI quirks being enabled to function properly. We can ensure this by doing a select in Kconfig of PCI_QUIRKS. Signed-off-by: Kumar Gala --- arch/powerpc/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/power

Re: MPIC Timers as clocksource

2009-01-28 Thread Kumar Gala
On Jan 28, 2009, at 12:14 PM, Régis Odeyé wrote: Kumar Gala wrote: On Jan 28, 2009, at 8:38 AM, Régis Odeyé wrote: Hi everybody, Is there anyone who implemented a clocksource driver (drivers/ clocksource) to deal with the MPIC timers especially with 86xx and 85xx soc's ? Regards. --

Re: MPIC Timers as clocksource

2009-01-28 Thread Régis Odeyé
Kumar Gala wrote: On Jan 28, 2009, at 8:38 AM, Régis Odeyé wrote: Hi everybody, Is there anyone who implemented a clocksource driver (drivers/clocksource) to deal with the MPIC timers especially with 86xx and 85xx soc's ? Regards. -- We have some code for using the timers but not as a cl

Re: [PATCH] AMCC Crypto4xx Device Driver v5

2009-01-28 Thread James Hsiao
Hi Herbert, I will re submit the patch with proper changelog. I had the change log this way is for the reviewer easy to see the difference. But, I agree this is not proper for a newly created driver. Thanks James On Wed, 2009-01-28 at 14:59 +1100, Herbert Xu wrote: > On Mon, Jan 12, 2009 at 11:3

Re: [PATCH] Restore PCI IO space behind Freescale pseudo-bridge

2009-01-28 Thread Kumar Gala
On Jan 28, 2009, at 3:31 AM, Benjamin Herrenschmidt wrote: We are using the patch I emailed. It's ugly in that it hard-codes the Freescale vendor ID, but it works for us. I guess I'm confused what the actual breakage is beyond some printk messages. We "fixup" the resources in fsl_pcibio

Re: [PATCH] add i2c eeprom to dts for mpc 837x rdb

2009-01-28 Thread Kumar Gala
On Jan 28, 2009, at 4:07 AM, Reynes Philippe wrote: This patch is based on galak powerpc tree (branch next). I've done it again as previous one don't apply properly, and change space by tab. Signed-off-by: Philippe Reynes --- applied to next - k

Re: MPIC Timers as clocksource

2009-01-28 Thread Kumar Gala
On Jan 28, 2009, at 8:38 AM, Régis Odeyé wrote: Hi everybody, Is there anyone who implemented a clocksource driver (drivers/ clocksource) to deal with the MPIC timers especially with 86xx and 85xx soc's ? Regards. -- We have some code for using the timers but not as a clocksource.. Out

MPIC Timers as clocksource

2009-01-28 Thread Régis Odeyé
Hi everybody, Is there anyone who implemented a clocksource driver (drivers/clocksource) to deal with the MPIC timers especially with 86xx and 85xx soc's ? Regards. -- Régis ODEYE Kontron Modular Computers SA 150, rue M. Berthelot / ZI Toulon Est / BP 244 / Fr 83078 TOULON Cedex 9 Phone: (33)

Re: [PATCH] powerpc: Correct VIO bus accounting problem in CMO env.

2009-01-28 Thread Brian King
Acked by: Brian King Robert Jennings wrote: > In the VIO bus code the wrappers for dma alloc_coherent and free_coherent > calls are rounding to IOMMU_PAGE_SIZE. Taking a look at the underlying > calls, the actual mapping is promoted to PAGE_SIZE. Changing the > rounding in these two functions f

Re: [PATCH] bootgraph: fix for use with dot symbols

2009-01-28 Thread Anton Blanchard
Hi Arjan, > question for the ppc folks why does the "print symbol" magic format string > thing print a dot symbol and not the real function name? > Should that be fixed instead? We have two symbols for each function, foo points to the function descriptor, and .foo points to the instruction t

Re: using dma engine on MPC8555 processor

2009-01-28 Thread wael showair
now I can understand that the file of the fsldma.c is the driver of the DMA engine that contains also a test the DMA. I noticed that it contains 2 module init functions: subsys_initcall(of_fsl_dma_chan_init); subsys_initcall(of_fsl_dma_init); Also it contains two probe functions: static int __dev

[PATCH] add i2c eeprom to dts for mpc 837x rdb

2009-01-28 Thread Reynes Philippe
This patch is based on galak powerpc tree (branch next). I've done it again as previous one don't apply properly, and change space by tab. Signed-off-by: Philippe Reynes --- diff --git a/arch/powerpc/boot/dts/mpc8377_rdb.dts b/arch/powerpc/boot/dts/mpc8377_rdb.dts index 9413af3..a8276d4 100644 --

Re: How to bring up fs_enet on 2.6.27?

2009-01-28 Thread Laurent Pinchart
Hi Daniel, On Wednesday 28 January 2009 06:04:11 Daniel Ng wrote: > Hi, > > I'm trying to bring the primary Ethernet interface up on my 8272-based > board running 2.6.27. > > Previously, I had this same hardware working with 2.6.14 using the > following driver: > > linux-2.6.14/arch/ppc/8260_io/fc

Re: [PATCH] Restore PCI IO space behind Freescale pseudo-bridge

2009-01-28 Thread Benjamin Herrenschmidt
> > We are using the patch I emailed. It's ugly in that it hard-codes the > > Freescale vendor ID, but it works for us. > > I guess I'm confused what the actual breakage is beyond some printk > messages. > > We "fixup" the resources in fsl_pcibios_fixup_bus() so Ben's change > shouldn't hav

[git pull] Please pull powerpc.git merge branch

2009-01-28 Thread Benjamin Herrenschmidt
Hi Linus ! Please fine here some defconfig updates and a few small fixes for 2.6.29 The following changes since commit e4a7ca29039e615ce13a61b9c6abfb2aa394e9a1: Linus Torvalds (1): Merge git://git.kernel.org/.../gregkh/usb-2.6 are available in the git repository at: git://git.kernel.