Takashi Iwai
504a918e67
dma-direct: don't retry allocation for no-op GFP_DMA
...
When an allocation with lower dma_coherent mask fails, dma_direct_alloc()
retries the allocation with GFP_DMA. But, this is useless for
architectures that hav no ZONE_DMA.
Fix it by adding the check of CONFIG_ZONE_DMA before retrying the
allocation.
Fixes: 95f183916d ("dma-direct: retry allocations using GFP_DMA for small masks")
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Signed-off-by: Christoph Hellwig <hch@lst.de >
2018-04-23 14:43:27 +02:00
..
2018-04-07 12:08:19 -07:00
2018-03-26 02:01:27 +09:00
2018-04-05 21:36:21 -07:00
2018-03-14 16:55:29 -07:00
2018-03-09 16:40:01 -08:00
2018-02-06 18:32:44 -08:00
2018-03-14 20:20:01 +01:00
2018-03-15 18:08:55 +01:00
2018-02-22 15:02:33 -08:00
2018-04-23 14:43:27 +02:00
2018-03-15 13:25:36 +01:00
2018-02-06 18:32:44 -08:00
2018-02-06 18:32:44 -08:00
2018-02-26 14:39:30 -05:00
2018-02-04 10:17:21 +00:00
2018-03-22 17:07:01 -07:00
2018-03-21 17:18:34 -05:00
2018-04-11 10:28:35 -07:00
2018-02-06 18:32:47 -08:00
2018-04-11 10:28:35 -07:00
2018-03-27 11:15:42 +02:00
2018-03-27 13:18:09 -04:00
2018-03-15 14:38:55 +01:00
2018-03-26 15:09:38 +02:00
2018-04-11 10:28:35 -07:00
2018-04-12 09:41:19 -07:00
2018-03-21 17:18:34 -05:00
2018-04-11 10:28:35 -07:00
2018-03-19 10:09:44 -07:00
2018-04-11 10:28:39 -07:00
2018-03-31 23:25:39 -04:00
2018-02-28 12:23:35 -07:00
2018-03-30 22:50:15 +02:00
2018-04-13 17:10:28 -07:00
2018-02-06 18:32:44 -08:00
2018-02-01 12:20:21 -08:00
2018-04-15 16:12:35 -07:00
2018-04-11 10:28:35 -07:00
2018-03-29 14:33:29 -04:00
2018-04-05 21:36:27 -07:00
2018-04-11 10:28:32 -07:00
2018-03-09 16:40:02 -08:00
2018-03-07 10:44:03 -05:00
2018-02-06 18:32:45 -08:00
2018-04-11 10:28:35 -07:00
2018-03-26 15:55:57 +02:00
2018-04-16 18:53:13 -04:00
2018-02-06 18:32:46 -08:00
2018-02-06 18:32:46 -08:00
2018-04-11 10:28:33 -07:00