• Linus Torvalds's avatar
    Merge tag 'remove-dma_zalloc_coherent-5.0' of git://git.infradead.org/users/hch/dma-mapping · 66c56cfa
    Linus Torvalds authored
    Pull dma_zalloc_coherent() removal from Christoph Hellwig:
     "We've always had a weird situation around dma_zalloc_coherent. To
      safely support mapping the allocations to userspace major
      architectures like x86 and arm have always zeroed allocations from
      dma_alloc_coherent, but a couple other architectures were missing that
      zeroing either always or in corner cases.
    
      Then later we grew anothe dma_zalloc_coherent interface to explicitly
      request zeroing, but that just added __GFP_ZERO to the allocation
      flags, which for some allocators that didn't end up using the page
      allocator ended up being a no-op and still not zeroing the
      allocations.
    
      So for this merge window I fixed up all remaining architectures to
      zero the memory in dma_alloc_coherent, and made dma_zalloc_coherent a
      no-op wrapper around dma_alloc_coherent, which fixes all of the above
      issues.
    
      dma_zalloc_coherent is now pointless and can go away, and Luis helped
      me writing a cocchinelle script and patch series to kill it, which I
      think we should apply now just after -rc1 to finally settle these
      issue"
    
    * tag 'remove-dma_zalloc_coherent-5.0' of git://git.infradead.org/users/hch/dma-mapping:
      dma-mapping: remove dma_zalloc_coherent()
      cross-tree: phase out dma_zalloc_coherent() on headers
      cross-tree: phase out dma_zalloc_coherent()
    66c56cfa
Name
Last commit
Last update
..
controller Loading commit data...
endpoint Loading commit data...
hotplug Loading commit data...
pcie Loading commit data...
switch Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
access.c Loading commit data...
ats.c Loading commit data...
bus.c Loading commit data...
ecam.c Loading commit data...
host-bridge.c Loading commit data...
iov.c Loading commit data...
irq.c Loading commit data...
mmap.c Loading commit data...
msi.c Loading commit data...
of.c Loading commit data...
p2pdma.c Loading commit data...
pci-acpi.c Loading commit data...
pci-bridge-emul.c Loading commit data...
pci-bridge-emul.h Loading commit data...
pci-driver.c Loading commit data...
pci-label.c Loading commit data...
pci-mid.c Loading commit data...
pci-pf-stub.c Loading commit data...
pci-stub.c Loading commit data...
pci-sysfs.c Loading commit data...
pci.c Loading commit data...
pci.h Loading commit data...
probe.c Loading commit data...
proc.c Loading commit data...
quirks.c Loading commit data...
remove.c Loading commit data...
rom.c Loading commit data...
search.c Loading commit data...
setup-bus.c Loading commit data...
setup-irq.c Loading commit data...
setup-res.c Loading commit data...
slot.c Loading commit data...
syscall.c Loading commit data...
vc.c Loading commit data...
vpd.c Loading commit data...
xen-pcifront.c Loading commit data...