Christoph Hellwig 7a360df941 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>
2023-10-22 16:38:55 +02:00
..
2023-09-05 11:01:47 -07:00
2023-09-04 15:38:24 -07:00
2023-10-16 18:34:17 -07:00
2023-09-01 08:02:45 -07:00
2023-08-31 12:20:12 -07:00
2023-09-05 10:15:22 -07:00
2023-08-31 12:20:12 -07:00
2023-09-05 10:09:31 -07:00
2023-10-15 08:48:53 -07:00
2023-10-13 09:17:48 -07:00
2023-10-16 18:34:17 -07:00
2023-10-16 18:34:17 -07:00
2023-08-31 12:20:12 -07:00