[GIT PULL] dma mapping fixes for 5.3-rc

From: Christoph Hellwig
Date: Wed Aug 14 2019 - 10:12:22 EST


The following changes since commit 451577f3e3a9bf1861218641dbbf98e214e77851:

Merge tag 'kbuild-fixes-v5.3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild (2019-08-09 20:31:04 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 33dcb37cef741294b481f4d889a465b8091f11bf:

dma-mapping: fix page attributes for dma_mmap_* (2019-08-10 19:52:45 +0200)

----------------------------------------------------------------
dma-mapping fixes for 5.3-rc

- fix the handling of the bus_dma_mask in dma_get_required_mask, which
caused a regression in this merge window (Lucas Stach)
- fix a regression in the handling of DMA_ATTR_NO_KERNEL_MAPPING (me)
- fix dma_mmap_coherent to not cause page attribute mismatches on
coherent architectures like x86 (me)

----------------------------------------------------------------
Christoph Hellwig (2):
dma-direct: fix DMA_ATTR_NO_KERNEL_MAPPING
dma-mapping: fix page attributes for dma_mmap_*

Lucas Stach (1):
dma-direct: don't truncate dma_required_mask to bus addressing capabilities

arch/arm/mm/dma-mapping.c | 4 +---
arch/arm64/mm/dma-mapping.c | 4 +---
arch/powerpc/Kconfig | 1 -
arch/powerpc/kernel/Makefile | 3 +--
arch/powerpc/kernel/dma-common.c | 17 -----------------
drivers/iommu/dma-iommu.c | 6 +++---
include/linux/dma-noncoherent.h | 13 +++++++++----
kernel/dma/direct.c | 10 +++++-----
kernel/dma/mapping.c | 19 ++++++++++++++++++-
kernel/dma/remap.c | 2 +-
10 files changed, 39 insertions(+), 40 deletions(-)
delete mode 100644 arch/powerpc/kernel/dma-common.c