Re: [net-next-2.6 PATCH v2] can: SJA1000: generic OF platform bus driver

2009-05-22 Thread Wolfgang Grandegger
Hi Grant, Grant Likely wrote: > Hi Wolfgang, thanks for the quick response. Comments below... > > On Fri, May 22, 2009 at 8:46 AM, Wolfgang Grandegger > wrote: >> +++ net-next-2.6/Documentation/powerpc/dts-bindings/can/sja1000.txt >> @@ -0,0 +1,37 @@ >> +Memory mapped SJA1000 CAN controller fr

PPC405EX based irq flooding with USB-OTG and usbserial device

2009-05-22 Thread Hunter Cobbs
Hello everyone, This is my first post to the PPC dev list as my company has just started developing a new project based on Linux. The good news is, this post is not debug-related as much as it is an introduction and query while I download the latest DENX kernel(only place I know that has the DWC_

Re: [PATCH V2 2/3] powerpc: Add support for swiotlb on 32-bit

2009-05-22 Thread Jeremy Fitzhardinge
Ian Campbell wrote: On Thu, 2009-05-21 at 14:27 -0400, Becky Bruce wrote: I can work with that, but it's going to be a bit inefficient, as I actually need the dma_addr_t, not the phys_addr_t, so I'll have to convert. In every case, this is a conversion I've already done and that I need

[PATCH] therm_adt746x: Always clear hardware bit which inverts fan speed range.

2009-05-22 Thread Michel Dänzer
This bit would get enabled sometimes (probably after suspend/resume), so the fan would run at full speed below the temperature thresholds, but slow down and eventually stop if temperatures rose above the thresholds... not exactly what you want. Signed-off-by: Michel Dänzer --- drivers/macintosh/

[PATCH] powerpc/virtex: Add ml510 reference design device tree

2009-05-22 Thread Grant Likely
From: Roderick Colenbrander As subject says, add dts files for Xilinx ML510 reference design with the PCI host bridge device Signed-off-by: Roderick Colenbrander Signed-off-by: Grant Likely --- I'm posting this one to the devicetree-discuss list for review before merging. The dts file was gen

Re: ipr boot failure caused by MSI (2.6.30-rc1+)

2009-05-22 Thread James Bottomley
On Thu, 2009-05-21 at 14:51 -0500, James Bottomley wrote: > On Thu, 2009-05-21 at 13:47 -0500, Brian King wrote: > > cc'ing linuxppc-dev... > > > > -Brian > > > > > > James Bottomley wrote: > > > Kernels after 2.6.30-rc1 stopped booting on my powerstation. The ipr > > > just times out and refus

Re: [PATCH] Add a few more mpc5200 PSC defines

2009-05-22 Thread Jon Smirl
On Fri, May 22, 2009 at 11:33 AM, Grant Likely wrote: > On Fri, May 22, 2009 at 9:25 AM, Jon Smirl wrote: >> Add a few more mpc5200 PSC defines. More bit fields defines for mpc5200 PSC >> registers >> >> Signed-off-by: Jon Smirl > > Thanks Jon, > > What are you adding these defines for (so I ca

[PATCH] Add a few more mpc5200 PSC defines

2009-05-22 Thread Jon Smirl
Add a few more mpc5200 PSC defines. More bit fields defines for mpc5200 PSC registers Signed-off-by: Jon Smirl --- arch/powerpc/include/asm/mpc52xx_psc.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/mpc52xx_psc.h b/arch/powerpc/in

Re: [PATCH] Add a few more mpc5200 PSC defines

2009-05-22 Thread Grant Likely
On Fri, May 22, 2009 at 9:25 AM, Jon Smirl wrote: > Add a few more mpc5200 PSC defines. More bit fields defines for mpc5200 PSC > registers > > Signed-off-by: Jon Smirl Thanks Jon, What are you adding these defines for (so I can add it to the commit log)? g. > --- >  arch/powerpc/include/asm

Re: [net-next-2.6 PATCH v2] can: SJA1000: generic OF platform bus driver

2009-05-22 Thread Grant Likely
Hi Wolfgang, thanks for the quick response. Comments below... On Fri, May 22, 2009 at 8:46 AM, Wolfgang Grandegger wrote: > +++ net-next-2.6/Documentation/powerpc/dts-bindings/can/sja1000.txt > @@ -0,0 +1,37 @@ > +Memory mapped SJA1000 CAN controller from NXP (formerly Philips) > + > +Required

Re: [net-next-2.6 PATCH] can: SJA1000: generic OF platform bus driver

2009-05-22 Thread Wolfgang Grandegger
David Miller wrote: > From: Grant Likely > Date: Thu, 21 May 2009 22:42:07 -0600 > >> On Wed, May 20, 2009 at 11:06 AM, Wolfgang Grandegger >> wrote: >>> This patch adds a generic driver for SJA1000 chips on the OpenFirmware >>> platform bus found on embedded PowerPC systems. You need a SJA1000

[net-next-2.6 PATCH v2] can: SJA1000: generic OF platform bus driver

2009-05-22 Thread Wolfgang Grandegger
This patch adds a generic driver for SJA1000 chips on the OpenFirmware platform bus found on embedded PowerPC systems. You need a SJA1000 node definition in your flattened device tree source (DTS) file similar to: c...@3,100 { compatible = "nxp,sja1000"; reg = <3 0x100 0x8

Re: [PATCH] mpc52xx_psc_spi: Convert to cs_control callback

2009-05-22 Thread Jon Smirl
On Thu, Apr 30, 2009 at 6:31 PM, Anton Vorontsov wrote: > mpc52xx_psc_spi driver is the last user of the legacy activate_cs > and deactivate_cs callbacks, so convert the driver to the cs_control This driver is missing a call to of_register_spi_devices(master, op->node); Here's how I added it, bu

Re: [PATCH] mmc: Add fsl,esdhc as a valid compatible to bind against

2009-05-22 Thread Pierre Ossman
On Fri, 8 May 2009 08:52:49 -0500 Kumar Gala wrote: > We plan to use fsl,esdhc going forward as the base compatible so update > the driver to bind against it. > > Signed-off-by: Kumar Gala > --- Applied. Rgds -- -- Pierre Ossman WARNING: This correspondence is being monitored by the

Re: [PATCH V2 2/3] powerpc: Add support for swiotlb on 32-bit

2009-05-22 Thread Ian Campbell
On Thu, 2009-05-21 at 14:27 -0400, Becky Bruce wrote: > I can work with that, but it's going to be a bit inefficient, as I > actually need the dma_addr_t, not the phys_addr_t, so I'll have to > convert. In every case, this is a conversion I've already done and > that I need in the calling co

Re: [PATCH V2 2/3] powerpc: Add support for swiotlb on 32-bit

2009-05-22 Thread FUJITA Tomonori
On Thu, 21 May 2009 13:18:54 -0700 Jeremy Fitzhardinge wrote: > Becky Bruce wrote: > > I can work with that, but it's going to be a bit inefficient, as I > > actually need the dma_addr_t, not the phys_addr_t, so I'll have to > > convert. In every case, this is a conversion I've already done an

Re: [PATCH V2 2/3] powerpc: Add support for swiotlb on 32-bit

2009-05-22 Thread FUJITA Tomonori
On Thu, 21 May 2009 20:01:37 +0100 Ian Campbell wrote: > > It's not actually clear to me that we need that check, though. Can > > someone explain what case that was designed to catch? > > If map_single fails and returns NULL then we try to use > io_tlb_overflow_buffer, if that is somehow not D

[GIT PULL] fsldma driver fixes

2009-05-22 Thread Li Yang
Hi Dan, Here are fixes for Freescale DMA engine driver. Thanks, - Leo The following changes since commit 5805977e63a36ad56594a623f3bd2bebcb7db233: Linus Torvalds (1): Merge branch 'for-linus' of git://git.kernel.org/.../jbarnes/drm-2.6 are available in the git repository at: git:/

Re: [PATCH] fsldma: fix memory leak on error path in fsl_dma_prep_memcpy()

2009-05-22 Thread Li Yang
On Sat, May 16, 2009 at 12:59 AM, Ira Snyder wrote: > When preparing a memcpy operation, if the kernel fails to allocate memory > for a link descriptor after the first link descriptor has already been > allocated, then some memory will never be released. Fix the problem by > walking the list of al

Re: can't flush tlb on e500

2009-05-22 Thread Benjamin Herrenschmidt
On Fri, 2009-05-22 at 19:27 +1000, Benjamin Herrenschmidt wrote: > On Wed, 2009-05-20 at 19:12 +0900, Saito Hideo wrote: > > > I think that the tlb should be cleared before mm->context.id is set > > MMU_NO_CONTEXT. > > You are right, this definitely looks like a bug on platforms that have > HW su

Re: can't flush tlb on e500

2009-05-22 Thread Benjamin Herrenschmidt
On Wed, 2009-05-20 at 19:12 +0900, Saito Hideo wrote: > I think that the tlb should be cleared before mm->context.id is set > MMU_NO_CONTEXT. You are right, this definitely looks like a bug on platforms that have HW support for the tlbil instruction (and thus care about the PID for flushing) whic

to access web server on PowerPC from system outside the local network

2009-05-22 Thread patel rajendra
Hi, I have made web server on PowerPC and it runs nicely. Currently it is on internal network. I want to access it from any system outside the local network. Can any one let me know what is the procedure for that? Thanks for your time Raj Cricket on your mind? Visit

Re: [PATCH] freescale: beyond ARRAY_SIZE of fdev->chan

2009-05-22 Thread Li Yang
On Wed, May 20, 2009 at 7:17 AM, Roel Kluin wrote: > Do not go beyond ARRAY_SIZE of fdev->chan > > Signed-off-by: Roel Kluin Indeed, thanks. But I would like the title and description of this patch be changed to like this: fsldma: fix check on potential fdev->chan[] overflow Fix the check of