Re: TQM8349 and ARCH = powerpc

2008-09-12 Thread Oliver Rutsch
Hi, On Wed, 10 Sep 2008 16:12:22 +0200 Oliver Rutsch <[EMAIL PROTECTED]> wrote: model = "tqc,tqm834x"; compatible = "tqc,tqm834x"; you need a arch/powerpc/platforms/83xx/tqm834x.c file that matches this. Kim O.K. I read "booting-without-of.txt" the third (or fourth?) time and so I m

IRQ : IRQ_HOST_MAP_LEGACY

2008-09-12 Thread Sébastien Chrétien
Hello I am seeing irq source. What is the use of : IRQ_HOST_MAP_LEGACY ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: boot cuImage on an old u-boot

2008-09-12 Thread Sebastian Siewior
* David Gibson | 2008-08-25 19:36:17 [+1000]: >Make sure the device tree contains a linux,stdout-path property in >/chosen. Oh. it did the trick. Thanks. Sebastian ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinf

Re: [PATCH 2/4] POWERPC: Move iommu dma ops from dma.c to dma-iommu.c

2008-09-12 Thread Becky Bruce
On Sep 8, 2008, at 4:57 PM, Christoph Hellwig wrote: On Mon, Sep 08, 2008 at 02:09:53PM -0500, Becky Bruce wrote: +/* We support DMA to/from any memory page via the iommu */ +static int dma_iommu_dma_supported(struct device *dev, u64 mask) +{ + struct iommu_table *tbl = dev->archdata.dma

[PATCH V2] Pass actual dev ptr to dma_* in ucc and cpm_uart serial

2008-09-12 Thread Becky Bruce
We're currently passing NULL, and really shouldn't be. Signed-off-by: Becky Bruce <[EMAIL PROTECTED]> --- drivers/serial/cpm_uart/cpm_uart_core.c |3 +++ drivers/serial/cpm_uart/cpm_uart_cpm1.c |6 +++--- drivers/serial/cpm_uart/cpm_uart_cpm2.c |6 +++--- drivers/serial/ucc_uart.c

Re: [PATCH V2] Pass actual dev ptr to dma_* in ucc and cpm_uart serial

2008-09-12 Thread Timur Tabi
On Fri, Sep 12, 2008 at 10:42 AM, Becky Bruce <[EMAIL PROTECTED]> wrote: > Signed-off-by: Becky Bruce <[EMAIL PROTECTED]> Acked-By: Timur Tabi <[EMAIL PROTECTED]> The changelog could be a little beefier, though. I'm not a fan of having the changelog be an extension of the patch title. -- Timu

Re: [PATCH V2] Pass actual dev ptr to dma_* in ucc and cpm_uart serial

2008-09-12 Thread Scott Wood
On Fri, Sep 12, 2008 at 10:51:24AM -0500, Timur Tabi wrote: > On Fri, Sep 12, 2008 at 10:42 AM, Becky Bruce <[EMAIL PROTECTED]> wrote: > > > Signed-off-by: Becky Bruce <[EMAIL PROTECTED]> > > Acked-By: Timur Tabi <[EMAIL PROTECTED]> ACK > The changelog could be a little beefier, though. I'm no

Re: TDM driver

2008-09-12 Thread Srivatsan S
Surendra, I've worked on TDM drivers on MPC8360 for a custom board. You could send the patches for verification. - Srivatsan 2008/9/11 <[EMAIL PROTECTED]> > Hi, > > I am working on Custom MPC8360 Target board. > I have four devices connected through the TDM interface. > Does any one has writte

Re: [PATCH 4/4] Add kernel doc for the completion, fix kernel-doc-nano-HOWTO.txt

2008-09-12 Thread Randy Dunlap
On Tue, 26 Aug 2008 10:32:02 +0200 Ingo Molnar wrote: > > * Kevin Diggs <[EMAIL PROTECTED]> wrote: > > > This patch adds kernel doc for the completion feature. It is in > > kernel/sched.c and include/linux/completion.h. > > > > An error in the split-man.pl PERL snippet in kernel-doc-nano-HOWTO.

[PATCH V2 4/4] POWERPC: Merge 32 and 64-bit dma code

2008-09-12 Thread Becky Bruce
We essentially adopt the 64-bit dma code, with some changes to support 32-bit systems, including HIGHMEM. dma functions on 32-bit are now invoked via accessor functions which call the correct op for a device based on archdata dma_ops. If there is no archdata dma_ops, this defaults to dma_direct_o

Device treee syntax for expanding mpc5200 gpios

2008-09-12 Thread Jon Smirl
I need to implement some more of the mpc5200's gpio capabilities. Right now we have: gpios = <&gpio_wkup 0 0>; first cell is index into the bank, and second is unused. What do we need to fully describe a mpc5200 gpio? 1) open drain: 1 enable 2) interrupt: 0 no int, 1 simple, 2 wakeup, 3 both 3)

Re: [PATCH v2] powerpc: fix interrupt values for DMA2 in MPC8610 HPCD device tree

2008-09-12 Thread Kumar Gala
On Sep 9, 2008, at 2:43 PM, Timur Tabi wrote: For Freescale 8xxx devices that use an MPIC, the interrupt numbers in the device tree must be 16 greater than the values documented in the reference manual. In these chips, the MPIC is wired to use the first 16 numbers for external interrupts,

Please pull from 'for-2.6.27'

2008-09-12 Thread Kumar Gala
Please pull from 'for-2.6.27' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for-2.6.27 to receive the following updates: arch/powerpc/boot/dts/mpc8610_hpcd.dts |8 +-- arch/powerpc/sysdev/cpm1.c | 74 +++-- 2 files

[PATCH] POWERPC: Make dma_addr_t a u64 if CONFIG_PHYS_64BIT is set

2008-09-12 Thread Becky Bruce
Signed-off-by: Becky Bruce <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/types.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/include/asm/types.h b/arch/powerpc/include/asm/types.h index d3374bc..a9a9262 100644 --- a/arch/powerpc/include/asm/types.h +++

[PATCH v4 1/4] powerpc: Introduce local (non-broadcast) forms of tlb invalidates

2008-09-12 Thread Kumar Gala
Introduced a new set of low level tlb invalidate functions that do not broadcast invalidates on the bus: _tlbil_all - invalidate all _tlbil_pid - invalidate based on process id (or mm context) _tlbil_va - invalidate based on virtual address (ea + pid) On non-SMP configs _tlbil_all should be func

[PATCH v4 2/4] powerpc: Fixes for CONFIG_PTE_64BIT for SMP support

2008-09-12 Thread Kumar Gala
There are some minor issues with support 64-bit PTEs on a 32-bit processor when dealing with SMP. * We need to order the stores in set_pte_at to make sure the flag word is set second. * Change pte_clear to use pte_update so only the flag word is cleared * Added a WARN_ON to set_pte_at to ensure

[PATCH v4 4/4] powerpc/mm: Implement _PAGE_SPECIAL & pte_special() for 32-bit

2008-09-12 Thread Kumar Gala
Implement _PAGE_SPECIAL and pte_special() for 32-bit powerpc. This bit will be used by the fast get_user_pages() to differenciate PTEs that correspond to a valid struct page from special mappings that don't such as IO mappings obtained via io_remap_pfn_ranges(). We currently only implement this on

[PATCH v4 3/4] powerpc/fsl-booke: Fixup 64-bit PTE reading for SMP support

2008-09-12 Thread Kumar Gala
We need to create a false data dependency to ensure the loads of the pte are done in the right order. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- arch/powerpc/kernel/head_fsl_booke.S | 26 +- 1 files changed, 21 insertions(+), 5 deletions(-) diff --git a/arch/powe

Re: TDM driver

2008-09-12 Thread surendranath . moilla
Hi Srivatsan, I have got these patches in google. i have not yet used these for MPV8360. If you have already workded on TDM drivers for MPC8360. Can you please send me the driver code . Regards Surendra > Surendra, > > I've worked on TDM drivers on MPC8360 for a custom board. You could se