Christoph Hellwig 8e3a68fb55 dma-mapping: make dma_atomic_pool_init self-contained
The memory allocated for the atomic pool needs to have the same
mapping attributes that we use for remapping, so use
pgprot_dmacoherent instead of open coding it.  Also deduct a
suitable zone to allocate the memory from based on the presence
of the DMA zones.

Signed-off-by: Christoph Hellwig <hch@lst.de>
2019-08-29 16:43:33 +02:00
..
2019-07-19 12:15:33 -07:00
2019-07-19 12:15:33 -07:00
2018-10-25 23:36:19 +08:00
2019-07-19 12:15:33 -07:00
2019-07-19 14:21:36 +08:00