diff options
author | Christoph Hellwig <hch@lst.de> | 2021-09-13 18:44:55 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-10-21 13:03:27 +0200 |
commit | 7d6db80b7d264d6af9dc21baafe59f93cc4607c5 (patch) | |
tree | 18e48a955f6f59e8a34c40c2fca2e1fd90ad6b54 /CREDITS | |
parent | 837e80b3a5fc9f5f834e28e108a43ad4dd23dcb7 (diff) | |
download | linux-7d6db80b7d264d6af9dc21baafe59f93cc4607c5.tar.bz2 |
sparc32: use DMA_DIRECT_REMAP
Use the generic dma remapping allocator instead of open coding it.
This also avoids setting up page tables from irq context which is
generally dangerous and uses the atomic pool instead.
Note that this changes the kernel virtual address at which the
dma coherent memory is mapped from the DVMA_VADDR region to the general
vmalloc pool. I could not find any indication that this matters
for the hardware.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions