mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-05-02 18:15:03 -04:00
dma-mapping: add (back) arch_dma_mark_clean for ia64
Add back a hook to optimize dcache flushing after reading executable code using DMA. This gets ia64 out of the business of pretending to be dma incoherent just for this optimization. Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -44,6 +44,12 @@ config ARCH_HAS_DMA_SET_MASK
|
||||
config ARCH_HAS_DMA_WRITE_COMBINE
|
||||
bool
|
||||
|
||||
#
|
||||
# Select if the architectures provides the arch_dma_mark_clean hook
|
||||
#
|
||||
config ARCH_HAS_DMA_MARK_CLEAN
|
||||
bool
|
||||
|
||||
config DMA_DECLARE_COHERENT
|
||||
bool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user