diff options
author | Christoph Hellwig | 2018-09-22 20:47:26 +0200 |
---|---|---|
committer | Christoph Hellwig | 2018-12-01 17:56:08 +0100 |
commit | 704f2c20eaa566f6906e8812b6e2115889bd753d (patch) | |
tree | 034ad1e559756ddeb333662819a4439a6f817196 /arch/arm64 | |
parent | dma-direct: provide page based alloc/free helpers (diff) | |
download | kernel-qcow2-linux-704f2c20eaa566f6906e8812b6e2115889bd753d.tar.gz kernel-qcow2-linux-704f2c20eaa566f6906e8812b6e2115889bd753d.tar.xz kernel-qcow2-linux-704f2c20eaa566f6906e8812b6e2115889bd753d.zip |
dma-direct: reject highmem pages from dma_alloc_from_contiguous
dma_alloc_from_contiguous can return highmem pages depending on the
setup, which a plain non-remapping DMA allocator can't handle. Detect
this case and fail the allocation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions