Re: [patch 09/16] powerpc: Replace old style lock initializer

2009-11-09 Thread Benjamin Herrenschmidt
On Mon, 2009-11-09 at 16:15 +1100, Stephen Rothwell wrote: > Hi Thomas, > > On Sat, 07 Nov 2009 09:55:44 +1100 Benjamin Herrenschmidt > wrote: > > > > On Fri, 2009-11-06 at 22:41 +, Thomas Gleixner wrote: > > > plain text document attachment > > > (power-replace-old-style-lock-init.patch) >

Re: [microblaze-uclinux] [PATCH 00/11] More OF merge patches

2009-11-09 Thread Michal Simek
Hi Grant, Grant Likely wrote: Round 2. Here is my 2nd set of merging OF code between PowerPC and Microblaze (no SPARC changes this time). Compile tested on ppc, microblaze and sparc. Boot tested on MPC5200 powerpc platform. I tested your test-device-tree branch - boot tested on ml505 for MM

Re: [PATCH RFC] gianfar: Make polling safe with IRQs disabled

2009-11-09 Thread Anton Vorontsov
On Sun, Nov 08, 2009 at 01:05:33AM -0800, David Miller wrote: ... > > When using KGDBoE, gianfar driver spits 'Interrupt problem' messages, > > which appears to be a legitimate warning, i.e. we may end up calling > > netif_receive_skb() or vlan_hwaccel_receive_skb() with IRQs disabled. > > > > Thi

Re: [PATCH RFC] gianfar: Do not call skb recycling with disabled IRQs

2009-11-09 Thread Anton Vorontsov
On Sun, Nov 08, 2009 at 01:08:48AM -0800, David Miller wrote: > From: Anton Vorontsov > Date: Thu, 5 Nov 2009 19:57:38 +0300 > > > But that basically means that with skb recycling we can't safely > > use KGDBoE, though we can add something like this: > > Please stop adding special logic only to

[PATCH] ASoC/mpc5200: remove duplicate identical IRQ handler

2009-11-09 Thread Grant Likely
The TX and RX irq handlers are identical. Merge them Signed-off-by: Grant Likely --- Hi Mark. Here's one more cleanup patch. sound/soc/fsl/mpc5200_dma.c | 33 +++-- 1 files changed, 3 insertions(+), 30 deletions(-) diff --git a/sound/soc/fsl/mpc5200_dma.c b/sou

Re: Fwd: [PATCH] arch/powerpc: Improve _memcpy

2009-11-09 Thread Grant Likely
On Wed, Nov 4, 2009 at 11:12 AM, Albrecht Dreß wrote: > See . >  Any chance to get this one into the tree?  Grant? Even though it is generic ppc code, I picked it up into my 5200 -next tree because it's such a simple patch. I e

Re: [PATCH] powerpc/kvm: Fix non-modular build

2009-11-09 Thread Hollis Blanchard
On Thu, 2009-11-05 at 17:18 +1100, Benjamin Herrenschmidt wrote: > Signed-off-by: Benjamin Herrenschmidt > --- > arch/powerpc/kvm/timing.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/arch/powerpc/kvm/timing.c b/arch/powerpc/kvm/timing.c > index 2aa371e..7037855

Disable Caching for mmap() address

2009-11-09 Thread Jonathan Haws
All, I would like to disable caching for an address that was returned from a call to mmap(). I am using this address for DMA operations in user space and want to make sure that the data cache is turned off for that buffer. The way this works is the driver simply takes an address I provide and

Invalidate Data Cache from User Space

2009-11-09 Thread Jonathan Haws
All, I have a routine to invalidate the data cache from user space (since I do not believe there is a standard routine I can use outside of kernel space??). Here is the code: .text; .globl cacheInvalidate405; cacheInvalidate405: /* * r3 = Data cache * r4

Re: c67x00 with mpc85xx

2009-11-09 Thread Grant Likely
On Fri, Oct 16, 2009 at 12:44 PM, Jeff Angielski wrote: > > We are using the Cypress USB Host (CY7C67300) with a Freescale MPC8544 and > can only get it to work if we add a delay after writing to the hardware > registers through the HPI. > > We tried playing with the SCY settings in the GPCM but n

Re: [spi-devel-general] [PATCH v4] xilinx_spi: Splitted into generic, of and platform driver, added support for DS570

2009-11-09 Thread Grant Likely
Oops, I replied to the original version, but missed the subsequent versions. Looks like some of my comments still apply though. Overall, the patch changes too many things all at once. You should look at splitting it up. At the very least the io accessor changes should be done in a separate patch

Re: [PATCH] spi/mpc52xx: replace printk with dev_err

2009-11-09 Thread Grant Likely
On Wed, Nov 4, 2009 at 2:49 AM, Wolfram Sang wrote: > To easily identify which device has problems. > > Signed-off-by: Wolfram Sang > Cc: Grant Likely > --- >  drivers/spi/mpc52xx_psc_spi.c |    5 ++--- >  1 files changed, 2 insertions(+), 3 deletions(-) picked up. Thanks g. _

RE: [spi-devel-general] [PATCH v4] xilinx_spi: Splitted into generic, of and platform driver, added support for DS570

2009-11-09 Thread Stephen Neuendorffer
> -Original Message- > From: linuxppc-dev-bounces+stephen=neuendorffer.n...@lists.ozlabs.org > [mailto:linuxppc-dev- > bounces+stephen=neuendorffer.n...@lists.ozlabs.org] On Behalf Of Grant Likely > Sent: Monday, November 09, 2009 1:22 PM > To: Richard Röjfors > Cc: spi-devel-gene...@lis

Re: Invalidate Data Cache from User Space

2009-11-09 Thread Josh Boyer
On Mon, Nov 09, 2009 at 11:10:42AM -0700, Jonathan Haws wrote: >All, >What is happening is the dcbi instruction will fail. I get an Illegal >Instruction message on the console and my program exits. > >Is there a reason I cannot call dbci from a user space application, or is >there something wron

[microblaze-uclinux] Re: [PATCH 02/11] of/flattree: merge of_scan_flat_dt

2009-11-09 Thread Wolfram Sang
On Thu, Nov 05, 2009 at 12:45:35AM -0700, Grant Likely wrote: > Merge common code between PowerPC and Microblaze Just minor fixes in nanodoc. > diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c > index 9faa9a5..7c3c13c 100644 > --- a/drivers/of/fdt.c > +++ b/drivers/of/fdt.c > @@ -19,3 +19,68 @@ c

Fw: Help with SPI node

2009-11-09 Thread Ravi Shekhar
I'm attempting to get SPI to work on my embedded design that is based on the mpc8313erbd reference board wiht a 2.6.27 kernel. I cannot open the SPI device. Tracing through the kernel code, it looks like the device is not being found in the DTB file. However there is a SPI node in there alr

Re: [PATCH 0/8] 8xx: Misc fixes for buggy insn

2009-11-09 Thread Scott Wood
On Mon, Nov 09, 2009 at 03:53:21PM -0600, Scott Wood wrote: > On Fri, Nov 06, 2009 at 10:29:44AM +0100, Joakim Tjernlund wrote: > > > > With this, the kernel hangs after "Mount-cache hash table entries: 512". > > > > > > Somewhat surprising result. I didn't expect you would even hit this > > > cond