dma-mapping: Add cache flush/invalidation to dma_{un}map_single
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/20 of 4 patches 0 repliesNew
- v2 posting 1/24 patches 0 repliesSuperseded
- v14 patches 0 repliesSuperseded
Patches in v2 posting 2/2 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] dma-mapping: Add cache flush/invalidation to dma_{un}map_single
Hi Tom,
Quoted 9 lines · Vignesh Raghavendra
Drivers (especially frameworks ported from Linux such as USB) expect dma_{un}map_single() APIs to take care of cache maintenance. But this is not the case in U-Boot and few drivers take care of flushing caches locally. Instead add flush/invalidate calls to DMA APIs in arch specific
dma-mapping.hfile so that per driver implementation of these APIs can be avoided.travis-ci is green: https://travis-ci.org/r-vignesh/u-boot/builds/637784160
Gentle ping...
Quoted 19 lines
v2:
Fix compilation failure on AM335x etc due to recent U-Boot changes Collect R-bysVignesh Raghavendra (4):
asm:dma-mapping.h: Fix dma mapping functions
mmc: tmio-common: Drop custom dma mapping functions
mtd: denali: Drop custom dma mapping functions
net: macb: Drop local cache flusharch/arm/include/asm/dma-mapping.h | 23 ++++++++++++++++-- arch/nds32/include/asm/dma-mapping.h | 23 ++++++++++++++++-- arch/riscv/include/asm/dma-mapping.h | 23 ++++++++++++++++-- arch/x86/include/asm/dma-mapping.h | 23 ++++++++++++++++-- drivers/mmc/tmio-common.c | 25 +++----------------- drivers/mtd/nand/raw/denali.c | 35 +++------------------------- drivers/net/macb.c | 4 +--- 7 files changed, 91 insertions(+), 65 deletions(-)
Signature · 2 lines
Regards Vignesh