Re: [PATCH] cpumask: use mm_cpumask() wrapper: powerpc

2009-03-19 Thread Benjamin Herrenschmidt
On Mon, 2009-03-16 at 14:46 +1030, Rusty Russell wrote: > Makes code futureproof against the impending change to mm->cpu_vm_mask. > > It's also a chance to use the new cpumask_ ops which take a pointer > (the older ones are deprecated, but there's no hurry for arch code). Boom :-) In file includ

Re: IDE cable detection on Apple PowerBook

2009-03-19 Thread Benjamin Herrenschmidt
On Thu, 2009-03-19 at 22:30 +0900, TOMARI Hisanobu wrote: > Thanks for helpful advices. > This patch adds an option to drivers/ide/Kconfig and adds > some lines to drivers/ide/pmac.c . Now the driver checks > if the model is prefixed with "PowerBook" and the entire hack > can be toggled in the Kco

Re: [PATCH v2] powerpc: Add support for CoreInt delivery of interrupts on MPIC

2009-03-19 Thread Benjamin Herrenschmidt
On Wed, 2009-03-11 at 10:18 -0500, Kumar Gala wrote: > CoreInt provides a mechansim to deliver the IRQ vector directly > into the core on an interrupt (via the SPR EPR) rather than having > to go IACK on the PIC. This is suppose to provide an improvment > in interrupt latency by reducing the time

Re: [RFC][PATCH -tip 4/9] power: add kernel_trap_sp()

2009-03-19 Thread Benjamin Herrenschmidt
On Thu, 2009-03-19 at 17:10 -0400, Masami Hiramatsu wrote: > Add kernel_trap_sp() on powerpc, based on systemtap's runtime/regs.h. > > Signed-off-by: Masami Hiramatsu I haven't looked at the usage of it, but it's weird to have something call "kernel_trap_sp" that returns the -user- stack pointer

Re: [PATCH] powerpc: Add support for CoreInt delivery of interrupts onMPIC

2009-03-19 Thread Benjamin Herrenschmidt
On Wed, 2009-03-11 at 22:20 +0800, Liu Dave-R63238 wrote: > --- a/arch/powerpc/include/asm/mpic.h > +++ b/arch/powerpc/include/asm/mpic.h > @@ -22,6 +22,7 @@ > #define MPIC_GREG_FEATURE_10x00010 > #define MPIC_GREG_GLOBAL_CONF_00x00020 > #defineMPIC_GR

Re: [PATCH] powerpc 4xx EMAC driver: device name reported on timeout is not correct

