RE: AW: PowerPC PCI DMA issues (prefetch/coherency?)

2009-09-10 Thread Pravin Bathija
> Tom Burns wrote > Hi, > > Thank you everyone for your help. > > I've been looking into the other dma/pci API calls (dma_alloc_coherent, > pci_alloc_consistent). I don't see how either of these return memory > mapped to a TLB with the I bit set to 1 in kernel 2.6.24. In our > kernel > code, t

RE: AW: PowerPC PCI DMA issues (prefetch/coherency?)

2009-09-10 Thread Pravin Bathija
> Stefan Roese wrote: > Correct. IIRC, some PATA driver as Pravin already mentioned. > Cheers, > Stefan Thanks Stefan. The whole intention of the patch/hack (or whatever one might call it :) ) was to avoid rogue drivers from setting pci_cache_line_size to non-zero value even though the underly

RE: AW: PowerPC PCI DMA issues (prefetch/coherency?)

2009-09-11 Thread Pravin Bathija
2009-09-10 at 22:35 -0700, Pravin Bathija wrote: > Thanks Stefan. The whole intention of the patch/hack (or whatever one > might call it :) ) was to avoid rogue drivers from setting > pci_cache_line_size to non-zero value even though the underlying > hardware doesn't support MRM c

RE: [PATCH] [SCSI] mpt fusion: Fix 32 bit platforms with 64 bit resources.

2009-11-05 Thread Pravin Bathija
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Thursday, November 05, 2009 12:00 PM > To: James Bottomley > Cc: Josh Boyer; eric.mo...@lsi.com; Pravin Bathija; linux- > s...@vger.kernel.org; linuxppc-...@ozlabs.org >

RE: [PATCH] [SCSI] mpt fusion: Fix 32 bit platforms with 64 bit resources.

2009-11-05 Thread Pravin Bathija
-Original Message- From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] Sent: Thu 11/5/2009 12:00 PM To: James Bottomley Cc: Josh Boyer; eric.mo...@lsi.com; Pravin Bathija; linux-s...@vger.kernel.org; linuxppc-...@ozlabs.org Subject: Re: [PATCH] [SCSI] mpt fusion: Fix 32 bit

[PATCH] [PPC4xx] Fix device tree dts file for katmai board.

2009-11-23 Thread Pravin Bathija
Description: Set PCI-E node inbound DMA ranges size to 4GB for correct boot up of katmai. Including only changes for PCI-E DMA ranges as suggested by Stefan. Signed-off-by: Pravin Bathija Acked-by: Feng Kan Acked-by: Prodyut Hazarika Acked-by: Loc Ho Acked-by: Tirumala Reddy Marri Acked

[PATCH] [SCSI] mpt fusion: Fix 32 bit platforms with 64 bit resources.

2009-12-02 Thread Pravin Bathija
which is 64-bit. The driver has been tested, the disks get discovered correctly and can do IO. Signed-off-by: Pravin Bathija Acked-by: Feng Kan Acked-by: Fushen Chen Acked-by: Loc Ho Acked-by: Tirumala Reddy Marri Acked-by: Victor Gallardo --- drivers/message/fusion/mptbase.c |2

RE: [PATCH] [SCSI] mpt fusion: Fix 32 bit platforms with 64 bit resources.

2009-12-03 Thread Pravin Bathija
Hi Wolfgang, > -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Thursday, December 03, 2009 12:56 AM > To: Pravin Bathija; Benjamin Herrenschmidt; Desai, Kashyap > Cc: linux-s...@vger.kernel.org; linuxppc-...@ozlabs.org; > eric.mo...@lsi.com >

RE: 440SPe/Katmai PCIe problems

2010-05-11 Thread Pravin Bathija
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Tuesday, May 11, 2010 8:03 PM > To: Stefan Roese > Cc: linuxppc-dev; Pravin Bathija > Subject: Re: 440SPe/Katmai PCIe problems > > On Wed, 2010-05-12 at 12:40 +1000, Benj