[PATCH] powerpc/usb: Fix 440EPx USBH_3 & USBH_5 EHCI errata

2009-03-06 Thread - Reyneke
Patch applies to 440EPx devices in USB EHCI host mode (USB 2.0). >From the 440EPx errata: USBH_3: Host hangs after underrun or overrun occurs USBH_5: EHCI0_INSNREGxx registers are reset by a Soft or Light Host Controller Reset Workround for USBH_3 is to enable Break Memory Transfer (BMT) in IN

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-06 Thread Geert Uytterhoeven
On Fri, 6 Mar 2009, Jens Axboe wrote: > On Thu, Mar 05 2009, Geert Uytterhoeven wrote: > > But then I noticed ps3vram_make_request() may be called concurrently, > > so I had to add a mutex to avoid data corruption. This slows the > > driver down, and in the end, the version with a thread turns out

[PATCH] ps3/block: Replace mtd/ps3vram by block/ps3vram (was: Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device)

2009-03-06 Thread Geert Uytterhoeven
On Thu, 5 Mar 2009, Jens Axboe wrote: > On Thu, Mar 05 2009, Benjamin Herrenschmidt wrote: > > On Wed, 2009-03-04 at 14:57 +0100, Geert Uytterhoeven wrote: > > > Below is the rewrite of the PS3 Video RAM Storage Driver as a plain block > > > device, as requested by Arnd Bergmann. > > > > > > The M

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-06 Thread Jens Axboe
On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > On Fri, 6 Mar 2009, Jens Axboe wrote: > > On Thu, Mar 05 2009, Geert Uytterhoeven wrote: > > > But then I noticed ps3vram_make_request() may be called concurrently, > > > so I had to add a mutex to avoid data corruption. This slows the > > > driver d

Interrupt GPIOs with MPC5200b

2009-03-06 Thread Dave Best
Hi, I am working on a MPC5200B-tiny with 2.6.23.1 Linux (pcm030). I want to use an interrupt GPIO to act as the source for my ISR, but i can't find the IRQ numbers for the GPIOs so i can't call request_irq() to set my ISR up. For other platforms there seems to be the function gpio_to_irq() w

Re: support IRQ from GPIO trough OF and GPIOLIB

2009-03-06 Thread Henk Stegeman
I just saw that I missed an earlier very useful a suggestion from Grant Likely: http://ozlabs.org/pipermail/linuxppc-dev/2009-February/068357.html By defining the irq in the dts directly I don't need the gpio irq support anymore. On Thu, Mar 5, 2009 at 12:20 PM, Henk Stegeman wrote: > I forgot

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-06 Thread Geert Uytterhoeven
On Fri, 6 Mar 2009, Jens Axboe wrote: > On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > > On Fri, 6 Mar 2009, Jens Axboe wrote: > > > On Thu, Mar 05 2009, Geert Uytterhoeven wrote: > > > > But then I noticed ps3vram_make_request() may be called concurrently, > > > > so I had to add a mutex to avoi

Re: Davicom DM9000A on MPC5200B (powerpc) works using a dirty offsetting and byte trick