2009-03-19 Thread Benjamin Herrenschmidt
On Tue, 2009-03-10 at 20:32 +0200, Mikhail Zolotaryov wrote: > Hi, > > not critical problem here. > > IBM EMAC driver performs device reset (drivers/net/ibm_newemac/core.c: > emac_probe() -> emac_init_phy() -> emac_reset()) before registering > appropriate net_device (emac_probe() -> register_n

[PATCH 6/6] powerpc/mm: Introduce early_init_mmu() on 64-bit

2009-03-19 Thread Benjamin Herrenschmidt
This moves some MMU related init code out of setup_64.c into hash_utils_64.c and calls it early_init_mmu() and early_init_mmu_secondary(). This will make it easier to plug in a new MMU type. Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/include/asm/mmu-hash64.h |2 - arch/powerpc/i

[PATCH 5/6] powerpc/mm: Add option for non-atomic PTE updates to ppc64

2009-03-19 Thread Benjamin Herrenschmidt
ppc32 has it already, add it to ppc64 as a preliminary for adding support for Book3E 64-bit support Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/include/asm/pgtable-ppc64.h | 12 +++- arch/powerpc/include/asm/pte-hash64.h|2 ++ 2 files changed, 13 insertions(+), 1 de

[PATCH 4/6] powerpc/mm: Fix printk type warning in mmu_context_nohash

2009-03-19 Thread Benjamin Herrenschmidt
We need to use %zu instead of %d when printing a sizeof() Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/mm/mmu_context_nohash.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-work.orig/arch/powerpc/mm/mmu_context_nohash.c2009-03-11 11:51:05.0 +1100

[PATCH 3/6] powerpc/mm: Rename arch/powerpc/kernel/mmap.c to mmap_64.c

2009-03-19 Thread Benjamin Herrenschmidt
This file is only useful on 64-bit, so we name it accordingly. Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/mm/Makefile |2 arch/powerpc/mm/mmap.c| 109 -- arch/powerpc/mm/mmap_64.c | 109 +

[PATCH 2/6] powerpc/mm: Merge various PTE bits and accessors definitions (v3)

2009-03-19 Thread Benjamin Herrenschmidt
Now that they are almost identical, we can merge some of the definitions related to the PTE format into common files. This creates a new pte-common.h which is included by both 32 and 64-bit right after the CPU specific pte-*.h file, and which defines some bits to "default" values if they haven't b

[PATCH 1/6] powerpc/mm: Tweak PTE bit combination definitions (v3)

2009-03-19 Thread Benjamin Herrenschmidt
This patch tweaks the way some PTE bit combinations are defined, in such a way that the 32 and 64-bit variant become almost identical and that will make it easier to bring in a new common pte-* file for the new variant of the Book3-E support. The combination of bits defining access to kernel pages

Re: Please pull from 'test'

2009-03-19 Thread Benjamin Herrenschmidt
On Tue, 2009-03-17 at 19:40 -0500, Kumar Gala wrote: > Please pull from 'test' branch of > > master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git test Don't base your test branch on top of mine. Nothing should be based on top of my test branch, it's volatile. Base your stuff on top

Re: powerpc/85xx: Add support for the "socrates" board (MPC8544)

2009-03-19 Thread Grant Likely
I agree 100% with David's comments, and I have some additional ones below. On Thu, Mar 19, 2009 at 9:26 AM, Wolfgang Grandegger wrote: > +       soc8...@e000 { > +               #address-cells = <1>; > +               #size-cells = <1>; > +               device_type = "soc"; Drop device_typ

Re: powerpc/85xx: Add support for the "socrates" board (MPC8544)

2009-03-19 Thread Kumar Gala
On Mar 19, 2009, at 10:26 AM, Wolfgang Grandegger wrote: + m...@24520 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,gianfar-mdio"; + reg = <0x24520 0x20>; + +

Re: powerpc/85xx: Add support for the "socrates" board (MPC8544)

2009-03-19 Thread David Gibson
On Thu, Mar 19, 2009 at 04:26:44PM +0100, Wolfgang Grandegger wrote: > This patch adds support for the "socrates" board based on the MPC8544. > Supported are Ethernet, serial console, I2C, I2C-based RTC and > temperature sensors, NOR and NAND flash, PCI, USB, CAN and Lime > display controller. > >

RE: suspend-to-mem on the mpc8349e-mitx-gp?

2009-03-19 Thread Li Yang-R58472
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, March 20, 2009 12:11 AM > To: Li Yang-R58472 > Cc: Soohyung Cho; linuxppc-dev@ozlabs.org > Subject: Re: suspend-to-mem on the mpc8349e-mitx-gp? > > On Thu, Mar 19, 2009 at 12:24:26AM -0700, Li Yang-R58472 wrote: > > > -Ori

[PATCH] powerpc/cell: fix iommu exception reporting

2009-03-19 Thread Jeremy Kerr
Currently, we will report a page fault as a segment fault, and report a segment fault as both a page and segment fault. Fix the SPF_P definition to be correct according to the iommu docs, and mask before comparing. Signed-off-by: Jeremy Kerr --- arch/powerpc/platforms/cell/iommu.c |9 +

[RFC][PATCH -tip 4/9] power: add kernel_trap_sp()

2009-03-19 Thread Masami Hiramatsu
Add kernel_trap_sp() on powerpc, based on systemtap's runtime/regs.h. Signed-off-by: Masami Hiramatsu --- arch/powerpc/include/asm/ptrace.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/ptrace.h b/arch/powerpc/include/asm/ptrace.h index c9c678

Re: spidev.c driver on the ppc8247 (kernel 2.6.27.19)

2009-03-19 Thread Daniel Ng
On Thu, Mar 19, 2009 at 7:32 PM, Daniel Ng wrote: > > So, I tried to call spidev_probe() directly from the probe() function > of my SPI Controller driver. However in this case spidev_probe() > failed because its call to device_create_drvdata() failed with error > code ENODEV. Why would this be? >

Re: Xilinx cygwin linux cross recommendations ?

2009-03-19 Thread David H. Lynch Jr.
I have no experience with ELDK. Have you used it ? Do you like it ? When I started I mostly did a roll my own environment using crosstool. I would have stuck to that except I can not get uclibc and it has not been updated in a long time. Crosstool-ng did not support the ppc las

Re: Xilinx cygwin linux cross recommendations ?

2009-03-19 Thread Grant Likely
On Thu, Mar 19, 2009 at 5:59 PM, David H. Lynch Jr. wrote: >    Does anyone have experience sugestions for building ppc/linux apps > or even ppc kernels under windows. I hear rumors that there is a Windows version of ELDK. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.

Xilinx cygwin linux cross recommendations ?

2009-03-19 Thread David H. Lynch Jr.
Does anyone have experience sugestions for building ppc/linux apps or even ppc kernels under windows. I work (and live) under Linux. I am very happy to work under Linux. I only spend about 20 minutes a week in windows anymore. But I have coworkers, and clients that live under windows

Re: [PATCH 11/11] mmc: Add OpenFirmware bindings for SDHCI driver

2009-03-19 Thread yamazaki
Hi all, I am running the Linux kernel 2.6.28.7 on my PPC8347 BRD. I have to write the driver of SDHCI driver(using R5C807 RICOH). But I could not find it. Then I found the good sample of this. I tried to the patch to kernel 2.6.28.7,but I did not succeed. Please tell me how to get the kernei for

Re: C67x00 reset problems

2009-03-19 Thread David H. Lynch Jr.
I have been using the mainline c67x00 driver on our boards for a while. I am running 2.6.26-rc4 - basically the last arch/ppc version. I can only detect devices on the first port of the first host but otherwise it has been working. Grant Likely wrote: > Unfortunately, the 2.6.24-r

Re: linux-next: cpus4096 tree build failure

2009-03-19 Thread Stephen Rothwell
Hi Ingo, On Thu, 19 Mar 2009 12:53:42 +0100 Ingo Molnar wrote: > > I've applied it. Thanks. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgp6UOySbPFDp.pgp Description: PGP signature ___ Linu

Re: IDE cable detection on Apple PowerBook

2009-03-19 Thread Benjamin Herrenschmidt
On Thu, 2009-03-19 at 16:41 +0300, Anton Vorontsov wrote: > > The other option is to enable BLK_DEV_IDE_PMAC_SHORTCABLE by default, > but I'm not sure if it's safe thing to do (most probably not). It should be allright for powerbooks. If the firmware says 80 pin cable, then it probably is, and in

Re: [PATCH -next] gianfar, ucc_geth: Use proper address translation for MDIO buses

2009-03-19 Thread Anton Vorontsov
On Thu, Mar 19, 2009 at 03:57:10AM -0500, Kumar Gala wrote: > On Mar 18, 2009, at 2:21 PM, Anton Vorontsov wrote: [...] >> Signed-off-by: Anton Vorontsov >> --- >> >> This is for 2.6.30 since we don't use ranges = <> yet. >> >> David, I believe Kumar would like to pick this patch into his tree >>

[PATCH 4/4] powerpc/86xx: Move gianfar mdio nodes under the ethernet nodes

2009-03-19 Thread Anton Vorontsov
Currently it doesn't matter where the mdio nodes are placed, but with power management support (i.e. when sleep = <> properties will take effect), mdio nodes placement will become important: mdio controller is a part of the ethernet block, so the mdio nodes should be placed correctly. Otherwise we

[PATCH 2/4] powerpc/83xx: Move gianfar mdio nodes under the ethernet nodes

2009-03-19 Thread Anton Vorontsov
Currently it doesn't matter where the mdio nodes are placed, but with power management support (i.e. when sleep = <> properties will take effect), mdio nodes placement will become important: mdio controller is a part of the ethernet block, so the mdio nodes should be placed correctly. Otherwise we

[PATCH 1/4] powerpc/83xx: Add power management support for MPC837x boards

2009-03-19 Thread Anton Vorontsov
This patch adds pmc nodes to the device tree files so that the boards will able to use standby capability of MPC837x processors. The MPC837x PMC controllers are compatible with MPC8349 ones (i.e. no deep sleep). sleep = <> properties are used to specify SCCR masks as described in "Specifying Devic

[PATCH v4 0/4] Some PM-related patches for galak/powerpc.git next

2009-03-19 Thread Anton Vorontsov
On Wed, Mar 18, 2009 at 03:27:22PM -0500, Scott Wood wrote: > Anton Vorontsov wrote: >> On Wed, Mar 18, 2009 at 03:05:51PM -0500, Scott Wood wrote: >>> Hmm, would that imply that the mdio underneath it is disabled as well? >> >> Technically, yes. In practice, MDIO and MAC drivers are probed >> sepa

Re: [PATCH v2 4/5] powerpc: NAND: FSL UPM: document new bindings

2009-03-19 Thread Scott Wood
On Thu, Mar 19, 2009 at 04:16:07PM +0100, Wolfgang Grandegger wrote: > +Optional properties: > +- fsl,upm-mar-offset : use the UPM machine address register to drive a > +custom chip select logic using the specified > +offset. Your example uses the name fsl,u

[PATCH -next] fsl_pq_mdio: Use proper address translation

2009-03-19 Thread Anton Vorontsov
Currently the driver just read "reg" property for constructing MDIO bus IDs, but this won't work when we'll start using "ranges = <>" in the device tree, so this will pop up: Freescale PowerQUICC MII Bus: probed sysfs: duplicate filename 'm...@520' can not be created [ cut here ]--

Re: Issue with UART driver on MPC5121e Platform

2009-03-19 Thread David Jander
On Thursday 19 March 2009 05:23:07 Madhusudhan J wrote: > Hi, > > this is Madhusudhan J from KPITCummins Bangalore India . > I have issue with uart driver in linux kernel 2.6.24 > (drivers\serial\Mpc52xx_uart.c) > I am using platform mpc5121e to communicating to modem through serial > driver. i

Re: [PATCH 5/9] powerpc/mm: Merge various PTE bits and accessors definitions (v2)

2009-03-19 Thread Kumar Gala
On Mar 10, 2009, at 10:53 PM, Benjamin Herrenschmidt wrote: + +/* Conversion functions: convert a page and protection to a page entry, + * and a page entry and page directory to the page they refer to. + * + * Even if PTEs can be unsigned long long, a PFN is always an unsigned + * long fo

Re: suspend-to-mem on the mpc8349e-mitx-gp?

2009-03-19 Thread Scott Wood
On Thu, Mar 19, 2009 at 12:24:26AM -0700, Li Yang-R58472 wrote: > > -Original Message- > > From: linuxppc-dev-bounces+leoli=freescale@ozlabs.org > > [mailto:linuxppc-dev-bounces+leoli=freescale@ozlabs.org] > > On Behalf Of Soohyung Cho > > Sent: Thursday, March 19, 2009 1:47 PM >

Re: [PATCH -next] fsl_pq_mdio: Revive Gianfar TBI PHY support

2009-03-19 Thread Andy Fleming
On Mar 19, 2009, at 10:52 AM, Anton Vorontsov wrote: commit 1577ecef766650a57fceb171acee2b13cbfaf1d3 ("netdev: Merge UCC and gianfar MDIO bus drivers") broke the TSEC TBI PHY support: the driver now refuses to probe TBI MDIO buses as it doesn't know about "fsl,gianfar-tbi" compatible entry, and

[PATCH -next] fsl_pq_mdio: Revive Gianfar TBI PHY support

2009-03-19 Thread Anton Vorontsov
commit 1577ecef766650a57fceb171acee2b13cbfaf1d3 ("netdev: Merge UCC and gianfar MDIO bus drivers") broke the TSEC TBI PHY support: the driver now refuses to probe TBI MDIO buses as it doesn't know about "fsl,gianfar-tbi" compatible entry, and thus _probe() fails with -ENODEV status. Fix this by ad

[PATCH v2 3/5] NAND: FSL-UPM: Add wait flags to support board/chip specific delays

2009-03-19 Thread Wolfgang Grandegger
The NAND flash on the TQM8548_BE modules requires a short delay after running the UPM pattern. The TQM8548_BE requires a further short delay after writing out a buffer. Normally the R/B pin should be checked, but it's not connected on the TQM8548_BE. The existing driver uses similar fixed delay poi

[PATCH v2 1/5] NAND: FSL-UPM: add multi chip support

2009-03-19 Thread Wolfgang Grandegger
This patch adds support for multi-chip NAND devices to the FSL-UPM driver. This requires support for multiple GPIOs for the RNB pins. Signed-off-by: Wolfgang Grandegger --- drivers/mtd/nand/fsl_upm.c | 88 +-- 1 files changed, 67 insertions(+), 21 deleti

[PATCH v2 2/5] NAND: FSL-UPM: add support for selecting chips via MAR

2009-03-19 Thread Wolfgang Grandegger
For the NAND chips on the TQM8548 modules, a special chip-select logic is used. It uses dedicated address lines to be set via UPM machine address register (mar). This patch also adds that support to the FSL-UPM driver. Signed-off-by: Wolfgang Grandegger --- arch/powerpc/sysdev/fsl_lbc.c |2 +

[PATCH v2 4/5] powerpc: NAND: FSL UPM: document new bindings

2009-03-19 Thread Wolfgang Grandegger
This patch adds documentation for the new NAND FSL UPM bindings for: NAND: FSL-UPM: add multi chip support NAND: FSL-UPM: Add wait flags to support board/chip specific delays NAND: FSL-UPM: add support for selecting chips via MAR Signed-off-by: Wolfgang Grandegger --- .../powerpc/dts-binding

[PATCH v2 5/5] powerpc/85xx: TQM8548: Update DTS file for multi-chip support

2009-03-19 Thread Wolfgang Grandegger
This patch adds multi-chip support for the Micron MT29F8G08FAB NAND flash memory on the TQM8548 modules. Signed-off-by: Wolfgang Grandegger --- arch/powerpc/boot/dts/tqm8548-bigflash.dts |7 ++- arch/powerpc/boot/dts/tqm8548.dts |7 ++- 2 files changed, 12 insertions(+),

[PATCH v2 0/5] NAND: Multi-chip support for FSL-UPM for TQM8548 modules

2009-03-19 Thread Wolfgang Grandegger
This is the 2nd version of the patch series adding generic support for multi-chip NAND devices to the FSL-UPM driver and support for the Micron MT29F8G08FAB NAND flash memory on the TQM8548 modules. It addresses the issues reported on the mailing list, e.g. the new bindings are now documented: [PA

Re: [PATCH -next] gianfar: Fix build with CONFIG_PM enabled

2009-03-19 Thread Kumar Gala
On Mar 19, 2009, at 10:12 AM, Anton Vorontsov wrote: commit 4826857f1bf07f9c0f1495e9b05d125552c88a85 ("gianfar: pass the proper dev to DMA ops") introduced this build breakage: CC drivers/net/gianfar.o drivers/net/gianfar.c: In function 'gfar_suspend': drivers/net/gianfar.c:552: error: '

[PATCH -next] gianfar: Fix build with CONFIG_PM enabled

2009-03-19 Thread Anton Vorontsov
commit 4826857f1bf07f9c0f1495e9b05d125552c88a85 ("gianfar: pass the proper dev to DMA ops") introduced this build breakage: CC drivers/net/gianfar.o drivers/net/gianfar.c: In function 'gfar_suspend': drivers/net/gianfar.c:552: error: 'struct gfar_private' has no member named 'dev' drivers/

PCI resource allocation in linux 2.6.27

2009-03-19 Thread Eduard Fuchs
Hi, i'm porting the linux 2.6.27 kernel to the custom board with PowerPC 7448 & Marvell 64560. In DTS file the PCI ranges are configured as follows: system-control...@fbe0 { /* Marvell Discovery mv64560 (Discovery V)*/ #address-cells = <1>; #size-cell

[PATCH 3/3] powerpc/mm: e300c2/c3/c4 TLB errata workaround

2009-03-19 Thread Kumar Gala
Complete workaround for DTLB errata in e300c2/c3/c4 processors. Due to the bug, the hardware-implemented LRU algorythm always goes to way 1 of the TLB. This fix implements the proposed software workaround in form of a LRW table for chosing the TLB-way. Based on patch from David Jander Signed-of

[PATCH 2/3] powerpc/mm: Used free register to save a few cycles in SW TLB miss handling

2009-03-19 Thread Kumar Gala
Now that r0 is free we can keep the value of I/DMISS in r3 and not reload it before doing the tlbli/d. This saves us a few cycles in the fast path case. Signed-off-by: Kumar Gala --- arch/powerpc/kernel/head_32.S | 51 +++- 1 files changed, 24 insertions(+)

[PATCH 1/3] powerpc/mm: Remove unused register usage in SW TLB miss handling

2009-03-19 Thread Kumar Gala
Long ago we had some code that actually used the CTR in the SW TLB miss handlers (603/e300). Since we don't use it no reason to waste cycles saving it off and restoring it (we actually didn't restore it in the fast path case). Signed-off-by: Kumar Gala --- arch/powerpc/kernel/head_32.S | 11 +

