projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca5853
)
dma-mapping: handle DMA_ATTR_CPU_CACHE_CLEAN in trace output
author
Leon Romanovsky
<leonro@nvidia.com>
Mon, 16 Mar 2026 19:06:46 +0000
(21:06 +0200)
committer
Marek Szyprowski
<m.szyprowski@samsung.com>
Fri, 20 Mar 2026 10:33:24 +0000
(11:33 +0100)
Tracing prints decoded DMA attribute flags, but it does not yet
include the recently added DMA_ATTR_CPU_CACHE_CLEAN. Add support
for decoding and displaying this attribute in the trace output.
Fixes:
61868dc55a11
("dma-mapping: add DMA_ATTR_CPU_CACHE_CLEAN")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link:
https://lore.kernel.org/r/20260316-dma-debug-overlap-v3-2-1dde90a7f08b@nvidia.com
include/trace/events/dma.h
patch
|
blob
|
history
diff --git
a/include/trace/events/dma.h
b/include/trace/events/dma.h
index
33e99e7
..
69cb380
100644
(file)
--- a/
include/trace/events/dma.h
+++ b/
include/trace/events/dma.h
@@
-32,7
+32,8
@@
TRACE_DEFINE_ENUM(DMA_NONE);
{ DMA_ATTR_ALLOC_SINGLE_PAGES, "ALLOC_SINGLE_PAGES" }, \
{ DMA_ATTR_NO_WARN, "NO_WARN" }, \
{ DMA_ATTR_PRIVILEGED, "PRIVILEGED" }, \
- { DMA_ATTR_MMIO, "MMIO" })
+ { DMA_ATTR_MMIO, "MMIO" }, \
+ { DMA_ATTR_CPU_CACHE_CLEAN, "CACHE_CLEAN" })
DECLARE_EVENT_CLASS(dma_map,
TP_PROTO(struct device *dev, phys_addr_t phys_addr, dma_addr_t dma_addr,