[GIT PULL] dma-mapping updates for 5.8, part 1
From: Christoph Hellwig
Date: Sat Jun 06 2020 - 12:09:18 EST
The following changes since commit ae83d0b416db002fe95601e7f97f64b59514d936:
Linux 5.7-rc2 (2020-04-19 14:35:30 -0700)
are available in the Git repository at:
git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-5.8
for you to fetch changes up to 298f3db6ee690259927b105d5ad1079563361323:
dma-contiguous: fix comment for dma_release_from_contiguous (2020-04-25 13:17:06 +0200)
----------------------------------------------------------------
dma-mapping updates for 5.8, part 1
- enhance the dma pool to allow atomic allocation on x86 with AMD SEV
(David Rientjes)
- two small cleanups (Jason Yan and Peter Collingbourne)
----------------------------------------------------------------
David Rientjes (7):
dma-remap: separate DMA atomic pools from direct remap code
dma-pool: add additional coherent pools to map to gfp mask
dma-pool: dynamically expanding atomic pools
dma-direct: atomic allocations must come from atomic coherent pools
dma-pool: add pool sizes to debugfs
x86/mm: unencrypted non-blocking DMA allocations use coherent pools
dma-pool: scale the default DMA coherent pool size with memory capacity
Jason Yan (1):
dma-debug: make __dma_entry_alloc_check_leak() static
Peter Collingbourne (1):
dma-contiguous: fix comment for dma_release_from_contiguous
arch/x86/Kconfig | 1 +
drivers/iommu/dma-iommu.c | 5 +-
include/linux/dma-direct.h | 2 +
include/linux/dma-mapping.h | 6 +-
kernel/dma/Kconfig | 6 +-
kernel/dma/Makefile | 1 +
kernel/dma/contiguous.c | 4 +-
kernel/dma/debug.c | 2 +-
kernel/dma/direct.c | 56 ++++++++--
kernel/dma/pool.c | 264 ++++++++++++++++++++++++++++++++++++++++++++
kernel/dma/remap.c | 121 +-------------------
11 files changed, 327 insertions(+), 141 deletions(-)
create mode 100644 kernel/dma/pool.c