projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d37c09
)
dma-direct: mark as is_phys
author
Christoph Hellwig
<hch@lst.de>
Fri, 2 Feb 2018 08:21:07 +0000
(09:21 +0100)
committer
Christoph Hellwig
<hch@lst.de>
Mon, 12 Feb 2018 15:59:06 +0000
(15:59 +0000)
Various PCI_DMA_BUS_IS_PHYS implementations rely on this flag to make proper
decisions for block and networking addressability.
Signed-off-by: Christoph Hellwig <hch@lst.de>
lib/dma-direct.c
patch
|
blob
|
history
diff --git
a/lib/dma-direct.c
b/lib/dma-direct.c
index 40b1f92f2214e8de08109b70ef4f999346b20b99..fdc733cf9e30a9239bf5bd497e383502081c4418 100644
(file)
--- a/
lib/dma-direct.c
+++ b/
lib/dma-direct.c
@@
-152,5
+152,6
@@
const struct dma_map_ops dma_direct_ops = {
.map_sg = dma_direct_map_sg,
.dma_supported = dma_direct_supported,
.mapping_error = dma_direct_mapping_error,
+ .is_phys = 1,
};
EXPORT_SYMBOL(dma_direct_ops);