Re: [PATCH 2/2] powerpc/mpc5121: add initial support for PDM360NG board

2010-05-03 Thread Anatolij Gustschin
Hi Grant, On Sun, 2 May 2010 08:54:26 -0600 Grant Likely wrote: > Hi Anatolij, > > Comments below. > > On Fri, Apr 30, 2010 at 2:30 PM, Anatolij Gustschin wrote: > > Adds IFM PDM360NG device tree, and platform code. ... > > +       n...@4000 { > > +               compatible = "fsl,mpc512

[PATCH v2 2/2] powerpc/mpc5121: add initial support for PDM360NG board

2010-05-03 Thread Anatolij Gustschin
Adds IFM PDM360NG device tree, and platform code. Currently following is supported: - Spansion S29GL512P 256 MB NOR flash - ST Micro NAND 1 GiB flash - DIU, please use "fbcon=map:5 video=fslfb:800x480...@60" at the kernel command line to enable PrimeView PM070WL3 Display support. - FEC

Re: [PATCH v21 001/100] eclone (1/11): Factor out code to allocate pidmap page

2010-05-03 Thread Brian K. White
David Miller wrote: > NO WAY, there is no way in the world you should post 100 patches > at a time to any mailing list, especially those at vger.kernel.org > that have thousands upon thousands of subscribers. > > Post only small, well contained, sets of patches at a time. At most > 10 or so in on

[PATCH v3 3/5] powerpc/mpc5121: shared DIU framebuffer support

2010-05-03 Thread Anatolij Gustschin
MPC5121 DIU configuration/setup as initialized by the boot loader currently will get lost while booting Linux. As a result displaying the boot splash is not possible through the boot process. To prevent this we reserve configured DIU frame buffer address range while booting and preserve AOI descri

Re: [PATCH 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.

2010-05-03 Thread Kumar Gala
On May 3, 2010, at 1:26 AM, Richard Cochran wrote: > On Sat, May 01, 2010 at 11:36:12AM -0500, Kumar Gala wrote: >> Is there a binding document that describes this node you are adding? > > No, but I will add one to Documentation/powerpc/dts-bindings. Please do so we can review and comment. - k

[PATCH] powerpc/swiotlb: Fix off by one in determining boundary of which ops to use

2010-05-03 Thread Kumar Gala
When we compare the devices DMA mask to the amount of memory we need to make sure we treat the DMA mask as an address boundary. For example if the DMA_MASK(32) and we have 4G of memory we'd incorrectly set the dma ops to swiotlb. We need to add one to the dma mask when we convert it. Signed-off-

Re: [PATCH] Fix DEBUG_PAGEALLOC on 603/e300

2010-05-03 Thread Xianghua Xiao
On Sun, May 2, 2010 at 5:27 AM, Maindoor wrote: > Any updates on this ? I need something similar. > > Thanks, > Maindoor. > > --- On *Thu, 4/29/10, Benjamin Herrenschmidt *wrote: > > > From: Benjamin Herrenschmidt > Subject: Re: [PATCH] Fix DEBUG_PAGEALLOC on 603/e300 > To: "Xianghua Xiao" > Cc

Re: [PATCH 2/2] powerpc/mpc5121: add initial support for PDM360NG board

2010-05-03 Thread Scott Wood
Grant Likely wrote: + // IPIC + // interrupts cell = + // sense values match linux IORESOURCE_IRQ_* defines: + // sense == 8: Level, low assertion + // sense == 2: Edge, high-to-low change + // + ip

Re: [PATCH v21 001/100] eclone (1/11): Factor out code to allocate pidmap page

2010-05-03 Thread Dave Hansen
On Sat, 2010-05-01 at 15:10 -0700, David Miller wrote: > NO WAY, there is no way in the world you should post 100 patches > at a time to any mailing list, especially those at vger.kernel.org > that have thousands upon thousands of subscribers. > > Post only small, well contained, sets of patches a

Re: [PATCH v21 001/100] eclone (1/11): Factor out code to allocate pidmap page

2010-05-03 Thread David Miller
From: Dave Hansen Date: Mon, 03 May 2010 14:02:31 -0700 > It has implications _everywhere_. That does not remove the responsibility to break things up into managable pieces, not does it make such a task impossible or even hard to do. You post sets of 10 to 15 at a time, once those are agreed to

[PATCH 1/2] powerpc/8610: add probing for individual DMA channels, not just DMA controllers

2010-05-03 Thread Timur Tabi
A future version of the MPC8610 HPCD's ASoC DMA driver will probe on individual DMA channel nodes, so the DMA controller nodes' compatible string must be listed in mpc8610_ids[] for the probe to work. Also remove the "gianfar" compatible from mpc8610_ids[], since there is no gianfar (or any other

[PATCHv2 0/2] genirq: reliably replay pending edge-triggered irq (plus doc)

2010-05-03 Thread Guillaume Knispel
In the following series: [1/2] implements the proposal I made at the end of the thread http://lkml.org/lkml/2010/4/19/129 to reliably support replay of edge-triggered interrupts on all architectures when using disable_irq() / enable_irq(). Proper replays of pending edge-triggered interrupts was

[PATCHv2 1/2] genirq: reliably replay pending edge-triggered irq

2010-05-03 Thread Guillaume Knispel
The following can happen: CPU 1 CPU 2 disable_irq(): handle_edge_irq(): LOCK desc->lock (irqsave) desc->status |= IRQ_DISABLED; desc->chip->disable(irq);/*1*/ UNLOCK desc->lock (irqrestore) LOCK desc->lock

[PATCHv2 2/2] genirq: update doc

2010-05-03 Thread Guillaume Knispel
Following "genirq: always build resend_irqs" and previous changes, this commit updates the genirq DocBook. Signed-off-by: Guillaume Knispel CC: linux-ker...@vger.kernel.org CC: Linuxppc-dev@lists.ozlabs.org CC: Bartlomiej Zolnierkiewicz CC: Benjamin Herrenschmidt CC: Haavard Skinnemoen CC: Ing

Re: [PATCH] Fix DEBUG_PAGEALLOC on 603/e300

2010-05-03 Thread Benjamin Herrenschmidt
On Mon, 2010-05-03 at 09:19 -0500, Xianghua Xiao wrote: > Ok here is the test result I did this morning, in short with/without > Ben's patch it will oops if you write to a freed page. Probably lucky enough that the free_pages() is pushing the stuff out of the TLB. At least my patch prevents writi