Re: IDE cable detection on Apple PowerBook

2009-03-19 Thread Anton Vorontsov
On Thu, Mar 19, 2009 at 10:30:01PM +0900, TOMARI Hisanobu wrote: > Thanks for helpful advices. > This patch adds an option to drivers/ide/Kconfig and adds > some lines to drivers/ide/pmac.c . I think it would be better to make it a kernel command line option instead of Kconfig knob. The reason i

[PATCH v2 2/3] powerpc: setup default archdata for {of_}platform via bus_register_notifier

2009-03-19 Thread Kumar Gala
Since a number of powerpc chips are SoCs we end up having dma-able devices that are registered as platform or of_platform devices. We need to hook the archdata to setup proper dma_ops for these devices. Rather than having to add a bus_notify to each platform we add a default one at the highest pr

[PATCH v2 3/3] powerpc: expect all devices calling dma ops to have archdata set

2009-03-19 Thread Kumar Gala
Now that we set archdata for of_platform and platform devices via platform_notify() we no longer need to special case having a NULL device pointer or NULL archdata. It should be a driver error if this condition shows up and the driver should be fixed. Signed-off-by: Kumar Gala --- arch/powerpc/

[PATCH v2 1/3] powerpc/pci: Default to dma_direct_ops for pci dma_ops

2009-03-19 Thread Kumar Gala
This will allow us to remove the ppc32 specific checks in get_dma_ops() that defaults to dma_direct_ops if the archdata is NULL. We really should always have archdata set to something going forward. Signed-off-by: Kumar Gala --- arch/powerpc/kernel/pci-common.c |2 +- 1 files changed, 1 ins

Re: IDE cable detection on Apple PowerBook

2009-03-19 Thread TOMARI Hisanobu
Thanks for helpful advices. This patch adds an option to drivers/ide/Kconfig and adds some lines to drivers/ide/pmac.c . Now the driver checks if the model is prefixed with "PowerBook" and the entire hack can be toggled in the Kconfig. Again, the patch is against linux 2.6.28.8. Best regards, TO

[tip:cpus4096] numa, cpumask: move numa_node_id default implementation to topology.h, fix

2009-03-19 Thread Stephen Rothwell
Commit-ID: 17ad6ea621b1c7952ebd7330ce65de26b6ee9cca Gitweb: http://git.kernel.org/tip/17ad6ea621b1c7952ebd7330ce65de26b6ee9cca Author: Stephen Rothwell AuthorDate: Thu, 19 Mar 2009 22:03:22 +1100 Committer: Ingo Molnar CommitDate: Thu, 19 Mar 2009 12:51:25 +0100 numa, cpumask: move num