2009-03-06 Thread Grant Likely
On Fri, Feb 20, 2009 at 2:51 AM, Henk Stegeman wrote: > I have the following definition for this network device in my dts: > >        enet1:ether...@fb00 { >                #size-cells = <1>; >                #address-cells = <1>; The ethernet node doesn't have any children, so drop the #size

Re: Interrupt GPIOs with MPC5200b

2009-03-06 Thread Grant Likely
On Fri, Mar 6, 2009 at 6:27 AM, Dave Best wrote: > > Hi, I am working on a MPC5200B-tiny with 2.6.23.1 Linux (pcm030). > > I want to use an interrupt GPIO to act as the source for my ISR, but i can't > find the IRQ numbers for the GPIOs so i can't call request_irq() to set my > ISR up. > > For o

Please pull mpc52xx-merge

2009-03-06 Thread Grant Likely
Hi Ben, One last one for 2.6.29. Single line cefconfig change only. This fixes defconfigs for Xilinx Virtex platforms that use the full 16550 uart instead of uartlite. The following changes since commit 778ef1e6cbb049c9bcbf405936ee6f2b6e451892: Linus Torvalds (1): Merge git://git.kern

Re: next branch status

2009-03-06 Thread Grant Likely
On Mon, Mar 2, 2009 at 9:55 PM, Benjamin Herrenschmidt wrote: > Note: Kumar and Grant, pls be a bit more careful with files outside of > arch/powerpc ... like the 5200 fec driver change, even if it's really > powerpc only stuff and quite clearly so, it's in drivers/net, it > wouldn't have hurt to

Re: [PATCH] Xilinx: SPI: driver not releasing memory

2009-03-06 Thread Grant Likely
David, Are you okay with this patch and okay with it going in via Ben's powerpc tree? Ben wants to ensure that changes outside arch/powerpc/ are properly acked before going into his tree. Thanks, g. On Sat, Feb 28, 2009 at 9:09 PM, Grant Likely wrote: > On Fri, Feb 27, 2009 at 4:54 PM, John Li

USB Host in 2.6.24-r3 Arch=PPC

2009-03-06 Thread A. Nolson
Hi, just a little question. I am using 2.6.24-rc3 (secretlab) and I would like to use c67x00 driver from Peter Kosgaard for USB-Host in my Xilinx ML403 board. Is there support to use USB Host in Arch=ppc Apparently I cannot select CONFIG_USB_ARCH_HAS_HCD=y option. What should I do to get the US

Re: [PATCH] Fix Xilinx SystemACE driver to handle empty CF slot

2009-03-06 Thread Grant Likely
Oops, sorry Jens. I forgot to CC: you on this patch. g. On Sat, Feb 28, 2009 at 1:46 PM, Grant Likely wrote: > From: Grant Likely > > The SystemACE driver does not handle an empty CF slot gracefully.  An > empty CF slot ends up hanging the system.  This patch adds a check for > the CF state an

[RFC] drivers/base: Add bus_register_notifier_alldev() variant

2009-03-06 Thread Grant Likely
From: Grant Likely bus_register_notifier_alldev() is a variation on bus_register_notifier() which also triggers the notifier callback for devices already on the bus and already bound to drivers. This function is useful for the case where a driver needs to get a reference to a struct device other

Re: 83xx: Marking or Allocating Pages as Cache-Inhibited

2009-03-06 Thread Ben Menchaca
Testing now...it looks like it (almost) works, though! Why does setting no-snoop cause snooping to work? More on the effect on setting that bit in a few minutes...need more testing. ACR is 0x00030300. - Ben On Fri, Mar 6, 2009 at 12:30 AM, Liu Dave-R63238 wrote: > Did you enable the descript

Please pull mpc52xx-next

2009-03-06 Thread Grant Likely
Hey Ben, Here are some more for -next. The following changes since commit 652e8f8d579d61745094e36b4ff085026a332e73: Benjamin Herrenschmidt (1): Merge commit 'jwb/next' into next are available in the git repository at: git://git.secretlab.ca/git/linux-2.6-mpc52xx next Grant Likely (

Re: 83xx: Marking or Allocating Pages as Cache-Inhibited

2009-03-06 Thread Ben Menchaca
Thank you for your help! That bit resolved all of the RDMA/WDMA coherency issues on the CSB side...except: We expose a 1MB region of memory from CSB via a BAR (BAR1, if it matters) to the Host. This region is also not behaving correctly with respect to coherency on SOME hosts; again, disabling o

[PATCH, RFC]

2009-03-06 Thread Eddie Dawydiuk
Hello, The patch below resolves the following issues. The build system for the AMCC Yosemite eval board is not including the proper fixups(e.g. RAM initialization, timer initialization). In addition the wrapper script was not using the fixed-head.S source(e.g. add branch instruction so one ca

Re: [PATCH, RFC]

2009-03-06 Thread Josh Boyer
On Fri, Mar 06, 2009 at 10:41:48AM -0700, Eddie Dawydiuk wrote: > Hello, > > The patch below resolves the following issues. The build system for the > AMCC Yosemite eval board is not including the proper fixups(e.g. RAM > initialization, timer initialization). In addition the wrapper script >

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-06 Thread Jens Axboe
On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > On Fri, 6 Mar 2009, Jens Axboe wrote: > > On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > > > On Fri, 6 Mar 2009, Jens Axboe wrote: > > > > On Thu, Mar 05 2009, Geert Uytterhoeven wrote: > > > > > But then I noticed ps3vram_make_request() may be cal

[patch 2.6.29] powerpc/ps3: ps3_defconfig updates

2009-03-06 Thread Geoff Levand
Update ps3_defconfig. Sets these options: CONFIG_PS3_VRAM=m CONFIG_BLK_DEV_DM=m CONFIG_USB_HIDDEV=y CONFIG_EXT4_FS=y CONFIG_DYNAMIC_FTRACE=y Signed-off-by: Geoff Levand --- Ben, Please send upstream for 2.6.29. -Geoff arch/powerpc/configs/ps3_defconfig | 251 +

[PATCH v2] powerpc: clean up ssi.txt, add definition for fsl, ssi-asynchronous

2009-03-06 Thread Timur Tabi
Add the definition of the fsl,ssi-asynchronous property to ssi.txt (documentation of the device tree bindings for the Freescale SSI device). Also tidy up the layout of ssi.txt. Signed-off-by: Timur Tabi --- v2: fixed typo, improved wording. Documentation/powerpc/dts-bindings/fsl/ssi.txt |

Re: [PATCH, RFC]

2009-03-06 Thread Grant Likely
On Fri, Mar 6, 2009 at 11:40 AM, Josh Boyer wrote: > On Fri, Mar 06, 2009 at 10:41:48AM -0700, Eddie Dawydiuk wrote: >> @@ -214,8 +214,12 @@ >>      platformo="$object/simpleboot.o $object/virtex.o" >>      binary=y >>      ;; >> +simpleboot-yosemite) >> +    platformo="$object/fixed-head.o $objec

backtrace_symbols

2009-03-06 Thread Tom . Bucken
Hi, I am producing stacktraces by calling backtrace to get the stack and backtrace_symbols to print each frame. backtrace_symbols is returning some extra unprintable characters at the start of each array entry. each array entry starts with this unprintable character (repeats 7 ti

Re: [PATCH] Xilinx: SPI: driver not releasing memory

2009-03-06 Thread David Brownell
On Friday 06 March 2009, Grant Likely wrote: > David, > > Are you okay with this patch and okay with it going in via Ben's > powerpc tree? Ben wants to ensure that changes outside arch/powerpc/ > are properly acked before going into his tree. Sure, no problem. > Thanks, > g. > > On Sat, Feb 2

[PATCH] powerpc/5200: remove sysfs debug file from GPT driver

2009-03-06 Thread Grant Likely
From: Grant Likely Remove poorly designed debug sysfs attribute entry from the GPT driver. Signed-off-by: Grant Likely --- arch/powerpc/platforms/52xx/mpc52xx_gpt.c | 39 - 1 files changed, 0 insertions(+), 39 deletions(-) diff --git a/arch/powerpc/platforms/52

Re: [PATCH] powerpc/5200: remove sysfs debug file from GPT driver

2009-03-06 Thread Grant Likely
Wolfram, you were right. This was a bad idea. I just took me a bit longer to clue into it. g. On Fri, Mar 6, 2009 at 1:30 PM, Grant Likely wrote: > From: Grant Likely > > Remove poorly designed debug sysfs attribute entry from the GPT driver. > > Signed-off-by: Grant Likely > --- > >  arch/p

Re: [PATCH] Fix Xilinx SystemACE driver to handle empty CF slot

2009-03-06 Thread Jens Axboe
On Fri, Mar 06 2009, Grant Likely wrote: > Oops, sorry Jens. I forgot to CC: you on this patch. > > g. > > On Sat, Feb 28, 2009 at 1:46 PM, Grant Likely > wrote: > > From: Grant Likely > > > > The SystemACE driver does not handle an empty CF slot gracefully.  An > > empty CF slot ends up hang

[PATCH] powerpc: fix linkstation and storcenter compilation breakage

2009-03-06 Thread Guennadi Liakhovetski
Defining flash partition table in platform code is deprecated, and due to recent changes linkstation and storcenter do not compile any more with their default configurations because of undefined references to physmap_set_partitions(). Instead of fixing them by using the correct kernel configura

Re: [PATCH] Fix Xilinx SystemACE driver to handle empty CF slot

2009-03-06 Thread Grant Likely
On Fri, Mar 6, 2009 at 1:46 PM, Jens Axboe wrote: > On Fri, Mar 06 2009, Grant Likely wrote: >> > The SystemACE driver does not handle an empty CF slot gracefully.  An >> > empty CF slot ends up hanging the system.  This patch adds a check for >> > the CF state and stops trying to process requests

[RFC 1/2] powerpc/5200: add general purpose timer API for the MPC5200

2009-03-06 Thread Grant Likely
From: Grant Likely This patch adds an interface for controlling the timer function of the MPC5200 GPT devices. Signed-off-by: Grant Likely --- This probably isn't complete, but I wanted to get it out there and reviewed before I commit to the design. Comments appreciated. g. arch/powerpc/in

[RFC 2/2] powerpc/5200: add LocalPlus bus FIFO device driver

2009-03-06 Thread Grant Likely
From: Grant Likely This is a driver for the LocalPlus bus FIFO device Signed-off-by: Grant Likely --- This also isn't complete, but I wanted to get it out there and reviewed before I commit to the design. Comments appreciated. g. arch/powerpc/include/asm/mpc52xx.h| 11 + arch

Re: [RFC 1/2] powerpc/5200: add general purpose timer API for the MPC5200

2009-03-06 Thread Jon Smirl
I'm using a GPT pin in input capture mode to implement IR. I attached my GPT driver code. I can convert to your API. That's a really cheap way to do IR, just IR sensor, resistor and a cap. I also have an in-kernel IR system but Christoph (lirc maintainer) won't consider it. He is a microkernel typ

Re: [RFC 1/2] powerpc/5200: add general purpose timer API for the MPC5200

2009-03-06 Thread Grant Likely
On Fri, Mar 6, 2009 at 2:29 PM, Jon Smirl wrote: > I'm using a GPT pin in input capture mode to implement IR. I attached > my GPT driver code. I can convert to your API. That's a really cheap > way to do IR, just IR sensor, resistor and a cap. The driver I posted can't do input capture mode yet,

Re: [PATCH, RFC]

2009-03-06 Thread Eddie Dawydiuk
Hello, Your patch is word-wrapped. It also lacks the Signed-off-by tag, which is required. I apologize please see an updated patch below. The changelog sounds as if there are bugs being fixed here, but really you're adding support for something entirely new. The yosemite board comes with U

Re: [PATCH, RFC]

2009-03-06 Thread Eddie Dawydiuk
Hello, Let's try this one more time. The last patch was using the clocks for a custom board based on the Yosemite board and was referencing a non-existent ethNadr( I forgot to pull out this code out). Signed-off-by: Eddie Dawydiuk diff -urN linux-2.6.28.orig/arch/powerpc/boot/simpleboot-yos

MC Technology GMBH - Re: mpc83xx SPI driver never calls its probe function

2009-03-06 Thread Steffen
Hello Joakim, I found your question - but it seems you got never an answer? I have the same problem too with AT91RM9200 - etwarm_board - Kernel 2.6.18. Please send me an answer or some informations - what ever had you found out. Steffen Kutsche MC Technology GmbH, Berlin _

Re: USB Host in 2.6.24-r3 Arch=PPC

2009-03-06 Thread Joachim Foerster
Hi, On Fri, 2009-03-06 at 16:51 +0100, A. Nolson wrote: > just a little question. I am using 2.6.24-rc3 (secretlab) and I would > like to use c67x00 driver from Peter Kosgaard for USB-Host in my Xilinx > ML403 board. Is there support to use USB Host in Arch=ppc Apparently I > cannot select CONF

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-06 Thread Jon Smirl
On Tue, Mar 3, 2009 at 3:12 AM, Robert Schwebel wrote: > On Sun, Mar 01, 2009 at 09:33:16PM -0700, Grant Likely wrote: >> On Sun, Mar 1, 2009 at 7:19 PM, Jon Smirl wrote: >> > Would it be easier to get Pengutronix to release a new u-boot for >> > the pcm030? I'm using U-Boot 1.2.0-mpc5200b-tiny-2

Re: [PATCH, RFC]

2009-03-06 Thread Grant Likely
On Fri, Mar 6, 2009 at 3:32 PM, Eddie Dawydiuk wrote: > Hello, > > Let's try this one more time. The last patch was using the clocks for a > custom board based on the Yosemite board and was referencing a non-existent > ethNadr( I forgot to pull out this code out). But the question remains: Why do

Re: [PATCH, RFC]

2009-03-06 Thread Grant Likely
On Fri, Mar 6, 2009 at 9:22 PM, Grant Likely wrote: > On Fri, Mar 6, 2009 at 3:32 PM, Eddie Dawydiuk wrote: >> Hello, >> >> Let's try this one more time. The last patch was using the clocks for a >> custom board based on the Yosemite board and was referencing a non-existent >> ethNadr( I forgot t