diff options
author | 2023-10-12 09:52:27 +0200 | |
---|---|---|
committer | 2023-10-22 16:38:55 +0200 | |
commit | 7a360df941a4bd60847208de59f1ac8b166265a2 (patch) | |
tree | b7697b7e734e8c0af0d9ed4fac41e4a257d6e176 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: fec: use dma_alloc_noncoherent for data cache enabled coldfire (diff) | |
download | wireguard-linux-7a360df941a4bd60847208de59f1ac8b166265a2.tar.xz wireguard-linux-7a360df941a4bd60847208de59f1ac8b166265a2.zip |
m68k: don't provide arch_dma_alloc for nommu/coldfire
Coldfire cores configured with a data cache can't provide coherent
DMA allocations at all.
Instead of returning non-coherent kernel memory in this case,
return NULL and fail the allocation.
The only driver that used to rely on the previous behavior (fec) has
been switched to use non-coherent allocations for this case recently.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Ungerer <gerg@linux-m68k.org>
Tested-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions