lkml.org 
[lkml]   [2020]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/2] dma-pool fixes
Date
Now that we have an explanation to Amir's issue, we can re-spin this
series.

---
Changes since v2:
- Go back to v1's behavior for patch #2

Changes since v1:
- Make cma_in_zone() more strict, GFP_KERNEL doesn't default to true
now

- Check if phys_addr_ok() exists prior calling it

Christoph Hellwig (1):
dma-pool: fix coherent pool allocations for IOMMU mappings

Nicolas Saenz Julienne (1):
dma-pool: Only allocate from CMA when in same memory zone

drivers/iommu/dma-iommu.c | 4 +-
include/linux/dma-direct.h | 3 -
include/linux/dma-mapping.h | 5 +-
kernel/dma/direct.c | 13 +++-
kernel/dma/pool.c | 145 +++++++++++++++++++-----------------
5 files changed, 92 insertions(+), 78 deletions(-)

--
2.28.0

\
 
 \ /
  Last update: 2020-08-06 20:50    [W:0.084 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site