linux DMA capabilities in MV64460

2006-03-09 Thread Phil Nitschke
On Wed, 2006-03-08 at 22:36 +, Adrian Cox wrote: > On Mon, 2006-03-06 at 14:39 +1030, Phil Nitschke wrote: > > How is a DMA controlled (from a device driver writer's perspective) when > > a third-party (i.e. in the bridge) DMA controller needs to do the work > > to get the data from a PCI Targe

linux DMA capabilities in MV64460

2006-03-09 Thread Phil Nitschke
> "BW" == Brian Waite writes: >> I'm now looking seriously (and reluctantly!) at writing a DMA >> Controller Driver to supplement these functions, and I've started >> the process of getting an NDA from Marvell, so I can get their >> User Manual (and errata!). BW> You won't get very

linux DMA capabilities in MV64460

2006-03-08 Thread Adrian Cox
On Mon, 2006-03-06 at 14:39 +1030, Phil Nitschke wrote: > How is a DMA controlled (from a device driver writer's perspective) when > a third-party (i.e. in the bridge) DMA controller needs to do the work > to get the data from a PCI Target into main memory? > > What kernel API should be provided b

linux DMA capabilities in MV64460

2006-03-06 Thread Phil Nitschke
> "MAG" == Mark A Greer writes: MAG> On Tue, Dec 20, 2005 at 10:49:58AM +1030, Phil Nitschke wrote: >> ... if I wanted to suck the data into main memory using the mv64460 >> IDMA controller (assuming the device couldn't initiate its own >> burst writes), is there a standard kernel in

linux DMA capabilities in MV64460

2006-03-06 Thread Brian Waite
> I'm now looking seriously (and reluctantly!) at writing a DMA Controller > Driver to supplement these functions, and I've started the process of > getting an NDA from Marvell, so I can get their User Manual (and errata!). > You won't get very far without the user manual, then I think you will fin

linux DMA capabilities in MV64460

2005-12-22 Thread Phil Nitschke
> "MAG" == Mark A Greer writes: MAG> Hi Phil, MAG> [Note: I'm cc'ing linuxppc-embedded for others to reference and to MAG> add their thoughts.] OK, I've just subscribed... MAG> On Tue, Dec 20, 2005 at 10:49:58AM +1030, Phil Nitschke wrote: >> Hi Mark, >> >> I'm developing a de

linux DMA capabilities in MV64460

2005-12-22 Thread KokHow Teh
>Currently there is a 2M aperture on the device, but it is not being seen >as "prefetchable", so when I try to get data from the device using >repetitive reads, they are very slow. Hence my efforts to get DMA >happening. >Presumably the CPU/bridge discovers PCI device memory regions during bus

linux DMA capabilities in MV64460

2005-12-20 Thread Mark A. Greer
On Tue, Dec 20, 2005 at 09:27:35AM -0500, Brian Waite wrote: > On Monday 19 December 2005 8:01 pm, Mark A. Greer wrote: > > > > > > up the mv64460. One source told me: > > > > In order to do PCI bursts, you'll need to use a DMA engine. The > > > > MV64460 does contain a DMA engine, but you'd

linux DMA capabilities in MV64460

2005-12-20 Thread Brian Waite
On Monday 19 December 2005 8:01 pm, Mark A. Greer wrote: > > > > up the mv64460. One source told me: > > > In order to do PCI bursts, you'll need to use a DMA engine. The > > > MV64460 does contain a DMA engine, but you'd need to write a driver > > > to access it. > > That is not correct (a

linux DMA capabilities in MV64460

2005-12-19 Thread Mark A. Greer
Hi Phil, [Note: I'm cc'ing linuxppc-embedded for others to reference and to add their thoughts.] --- On Tue, Dec 20, 2005 at 10:49:58AM +1030, Phil Nitschke wrote: > Hi Mark, > > I'm developing a device driver to run in the 2.6.10 kernel. I want to That's a pretty old kernel. Do you have the