Speed up SPI simplex transfers on Raspberry Pi
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest10 patches 7 repliesIn review
Changes since v2 from the cover letter
* Patch [03/10]: Round up struct spi_controller to cacheline size instead of putting it behind the driver-private data. (Mark Brown)
* Move patch "spi: bcm2835: Work around DONE bit erratum" to the front of the series to ease backporting to stable. (Mark Brown) (I don't think it's necessary to backport it, hence it's not marked for stable, but it might be autoselected by Sasha Levin's AI.)
* Add all collected Acked-by and Tested-by tags, rebase on for-5.4.
Patches in v2 No applies recorded yet
Reviews trailers per patch
9 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Nuno Sá | Noralf Trønnes | Stefan Wahren | Martin Sperl | Vinod Koul |
|---|---|---|---|---|---|
| 1/10 | T-b | T-b | A-b | A-b | A-b |
| 2/10 | T-b | T-b | A-b | A-b | A-b |
| 3/10 | |||||
| 4/10 | T-b | T-b | A-b | A-b | |
| 5/10 | T-b | T-b | A-b | A-b | |
| 6/10 | T-b | T-b | A-b | A-b | |
| 7/10 | T-b | T-b | A-b | A-b | |
| 8/10 | T-b | T-b | A-b | A-b | A-b |
| 9/10 | T-b | T-b | A-b | A-b | A-b |
| 10/10 | T-b | T-b | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v2 00/10] Speed up SPI simplex transfers on Raspberry Pi
Extend the BCM2835 SPI driver to handle simplex transfers internally, thereby reducing their latency and CPU usage and obviating the need to have the SPI core convert to full-duplex via SPI_CONTROLLER_MUST_TX/RX.
Changes since v2:
* Patch [03/10]: Round up struct spi_controller to cacheline size instead of putting it behind the driver-private data. (Mark Brown)
* Move patch "spi: bcm2835: Work around DONE bit erratum" to the front of the series to ease backporting to stable. (Mark Brown) (I don't think it's necessary to backport it, hence it's not marked for stable, but it might be autoselected by Sasha Levin's AI.)
* Add all collected Acked-by and Tested-by tags, rebase on for-5.4.
Link to v1:
https://lore.kernel.org/dmaengine/[email protected]/T/#t
Lukas Wunner (10):
dmaengine: bcm2835: Allow reusable descriptors
dmaengine: bcm2835: Allow cyclic transactions without interrupt
spi: Guarantee cacheline alignment of driver-private data
spi: bcm2835: Work around DONE bit erratum
spi: bcm2835: Drop dma_pending flag
spi: bcm2835: Cache CS register value for ->prepare_message()
spi: bcm2835: Speed up TX-only DMA transfers by clearing RX FIFO
dmaengine: bcm2835: Document struct bcm2835_dmadev
dmaengine: bcm2835: Avoid accessing memory when copying zeroes
spi: bcm2835: Speed up RX-only DMA transfers by zero-filling TX FIFO
drivers/dma/bcm2835-dma.c | 38 +++- drivers/spi/spi-bcm2835.c | 407 +++++++++++++++++++++++++++++++------- drivers/spi/spi.c | 11 +- 3 files changed, 384 insertions(+), 72 deletions(-)
Signature · 1 line
2.23.0