[PATCH] Fix masking of interrupts for 52xx GPT IRQ.

2011-01-18 Thread Henk Stegeman
When using the GPT as interrupt controller interupts were missing. It turned out the IrqEn bit of the GPT is not a mask bit, but it also disables interrupt generation. This modification masks interrupt one level down the cascade. Note that masking one level down the cascade is only valid here becau

[PATCH] powerpc: perf: Fix frequency calculation for overflowing counters (FSL version)

2011-01-18 Thread Anton Blanchard
> > Does perf_event_fsl_emb.c need this as well (it has almost the same > > record_and_restart code)? > > I would think so. Good point: When fixing the frequency calculations for perf on powerpc I forgot to fix the FSL version. If we dont set event->hw.last_period the frequency to period cal

Re: [PATCH] ATA: Add FSL sata v2 controller support

2011-01-18 Thread Sergei Shtylyov
Hello. On 18-01-2011 6:01, Zang Roy-R61911 wrote: In FSL sata v2 block, the snoop bit of PRDT Word3 description information is at bit28 instead of bit22. This patch adds FSL sata v2 probe and resolve this difference. Signed-off-by: Xulei [snip] diff --git a/arch/powerpc/boot/dts/p10

RE: [PATCH] ATA: Add FSL sata v2 controller support

2011-01-18 Thread Zang Roy-R61911
> -Original Message- > From: Sergei Shtylyov [mailto:sshtyl...@mvista.com] > Sent: Tuesday, January 18, 2011 19:27 PM > To: Zang Roy-R61911 > Cc: Sergei Shtylyov; Xu Lei-B33228; linuxppc-dev@lists.ozlabs.org; Gala Kumar- > B11780; jgar...@pobox.com; linux-...@vger.kernel.org > Subject: Re

Re: [PATCH] ATA: Add FSL sata v2 controller support

