Skip to content

arm64: mm: Fix cache maintenance for non-coherent streaming DMA

Will Deacon linux-arm-kernel stable 1 version Applied

Status from this message: Applied to arm64 (for-next/fixes), thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2arm64: mm: Don't invalidate FROM_DEVICE buffers at start of DMA transferarch/arm64/mm/cache.S+0 -20 replies
2/2arm64: mm: Remove assembly DMA cache maintenance wrappersarch/arm64/include/asm/cacheflush.h arch/arm64/mm/cache.S arch/arm64/mm/dma-mapping.c+14 -532 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchArd BiesheuvelCatalin Marinas
SeriesR-b
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] arm64: mm: Fix cache maintenance for non-coherent streaming DMA

Hi all,

This pair of patches follows-up on the discussion we had on linux-arch earlier this week and addresses the reported problem for arm64 only.

Other architectures should be able to do something similar if they wish, but this all came out of discussion and code inspection rather than a concrete failure.

Cheers,

Will

Cc Ard Biesheuvel <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Robin Murphy <[email protected]>
Cc Russell King <[email protected]>

--->8

Will Deacon (2):
arm64: mm: Don't invalidate FROM_DEVICE buffers at start of DMA
transfer
arm64: mm: Remove assembly DMA cache maintenance wrappers

 arch/arm64/include/asm/cacheflush.h |  7 -----
 arch/arm64/mm/cache.S               | 43 -----------------------------
 arch/arm64/mm/dma-mapping.c         | 19 +++++++++----
 3 files changed, 14 insertions(+), 55 deletions(-)
Signature · 7 lines
2.36.1.476.g0c4daa206d-goog


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel