Re: [GIT PULL] dma-mapping updates for 5.3

2019-07-12 Thread pr-tracker-bot
The pull request you sent on Thu, 11 Jul 2019 15:56:54 +0200:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9e3a25dc992dd9f3170fb643bdd95da5ca9c5576

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu


[GIT PULL] dma-mapping updates for 5.3

2019-07-11 Thread Christoph Hellwig
Hi Linus,

please pull the dma-mapping update below.  Note that the tree is based
on an branch from Joergs iommu tree that you have pulled earlier this
week.

There are a few of the usual Kconfig conflicts where different trees
touch the same area, but not the same symbols, just take the changes
from both tree in that case (none of them is in your tree yet as of
this time).

In addition there is a conflict in genalloc.h against mainline where
late patches in the 5.2 cycle added a new gen_pool_free_owner function
and made gen_pool_free a wrapper around it.  This tree adds new
helpers right next to it, the fix is again to take both changes
manually.  Bonous points for keeping all the alloc functions above
the free ones to keep the file ordering, unlike the default git
presentation.


The following changes since commit 1b961423158caaae49d3900b7c9c37477bbfa9b3:

  iommu/dma: Fix condition check in iommu_dma_unmap_sg (2019-06-03 12:14:51 
+0200)

are available in the Git repository at:

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

for you to fetch changes up to 15ffe5e1acf5fe1512e98b20702e46ce9f25e2f7:

  dma-mapping: mark dma_alloc_need_uncached as __always_inline (2019-07-08 
14:19:33 -0700)


dma-mapping updates for Linux 5.3

 - move the USB special case that bounced DMA through a device
   bar into the USB code instead of handling it in the common
   DMA code (Laurentiu Tudor and Fredrik Noring)
 - don't dip into the global CMA pool for single page allocations
   (Nicolin Chen)
 - fix a crash when allocating memory for the atomic pool failed
   during boot (Florian Fainelli)
 - move support for MIPS-style uncached segments to the common
   code and use that for MIPS and nios2 (me)
 - make support for DMA_ATTR_NON_CONSISTENT and
   DMA_ATTR_NO_KERNEL_MAPPING generic (me)
 - convert nds32 to the generic remapping allocator (me)


Christoph Hellwig (17):
  MIPS: remove the _dma_cache_wback_inv export
  au1100fb: fix DMA API abuse
  dma-direct: provide generic support for uncached kernel segments
  MIPS: use the generic uncached segment support in dma-direct
  dma-mapping: truncate dma masks to what dma_addr_t can hold
  ARM: dma-mapping: allow larger DMA mask than supported
  arm-nommu: remove the partial DMA_ATTR_NON_CONSISTENT support
  arc: remove the partial DMA_ATTR_NON_CONSISTENT support
  openrisc: remove the partial DMA_ATTR_NON_CONSISTENT support
  dma-mapping: add a dma_alloc_need_uncached helper
  dma-direct: handle DMA_ATTR_NON_CONSISTENT in common code
  dma-direct: handle DMA_ATTR_NO_KERNEL_MAPPING in common code
  arc: use the generic remapping allocator for coherent DMA allocations
  nds32: use the generic remapping allocator for coherent DMA allocations
  nios2: use the generic uncached segment support in dma-direct
  MIPS: only select ARCH_HAS_UNCACHED_SEGMENT for non-coherent platforms
  dma-mapping: mark dma_alloc_need_uncached as __always_inline

Florian Fainelli (1):
  dma-remap: Avoid de-referencing NULL atomic_pool

Fredrik Noring (3):
  lib/genalloc: add gen_pool_dma_zalloc() for zeroed DMA allocations
  lib/genalloc.c: Add algorithm, align and zeroed family of DMA allocators
  usb: host: Fix excessive alignment restriction for local memory 
allocations

Laurentiu Tudor (4):
  USB: use genalloc for USB HCs with local memory
  usb: host: ohci-sm501: init genalloc for local memory
  usb: host: ohci-tmio: init genalloc for local memory
  USB: drop HCD_LOCAL_MEM flag

Nicolin Chen (4):
  dma-contiguous: add dma_{alloc,free}_contiguous() helpers
  dma-contiguous: use fallback alloc_pages for single pages
  dma-contiguous: fix !CONFIG_DMA_CMA version of dma_{alloc, 
free}_contiguous()
  iommu/dma: Apply dma_{alloc,free}_contiguous functions

 arch/Kconfig|   8 +
 arch/arc/Kconfig|   2 +
 arch/arc/mm/dma.c   |  71 ++---
 arch/arm/mm/dma-mapping-nommu.c |  24 +--
 arch/arm/mm/dma-mapping.c   |  20 +--
 arch/mips/Kconfig   |   1 +
 arch/mips/include/asm/page.h|   3 -
 arch/mips/jazz/jazzdma.c|   6 -
 arch/mips/mm/cache.c|   2 -
 arch/mips/mm/dma-noncoherent.c  |  26 ++--
 arch/nds32/Kconfig  |   2 +
 arch/nds32/kernel/dma.c | 325 ++--
 arch/nios2/Kconfig  |   1 +
 arch/nios2/include/asm/page.h   |   6 -
 arch/nios2/mm/dma-mapping.c |  34 ++---
 arch/openrisc/kernel/dma.c  |  22 ++-
 arch/parisc/kernel/pci-dma.c|  48 ++
 arch/xtensa/kernel/pci-dma.c|   8 +-
 drivers/iommu/dma-iommu.c   |  14 +-
 drivers/usb/Kconfig |   1 +
 drivers/usb/core/buffer.c   |  17 ++-
 drivers/usb/core/hcd.c  |  51 +--