Re: How to hook dma_request_chan?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mason <slash.tmp@xxxxxxx> writes:

> On 17/11/2016 14:05, Måns Rullgård wrote:
>
>> I don't see why the sbox needs to be configured first.  It's just a
>> crossbar switch, and until something starts actually issuing requests,
>> it shouldn't matter how it is connected.
>
> If the NAND controller starts sending to an uninitialized SBOX,
> then (IIUC) some bits are lost forever (black-holed).

That's expected.  Don't do that.

> So "NAND, SBOX, MBUS" cannot work.
>
> "SBOX, MBUS, NAND" should work, but it doesn't.
>
> "SBOX, NAND, MBUS" works.
>
> Perhaps there is a better solution than making a channel exclusive
> to a client. Do you have a suggestion?

First figure out exactly what the hardware requires.  How did the
hardware designers expect it to be used?

-- 
Måns Rullgård
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux