[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190720172911.GA11099@infradead.org>
Date: Sat, 20 Jul 2019 19:29:11 +0200
From: Christoph Hellwig <hch@...radead.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: [GIT PULL] dma-mapping fixes for 5.3
The following changes since commit 9637d517347e80ee2fe1c5d8ce45ba1b88d8b5cd:
Merge tag 'for-linus-20190715' of git://git.kernel.dk/linux-block (2019-07-15 21:20:52 -0700)
are available in the Git repository at:
git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-5.3-1
for you to fetch changes up to 449fa54d6815be8c2c1f68fa9dbbae9384a7c03e:
dma-direct: correct the physical addr in dma_direct_sync_sg_for_cpu/device (2019-07-19 14:09:40 +0200)
----------------------------------------------------------------
dma-mapping fixes for 5.3-rc1
Fix various regressions:
- force unencrypted dma-coherent buffers if encryption bit can't fit
into the dma coherent mask (Tom Lendacky)
- avoid limiting request size if swiotlb is not used (me)
- fix swiotlb handling in dma_direct_sync_sg_for_cpu/device
(Fugang Duan)
----------------------------------------------------------------
Christoph Hellwig (2):
dma-mapping: add a dma_addressing_limited helper
dma-direct: only limit the mapping size if swiotlb could be used
Fugang Duan (1):
dma-direct: correct the physical addr in dma_direct_sync_sg_for_cpu/device
Tom Lendacky (1):
dma-direct: Force unencrypted DMA under SME for certain DMA masks
arch/s390/Kconfig | 1 +
arch/s390/mm/init.c | 7 ++++++-
arch/x86/Kconfig | 1 +
arch/x86/mm/mem_encrypt.c | 30 ++++++++++++++++++++++++++++++
include/linux/dma-direct.h | 9 +++++++++
include/linux/dma-mapping.h | 14 ++++++++++++++
kernel/dma/Kconfig | 3 +++
kernel/dma/direct.c | 44 +++++++++++++++++++-------------------------
8 files changed, 83 insertions(+), 26 deletions(-)
Powered by blists - more mailing lists