Re: linux-next: cpus4096 tree build failure

2009-03-19 Thread Ingo Molnar
* Rusty Russell wrote: > On Thursday 19 March 2009 21:23:00 Stephen Rothwell wrote: > > From: Stephen Rothwell > > Date: Thu, 19 Mar 2009 21:35:24 +1100 > > Subject: [PATCH] powerpc: mmzone.h needs cpumask_t to be defined > > > > Commit 082edb7bf443eb8eda15b482d16ad9dd8137ad24 ("numa,cpumask:

Re: [newbie] uboot relevant !

2009-03-19 Thread Josh Boyer
On Thu, Mar 19, 2009 at 11:44:54AM +0530, Manish D wrote: >Hi all, > >please bear these probably newbie questions. > >I am trying to port a BSP from 2.4 to 2.6 for a mpc834x based platform. >I am building and working on the device tree now. >Is there a way build this bsp, without taking the device

Re: linux-next: cpus4096 tree build failure

2009-03-19 Thread Rusty Russell
On Thursday 19 March 2009 21:23:00 Stephen Rothwell wrote: > From: Stephen Rothwell > Date: Thu, 19 Mar 2009 21:35:24 +1100 > Subject: [PATCH] powerpc: mmzone.h needs cpumask_t to be defined > > Commit 082edb7bf443eb8eda15b482d16ad9dd8137ad24 ("numa,cpumask: move > numa_node_id default implementa

Re: linux-next: cpus4096 tree build failure

2009-03-19 Thread Stephen Rothwell
Hi again, On Thu, 19 Mar 2009 21:53:00 +1100 Stephen Rothwell wrote: > > Today's linux-next build (powerpc allyesconfig) failed like this: > > In file included from include/linux/mmzone.h:776, > from include/linux/gfp.h:5, > from include/linux/kmod.h:23, >

linux-next: cpus4096 tree build failure

2009-03-19 Thread Stephen Rothwell
Hi all, Today's linux-next build (powerpc allyesconfig) failed like this: In file included from include/linux/mmzone.h:776, from include/linux/gfp.h:5, from include/linux/kmod.h:23, from include/linux/module.h:14, from init/versi

linuxppc-dev@lists.ozlabs.org

2009-03-19 Thread Eduard Fuchs
Am Mittwoch 18 März 2009 00:05:00 schrieb Benjamin Herrenschmidt: > On Tue, 2009-03-17 at 16:30 +0100, Eduard Fuchs wrote: > > Hi all, > > > > since several days I'm trying to run an ATI 9250 (PCI) graphic card under > > Linux Kernel 2.6.27.19. Nevertheless without success. The kernel shows > > the

Please pull from 'next' branch

2009-03-19 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: arch/powerpc/Makefile |4 arch/powerpc/boot/dts/gef_ppc9a.dts| 364 arch/powerpc/boot/dts/mpc8572ds_camp_

Re: [PATCH] powerpc/cpm2: fix building fs_enet driver as a module.

2009-03-19 Thread Kumar Gala
On Mar 18, 2009, at 11:21 PM, Grant Likely wrote: From: Grant Likely Building the fs_enet driver as a modules fails because it cannot access the global cpm2_immr symbol. Signed-off-by: Grant Likely --- Hey Ben and Kumar, Just found this while testing some unrelated changes. Technically t

Re: [PATCH v4 2/2] powerpc/86xx: Default configuration for GE Fanuc's PPC9A

2009-03-19 Thread Kumar Gala
On Mar 19, 2009, at 3:54 AM, Martyn Welch wrote: Support for the PPC9A VME Single Board Computer from GE Fanuc (PowerPC MPC8641D). This is the default config file for GE Fanuc's PPC9A, a 6U single board computer, based on Freescale's MPC8641D. Signed-off-by: Martyn Welch --- applied to

Re: [PATCH v4 1/2] powerpc/86xx: Board support for GE Fanuc's PPC9A

2009-03-19 Thread Kumar Gala
On Mar 19, 2009, at 3:54 AM, Martyn Welch wrote: Support for the PPC9A VME Single Board Computer from GE Fanuc (PowerPC MPC8641D). This is the basic board support for GE Fanuc's PPC9A, a 6U single board computer, based on Freescale's MPC8641D. Signed-off-by: Martyn Welch --- arch/powerpc

Re: [PATCH] powerpc/86xx: Run sbc310 USB fixup code only on the appropriate platform.

2009-03-19 Thread Kumar Gala
On Mar 13, 2009, at 6:35 AM, Martyn Welch wrote: Patch to limit NEC fixup to SBC310, following similar patch to SBC610 by Tony Breeds: 368a12117dd8abf6eaefa37c21ac313b517128b9 Signed-off-by: Martyn Welch --- Hi Kumar, The sbc310 patches have been added to your next tree. This patch is nee

Re: [PATCH -next] gianfar, ucc_geth: Use proper address translation for MDIO buses

2009-03-19 Thread Kumar Gala
On Mar 18, 2009, at 2:21 PM, Anton Vorontsov wrote: Currently the drivers just read "reg" property for constructing MDIO bus IDs, but this won't work when we'll start using "ranges = <>" in the device tree, so this will pop up: Gianfar MII Bus: probed sysfs: duplicate filename 'm...@520' can n

[PATCH v4 2/2] powerpc/86xx: Default configuration for GE Fanuc's PPC9A

2009-03-19 Thread Martyn Welch
Support for the PPC9A VME Single Board Computer from GE Fanuc (PowerPC MPC8641D). This is the default config file for GE Fanuc's PPC9A, a 6U single board computer, based on Freescale's MPC8641D. Signed-off-by: Martyn Welch --- arch/powerpc/configs/86xx/gef_ppc9a_defconfig | 1889 ++

[PATCH v4 1/2] powerpc/86xx: Board support for GE Fanuc's PPC9A

2009-03-19 Thread Martyn Welch
Support for the PPC9A VME Single Board Computer from GE Fanuc (PowerPC MPC8641D). This is the basic board support for GE Fanuc's PPC9A, a 6U single board computer, based on Freescale's MPC8641D. Signed-off-by: Martyn Welch --- arch/powerpc/boot/dts/gef_ppc9a.dts | 364

[PATCH v4 0/2] powerpc/86xx: Board support for GE Fanuc PPC9A

2009-03-19 Thread Martyn Welch
The following series implements basic support for the GE Fanuc PPC9A, a 6U single board computer, based on the Freescale MPC8641D. This series provides: - The ability to boot the board with a serial console. - Ethernet support. - Sata and USB. - Support for one of the 2 available watchdog time

Re: spidev.c driver on the ppc8247 (kernel 2.6.27.19)

2009-03-19 Thread Daniel Ng
Hi Sergej, On Wed, Mar 18, 2009 at 7:30 PM, Stepanov, Sergej wrote: > in the attachment i send a spi driver (little bit "of") done by myself Thanks for your driver. I've already got a SPI Controller driver, I just want to hook it up to spidev.c so that it is has a Userspace interface via /dev/sp

RE: suspend-to-mem on the mpc8349e-mitx-gp?

2009-03-19 Thread Li Yang-R58472
> -Original Message- > From: linuxppc-dev-bounces+leoli=freescale@ozlabs.org > [mailto:linuxppc-dev-bounces+leoli=freescale@ozlabs.org] > On Behalf Of Soohyung Cho > Sent: Thursday, March 19, 2009 1:47 PM > To: linuxppc-dev@ozlabs.org; Wood Scott-B07421 > Subject: suspend-to-mem o

suspend-to-mem on the mpc8349e-mitx-gp?

2009-03-19 Thread Soohyung Cho
Hello. I need to enable suspend-to-mem(deep sleep) on my mpc8349e-mitx-gp box. When I send "mem" message to /sys/power/state, the box seems to get stop. I think the box get stop when it executes suspend-asm.S codes. I know that the latest linux supports suspend-to-mem on the mpc8313erdb box well.

Issue with UART driver on MPC5121e Platform

2009-03-19 Thread Madhusudhan J
Hi, this is Madhusudhan J from KPITCummins Bangalore India . I have issue with uart driver in linux kernel 2.6.24 (drivers\serial\Mpc52xx_uart.c) I am using platform mpc5121e to communicating to modem through serial driver. i am not able to communicate with UART driver(drivers\serial\Mp