[GIT PULL] dma-mapping fixes for 5.8

From: Christoph Hellwig
Date: Sat Jun 27 2020 - 03:49:26 EST


The following changes since commit dbed452a078d56bc7f1abecc3edd6a75e8e4484e:

dma-pool: decouple DMA_REMAP from DMA_COHERENT_POOL (2020-06-15 08:35:30 +0200)

are available in the Git repository at:

git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-5.8-4

for you to fetch changes up to 8e36baf97b252cdcafa53589e8227cbb1e85f0b0:

dma-remap: align the size in dma_common_*_remap() (2020-06-23 14:14:41 +0200)

----------------------------------------------------------------
dma-mapping fixes for 5.8:

- fix dma coherent mmap in nommu (me)
- more AMD SEV fallout (David Rientjes, me)
- fix alignment in dma_common_*_remap (Eric Auger)

----------------------------------------------------------------
Christoph Hellwig (3):
dma-direct: re-enable mmap for !CONFIG_MMU
dma-direct: mark __dma_direct_alloc_pages static
dma-mapping: DMA_COHERENT_POOL should select GENERIC_ALLOCATOR

David Rientjes (4):
dma-direct: always align allocation size in dma_direct_alloc_pages()
dma-direct: re-encrypt memory if dma_direct_alloc_pages() fails
dma-direct: check return value when encrypting or decrypting memory
dma-direct: add missing set_memory_decrypted() for coherent mapping

Eric Auger (1):
dma-remap: align the size in dma_common_*_remap()

include/linux/dma-direct.h | 2 --
kernel/dma/Kconfig | 3 ++-
kernel/dma/direct.c | 59 ++++++++++++++++++++++++++--------------------
kernel/dma/remap.c | 5 ++--
4 files changed, 39 insertions(+), 30 deletions(-)