RFC: switch to use the generic remapping dma-allocator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

currently parisc has it's own implementation of the dma-coherent
allocator that sets up PTEs with the uncached bit.  I can't see any
reason why using vmap to do the same kind of setup shouldn't work.
This small series shows how that could work, but due to a lack of
actual parisc hardware it is compile tested only and not only needs
a careful review but also actual testing on hardware.

Diffstat:
 arch/parisc/Kconfig               |    4 
 arch/parisc/include/asm/pgtable.h |    1 
 arch/parisc/kernel/pci-dma.c      |  446 +-------------------------------------
 include/linux/dma-map-ops.h       |    1 
 kernel/dma/Kconfig                |    3 
 kernel/dma/direct.c               |    4 
 6 files changed, 24 insertions(+), 435 deletions(-)



[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux