[PATCH] [v2] watchdog: booke_wdt: clean up status messages

2011-02-08 Thread Timur Tabi
Improve the status messages that are displayed during some operations of the PowerPC watchdog timer driver. When the watchdog is enabled, the timeout is displayed as a number of seconds, instead of an obscure "period". The "period" is the position of a bit in a 64-bit timer register. The higher

[PATCH 2/2] misc: add CARMA DATA-FPGA Programmer support

2011-02-08 Thread Ira W. Snyder
This adds support for programming the data processing FPGAs on the OVRO CARMA board. These FPGAs have a special programming sequence that requires that we program the Freescale DMA engine, which is only available inside the kernel. Signed-off-by: Ira W. Snyder --- drivers/misc/carma/Kconfig

[PATCH 1/2] misc: add CARMA DATA-FPGA Access Driver

2011-02-08 Thread Ira W. Snyder
This driver allows userspace to access the data processing FPGAs on the OVRO CARMA board. It has two modes of operation: 1) random access This allows users to poke any DATA-FPGA registers by using mmap to map the address region directly into their memory map. 2) correlation dumping When correla

[PATCH RFCv5 0/2] CARMA Board Support

2011-02-08 Thread Ira W. Snyder
Hello everyone, This is the fifth posting of these drivers, taking into account comments from earlier postings. I would appreciate as much review as you can offer. RFCv4 -> RFCv5: - remove unecessary locking per review comments - do not clobber return values from *_interruptible() - explicitly tr

Re: [PATCH 1/2] misc: add CARMA DATA-FPGA Access Driver

2011-02-08 Thread Dmitry Torokhov
On Tue, Feb 08, 2011 at 11:11:44AM -0800, Ira W. Snyder wrote: > On Tue, Feb 08, 2011 at 09:50:29AM -0800, Dmitry Torokhov wrote: > > On Tue, Feb 08, 2011 at 09:20:46AM -0800, Ira W. Snyder wrote: > > > > > Go back and re-think my loop. This is a > > > common idiom straight of out LDD3 pages 153-1

help debugging linux setting PLX Gen2 PCIe switches to gen1 speed

2011-02-08 Thread Ayman El-Khashab
I've got a custom 460SX board with PLX gen2 (8616) switches. When u-boot comes up everything is fine and my switches are indicating they are in Gen2 PCIe mode. If I let it boot my linux kernel (denx 2.6.36.1), boot almost immediately, the LEDs on my switches start to blink indicating they hav

Re: [PATCH 1/2] misc: add CARMA DATA-FPGA Access Driver

2011-02-08 Thread Ira W. Snyder
On Tue, Feb 08, 2011 at 09:50:29AM -0800, Dmitry Torokhov wrote: > On Tue, Feb 08, 2011 at 09:20:46AM -0800, Ira W. Snyder wrote: > > On Mon, Feb 07, 2011 at 11:33:10PM -0800, Dmitry Torokhov wrote: > > > > +static void data_free_buffer(struct device *dev, struct data_buf *buf) > > > > +{ > > > > +

Re: [PATCH V9 10/10] USB ppc4xx: Add Synopsys DWC OTG driver kernel configuration and Makefile

2011-02-08 Thread Sergei Shtylyov
Hello. tma...@apm.com wrote: From: Tirumala Marri Add Synopsys DesignWare HS USB OTG driver kernel configuration. Synopsys OTG driver may operate in host only, device only, or OTG mode. The driver also allows user configure the core to use its internal DMA or Slave (PIO) mode. Signed-of

Re: [PATCH 1/2] misc: add CARMA DATA-FPGA Access Driver

2011-02-08 Thread Dmitry Torokhov
On Tue, Feb 08, 2011 at 09:20:46AM -0800, Ira W. Snyder wrote: > On Mon, Feb 07, 2011 at 11:33:10PM -0800, Dmitry Torokhov wrote: > > > +static void data_free_buffer(struct device *dev, struct data_buf *buf) > > > +{ > > > + /* It is ok to free a NULL buffer */ > > > + if (!buf) > > > + ret

Re: [PATCH 1/2] misc: add CARMA DATA-FPGA Access Driver

2011-02-08 Thread Dave Jones
On Tue, Feb 08, 2011 at 09:20:46AM -0800, Ira W. Snyder wrote: > > > +static DEVICE_ATTR(enable, S_IWUGO | S_IRUGO, data_en_show, > > > data_en_set); > > > > Are all of these really needed or most of them are for debug? > > > > Most are for debugging. They have proved useful a few times

Re: [PATCH 1/2] misc: add CARMA DATA-FPGA Access Driver

2011-02-08 Thread Ira W. Snyder
On Mon, Feb 07, 2011 at 11:33:10PM -0800, Dmitry Torokhov wrote: > Hi Ira, > > On Mon, Feb 07, 2011 at 03:23:40PM -0800, Ira W. Snyder wrote: > > This driver allows userspace to access the data processing FPGAs on the > > OVRO CARMA board. It has two modes of operation: > > > > 1) random access >

Re: Question on supporting multiple HW versions with a single driver (warning: long post)

2011-02-08 Thread Bruce_Leonard
Ah, okay. Taking a look at that it makes sense now. Thanks to both of you for the help. Bruce From: Bill Gatliff To: bruce_leon...@selinc.com Cc: David Gibson , linuxppc-dev@lists.ozlabs.org Date: 02/07/2011 09:13 PM Subject: Re: Question on supporting multiple HW versions with a single dri

Re: [PATCH 5/6] ftrace, powerpc: Implement raw syscall tracepoints on PowerPC

2011-02-08 Thread Steven Rostedt
On Tue, 2011-02-08 at 21:07 +1100, Benjamin Herrenschmidt wrote: > On Mon, 2011-02-07 at 21:10 -0500, Steven Rostedt wrote: > > Ben, > > > > How do you want to work this? Do you want to ack it and I take this > > patch with the others through the tracing tree, or do you want to wait > > till the t

Re: [PATCH] watchdog: booke_wdt: clean up status messages

2011-02-08 Thread Timur Tabi
Benjamin Herrenschmidt wrote: > If you're going to cleanup the messages, then I think displaying: > > PowerPC Book-E Watchdog Timer Loaded > booke_wdt: watchdog enabled (timeout = xxx sec) > > Isn't very nice. > > Lacks consistency ... you can prefix both lines the same way, or > maybe better pr

RE: [PATCH v3 1/4] powerpc: Removing support for 'protected-sources'

2011-02-08 Thread Yoder Stuart-B08248
> -Original Message- > From: devicetree-discuss- > bounces+stuart.yoder=freescale@lists.ozlabs.org [mailto:devicetree- > discuss-bounces+stuart.yoder=freescale@lists.ozlabs.org] On Behalf Of > Benjamin Herrenschmidt > Sent: Monday, February 07, 2011 3:46 PM > To: Meador Inge > Cc:

Re: [PATCH v2 3/3] powerpc: Add IO event interrupt support

2011-02-08 Thread Tseng-Hui (Frank) Lin
On Tue, 2011-02-08 at 08:46 +1100, Benjamin Herrenschmidt wrote: > On Mon, 2011-02-07 at 15:40 -0600, Tseng-Hui (Frank) Lin wrote: > > > We are -really- re-inventing interrupts and/or notifiers here, which > > > I find a tad annoying.. > > > > Agree. This is ugly. We could have just used the regul

Re: [PATCH V9 09/10] USB/ppc4xx:Synopsys DWC OTG driver enable gadget support

2011-02-08 Thread Sergei Shtylyov
Hello. On 08.02.2011 1:54, tma...@apm.com wrote: From: Tirumala Marri Enable gadget support Signed-off-by: Tirumala R Marri Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/gadget/Kconfig| 22 ++ drivers/usb/gadget/gadget_chips.h |

Re: [PATCH] PM: Hide CONFIG_PM from users

2011-02-08 Thread Mark Brown
On Mon, Feb 07, 2011 at 05:17:59PM -0800, Ray Lee wrote: > On Mon, Feb 7, 2011 at 7:49 AM, Mark Brown > > I'm rather hoping that they'll notice the mailing list thread or that > > someone else who knows what's going on with them does > Surely you're joking. I mean, do _you_ scan every message tha

Re: [PATCH 5/6] ftrace, powerpc: Implement raw syscall tracepoints on PowerPC

2011-02-08 Thread Benjamin Herrenschmidt
On Mon, 2011-02-07 at 21:10 -0500, Steven Rostedt wrote: > Ben, > > How do you want to work this? Do you want to ack it and I take this > patch with the others through the tracing tree, or do you want to wait > till the tracing tree gets updated into mainline and then pull this in > though the ppc

RE: [PATCH V8 03/10] USB/ppc4xx: Add Synopsys DWC OTG Core InterfaceLayer

2011-02-08 Thread David Laight
> [Marri] If u32 is 8bytes isn't pointer type would be 8bytes > as well. If u32 is 8bytes 'char' would only be 4 bits! (IIRC the X code has a fubar that requires a type with 32 in its name to be 64 bits!) David ___ Linuxppc-dev mailing lis