2011-01-18 Thread Sergei Shtylyov
Hello. On 18-01-2011 14:43, Zang Roy-R61911 wrote: On 18-01-2011 6:01, Zang Roy-R61911 wrote: In FSL sata v2 block, the snoop bit of PRDT Word3 description information is at bit28 instead of bit22. This patch adds FSL sata v2 probe and resolve this difference. Signed-off-by: Xulei [s

Problem with Busybox shell

2011-01-18 Thread MohanReddy koppula
Hi All, I am working on an MPC885 based custom board. I am able to boot up the linux (linux-2.6.33.7). I could see busybox shell (ash) prompt. But it is not accepting any inputs, I am not able to enter any command, it just hangs there. I am using ttyCPM0 terminal. I suspected if there was any pro

RE: [PATCH] define binding for fsl mpic interrupt controllers

2011-01-18 Thread Yoder Stuart-B08248
> -Original Message- > From: Meador Inge [mailto:meador_i...@mentor.com] > Sent: Monday, January 17, 2011 7:21 PM > To: Yoder Stuart-B08248 > Cc: linuxppc-dev@lists.ozlabs.org; devicetree-disc...@lists.ozlabs.org; > Blanchard, Hollis; Meador Inge > Subject: Re: [PATCH] define binding for

RE: [PATCH 1/2] powerpc: document the MPIC device tree binding

2011-01-18 Thread Yoder Stuart-B08248
> From: Meador Inge > Date: Mon, Jan 17, 2011 at 6:52 PM > Subject: [PATCH 1/2] powerpc: document the MPIC device tree binding > To: linuxppc-dev@lists.ozlabs.org > Cc: minge , > devicetree-disc...@lists.ozlabs.org, "Blanchard, Hollis" > > > > This binding documents several properties that have

Re: [PATCH 1/2] powerpc: document the MPIC device tree binding

2011-01-18 Thread Scott Wood
On Mon, 17 Jan 2011 18:52:24 -0600 Meador Inge wrote: > +** Required properties: > + > + NOTE: Many of these descriptions were paraphrased from [1] to aid > + readability. > + > + - name : Specifies the name of the MPIC. "name" isn't really a property with flat trees. The appropriat

Re: Problem with Busybox shell

2011-01-18 Thread Scott Wood
On Tue, 18 Jan 2011 07:54:42 -0500 MohanReddy koppula wrote: > Hi All, > > I am working on an MPC885 based custom board. I am able to boot up the > linux (linux-2.6.33.7). I could see busybox shell (ash) prompt. But it > is not accepting any inputs, I am not able to enter any command, it > just

[patch 1/2] macintosh: wrong test in fan_{read,write}_reg()

2011-01-18 Thread akpm
From: roel kluin Fix error test in fan_{read,write}_reg() Signed-off-by: Roel Kluin Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton --- drivers/macintosh/therm_pm72.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/macintosh/therm_pm72.c~macintosh-wr

[patch 2/2] spufs: use simple_write_to_buffer()

2011-01-18 Thread akpm
From: Akinobu Mita Simplify several write fileoperations for spufs by using simple_write_to_buffer(). Signed-off-by: Akinobu Mita Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Jeremy Kerr Acked-by: Arnd Bergmann Signed-off-by: Andrew Morton --- arch/powerpc/platforms/cell/spufs/file.

Re: [patch 1/2] macintosh: wrong test in fan_{read,write}_reg()

2011-01-18 Thread Benjamin Herrenschmidt
On Tue, 2011-01-18 at 13:09 -0800, a...@linux-foundation.org wrote: > From: roel kluin > > Fix error test in fan_{read,write}_reg() Thanks, I'll pick that up. Cheers, Ben. > Signed-off-by: Roel Kluin > Cc: Benjamin Herrenschmidt > Signed-off-by: Andrew Morton > --- > > drivers/macintosh/t

Re: [patch 2/2] spufs: use simple_write_to_buffer()

2011-01-18 Thread Benjamin Herrenschmidt
On Tue, 2011-01-18 at 13:09 -0800, a...@linux-foundation.org wrote: > From: Akinobu Mita > > Simplify several write fileoperations for spufs by using > simple_write_to_buffer(). I'll pick that one up too. Cheers, Ben. > Signed-off-by: Akinobu Mita > Cc: Benjamin Herrenschmidt > Cc: Paul Mack

Re: 2.6.37-git17 virtual IO boot failure

2011-01-18 Thread Nishanth Aravamudan
On 18.01.2011 [12:31:52 +1100], Anton Blanchard wrote: > Hi, > > I was testing 2.6.37-git17 on a POWER7 with virtual IO and hit this: > > Trying to unpack rootfs image as initramfs... > Freeing initrd memory: 7446k freed > vio 3000: Warning: IOMMU dma not supported: mask > 0x,

Re: 2.6.37-git17 virtual IO boot failure

2011-01-18 Thread Nishanth Aravamudan
On 18.01.2011 [14:47:18 -0800], Nishanth Aravamudan wrote: > On 18.01.2011 [12:31:52 +1100], Anton Blanchard wrote: > > Hi, > > > > I was testing 2.6.37-git17 on a POWER7 with virtual IO and hit this: > > > > Trying to unpack rootfs image as initramfs... > > Freeing initrd memory: 7446k freed > >

Re: [PATCH #upstream-fixes] pata_mpc52xx: inherit from ata_bmdma_port_ops

2011-01-18 Thread Jeff Garzik
On 01/09/2011 05:48 PM, Tejun Heo wrote: pata_mpc52xx supports BMDMA but inherits ata_sff_port_ops which triggers BUG_ON() when a DMA command is issued. Fix it. Signed-off-by: Tejun Heo Reported-by: Roman Fietze Cc: Sergei Shtylyov Cc: sta...@kernel.org --- drivers/ata/pata_mpc52xx.c |2 +

Re: [PATCH] ATA: Add FSL sata v2 controller support

2011-01-18 Thread Jeff Garzik
On 01/17/2011 06:47 AM, Sergei Shtylyov wrote: Hello. On 17-01-2011 10:10, Xulei wrote: In FSL sata v2 block, the snoop bit of PRDT Word3 description information is at bit28 instead of bit22. This patch adds FSL sata v2 probe and resolve this difference. Signed-off-by: Xulei AFAIK, fu

[PATCH V7 00/10] Add-Synopsys-DesignWare-HS-USB-OTG-driver

2011-01-18 Thread tmarri
From: Tirumala Marri v7: 1. Fix sparse tool warnings. 2. Fix checkpatch errors and warnings. 3. Rename USB_OTG config variable to USB_DWC_CONFIG v6: 1. Replaced register definitions and bit fields with macros. 2. Replace printks with dev_dbg or dev_err functions. 3. Cleanup some assignment

[PATCH V7 01/10] USB/ppc4xx: Add Synopsys DWC OTG Register definitions

2011-01-18 Thread tmarri
From: Tirumala Marri Add Synopsys Design Ware core register definitions. Signed-off-by: Tirumala R Marri Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc_otg/dwc_otg_regs.h | 1325 1 files changed, 1325 insertions(+), 0 deletion

[PATCH V7 05/10] USB/ppc4xx: Add Synopsys DWC OTG HCD interrupt function

2011-01-18 Thread tmarri
From: Tirumala Marri Implements DWC OTG USB HCD interrupt service routine. Signed-off-by: Tirumala R Marri Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc_otg/dwc_otg_hcd_intr.c | 1477 1 files changed, 1477 insertions(+), 0 deleti

[PATCH V7 02/10] USB/ppc4xx: Add Synopsys DWC OTG driver framework

2011-01-18 Thread tmarri
From: Tirumala Marri Platform probing is in dwc_otg_apmppc.c. Driver parameter and parameter checking are in dwc_otg_param.c. Signed-off-by: Tirumala R Marri Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc_otg/dwc_otg_apmppc.c | 414 ++

[PATCH V7 06/10] USB/ppc4xx: Add Synopsys DWC OTG HCD queue function

2011-01-18 Thread tmarri
From: Tirumala Marri Implements functions to manage Queue Heads and Queue Transfer Descriptors of DWC USB OTG Controller. Signed-off-by: Tirumala R Marri Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc_otg/dwc_otg_hcd_queue.c | 696 +++

[PATCH V7 07/10] USB/ppc4xx: Add Synopsys DWC OTG PCD function

2011-01-18 Thread tmarri
From: Tirumala Marri The PCD is responsible for translating requests from the gadget driver to appropriate actions on the DWC OTG controller. Signed-off-by: Tirumala R Marri Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc_otg/dwc_otg_pcd.c | 1752 +

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

2011-01-18 Thread tmarri
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 |9 + 2 files changed, 31 insertions(+), 0 del

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

2011-01-18 Thread tmarri
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-off-by: Tirumala R Marri Signed-off-by

Re: 2.6.37-git17 virtual IO boot failure

2011-01-18 Thread Benjamin Herrenschmidt
On Tue, 2011-01-18 at 14:47 -0800, Nishanth Aravamudan wrote: > On 18.01.2011 [12:31:52 +1100], Anton Blanchard wrote: > > Hi, > > > > I was testing 2.6.37-git17 on a POWER7 with virtual IO and hit this: > > > > Trying to unpack rootfs image as initramfs... > > Freeing initrd memory: 7446k freed

Re: 2.6.37-git17 virtual IO boot failure

2011-01-18 Thread Nishanth Aravamudan
On 19.01.2011 [15:06:20 +1100], Benjamin Herrenschmidt wrote: > On Tue, 2011-01-18 at 14:47 -0800, Nishanth Aravamudan wrote: > > On 18.01.2011 [12:31:52 +1100], Anton Blanchard wrote: > > > Hi, > > > > > > I was testing 2.6.37-git17 on a POWER7 with virtual IO and hit this: > > > > > > Trying to

Re: 2.6.37-git17 virtual IO boot failure

2011-01-18 Thread Benjamin Herrenschmidt
On Tue, 2011-01-18 at 20:37 -0800, Nishanth Aravamudan wrote: > Is this what you were looking for? > > vio 3000: Warning: IOMMU dma not supported: mask 0x, > table unavailable > vio 3000: Path: /vdevice/vty@3000 > vio 4000: Warning: IOMMU dma not supported: mask 0xfff

Re: Problem with Busybox shell

2011-01-18 Thread MohanReddy koppula
But, if there is any problem with cable I could not have seen any character in the interrupt routine of the driver. I turned off both software and hardware flow control as by board doesn't have hardware flow control. tty_read is called and it hangs at ldisc->read. And I see that data is put into th

Re: Problem with Busybox shell

2011-01-18 Thread tiejun.chen
MohanReddy koppula wrote: > But, if there is any problem with cable I could not have seen any > character in the interrupt routine of the driver. I turned off both I suppose the bootloader, i.e u-boot, works well so looks this should not be issued by the cable at least. > software and hardware fl

Re: 2.6.37-git17 virtual IO boot failure

2011-01-18 Thread Benjamin Herrenschmidt
On Tue, 2011-01-18 at 16:48 -0800, Nishanth Aravamudan wrote: > > Ben, if you're ok with waiting to see if Milton or Sonny have any > ideas, > I'd like to hold off on asking for a revert. In the case they do, I'll > be able to test and send out any proposed fix rapidly. I don't believe this spec

Re: [PATCH] ATA: Add FSL sata v2 controller support

2011-01-18 Thread Kumar Gala
On Jan 18, 2011, at 7:10 PM, Jeff Garzik wrote: > On 01/17/2011 06:47 AM, Sergei Shtylyov wrote: >> Hello. >> >> On 17-01-2011 10:10, Xulei wrote: >> >>> In FSL sata v2 block, the snoop bit of PRDT Word3 description >>> information is at bit28 instead of bit22. >> >>> This patch adds FSL sata