Skip to contentSkip to conversation

dma-mapping updates for 5.6

GIT PULL Merged Christoph Hellwig 2 participants 2 messages Feb 18, 2020 – Feb 19, 2020

lore
Share & tools
lore
#0 lore raw

The following changes since commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755:

Linux 5.5 (2020-01-26 16:23:03 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 75467ee48a5e04cf3ae3cb39aea6adee73aeff91:

dma-direct: improve DMA mask overflow reporting (2020-02-05 18:53:41 +0100)

----------------------------------------------------------------
dma-mapping fixes for 5.6

- give command line cma= precedence over the CONFIG_ option (Nicolas Saenz Julienne)
- always allow 32-bit DMA, even for weirdly placed ZONE_DMA
- improve the debug printks when memory is not addressable, to help find problems with swiotlb initialization

----------------------------------------------------------------
Christoph Hellwig (3):
dma-direct: relax addressability checks in dma_direct_supported
dma-direct: improve swiotlb error reporting
dma-direct: improve DMA mask overflow reporting

Nicolas Saenz Julienne (1):
dma-contiguous: CMA: give precedence to cmdline

 include/linux/swiotlb.h | 11 +++------
 kernel/dma/contiguous.c |  9 +++++++-
 kernel/dma/direct.c     | 61 ++++++++++++++++++++-----------------------------
 kernel/dma/swiotlb.c    | 42 +++++++++++++++++++---------------
 4 files changed, 59 insertions(+), 64 deletions(-)