[PATCH v4 2/4] spi: Split spi message into max_dma_len size chunks
Mark Brown
broonie at kernel.org
Fri Apr 12 10:22:07 UTC 2019
On Fri, Apr 12, 2019 at 12:03:35PM +0200, kernel at martin.sperl.org wrote:
> > On 12.04.2019, at 11:47, Mark Brown <broonie at kernel.org> wrote:
> >> In a previous version of this I suggested to Meghana to put this in the
> >> driver, but Mark wanted it in the core.
> > If we want to do this at a lower level the DMA code could hide this
> > limitation from the upper layers; presumably the SPI driver isn't the
> > only thing that might run into this.
> For clarification:
> There is a register of the SPI controller where you have to configure the
> number of bytes that it will request via DMA (primarily support transfers
> that are not a multiple of 4 - the data is transferred by DMA as words).
> So it is not really related to the general DMA implementation but to the
> DMA (request) support of the SPI controller.
Ah, I see. That's unfortunate :/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190412/0e85f80a/attachment-0001.sig>
More information about the dri-devel
mailing list