linux/drivers/dma-buf
Linus Torvalds ed02f4f7ad for-7.4/io_uring-dmabuf-20261023
-----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCAAuFiEEwPw5LcreJtl1+l5K99NY+ylx4KYFAmrbkFsQHGF4Ym9lQGtl
 cm5lbC5kawAKCRD301j7KXHgpiHpD/9MdThoGJTZ3mKgaZPd7lOgkxWL51CY/ULB
 X9zzyfHP9hpXxwXqpSGm8XhN7cmSDXGaCYvhVPS2YQQv0458s1UGMWDi8PJNulFS
 6M8ng6Hex2z/Uq+u6vMkruz+hH76c3ajo6kGOhJnWye+/Rq1bqqFcYBWMpLBE/yj
 lp8JGG92HyMnsIo5gzBHbUoNEc+X0+jz88mk0JRZoONJD4cNb1S1bW5v+uAk0Nvc
 /qPE9AXU2DnngvbzhfKGza/4Lkx9WKBXFmxJSiG9ZH6GJn3yndBNBi7RAODku+/E
 i+SiukHPDhn3M5cWZuJ8ilTpVWRCnnsbhavM1PN2tvcW6IfZrAz+m321+JVkzKu0
 cLUDvmz2WS0+PcodXGn3KcGVYt7vAjtQVZwZLbq2012u5xSvZN/VaeiVDIRr1uC/
 hQPiD51ZpsTt/2lAyrFGmLBsskNWc0Xhd6ePX7euNCdhfHj5UuWKcXUiQeeGiUvT
 X2JyQAJSY9VZ6eO02w77bta0II+3SSnZlA6xVmE3+Nwv2z6qr3b31gcfMIiap3Tu
 jUkKvDuB9Dw9hhgLr1t6BCuaPS3ktyd1F3dBvbs8YXyyeworU2KGtSF7mraJxts8
 GCH+DOAR1j29qMi4/bjhxOKQYAKzhWbptCiJgyReL6V+uFO6JxAeWn3qn36mjezp
 BuHNTX1A5g==
 =hlkK
 -----END PGP SIGNATURE-----

Merge tag 'for-7.4/io_uring-dmabuf-20261023' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull io_uring dma-buf support from Jens Axboe:
 "This adds native dma-buf support to the I/O path, exposed through
  io_uring. It's been in development for a while and should be ready to
  go now.

   - dma-buf file I/O infrastructure: a dma_buf_io_ctx created through a
     new ->init_dma_buf_io_ctx file operation, and a dma_buf_io_map
     holding the device DMA mapping. The two are split so a mapping can
     be invalidated and re-established underneath a live context, with
     the map counting in-flight requests so it can be torn down safely.

   - A new iov_iter type for dmabuf maps, and a dma map backed bio type
     for the block layer, with raw block device support on top.

   - nvme-pci backend implementing dma-buf backed requests, including
     SGL support.

   - io_uring dmabuf backed registered buffers, built on a reworked
     buffer registration structure with an extended update path, regbuf
     import flags, an uncloneable flag for buffer types that can't be
     cloned, and cloning support for registered dma-bufs"

* tag 'for-7.4/io_uring-dmabuf-20261023' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  io_uring/dma-buf: don't fail fixed buffers without dma-buf support
  nvme-pci: detach dma-bufs only on removal
  block: reject dma-bufs larger than 4GiB
  io_uring/dma-buf: allow cloning registered dma-bufs
  dma-buf-io: document dma_buf_io_init_map
  dma-buf-io: fix typos in kernel docs
  block: fix indention for dma-buf checks
  io_uring/rsrc: add dmabuf backed registered buffers
  io_uring/rsrc: add regbuf import flags
  io_uring/rsrc: add uncloneable regbuf flag
  io_uring/rsrc: extend buffer update
  io_uring/rsrc: introduce buf registration structure
  nvme-pci: add SGL support for the dmabuf path
  nvme-pci: implement dma-buf backed requests
  nvme-pci: rename nvme_pci_sgl_set_data to nvme_pci_dma_iter_set_sgl
  block: add dma-buf support for raw bdev
  block: introduce dma map backed bio type
  block: always adjust bi_offset on bio_advance_iter
  iov_iter: add iterator type for dmabuf maps
  dma-buf: introduce initial file I/O infrastructure
2026-10-27 07:46:05 -10:00
..
heaps dma-buf: move system_cc_shared heap under separate Kconfig 2026-06-11 20:21:44 +05:30
.kunitconfig dma-buf: Change st-dma-resv.c to use kunit 2026-04-16 12:34:00 +02:00
dma-buf-io.c dma-buf-io: document dma_buf_io_init_map 2026-10-16 08:22:28 -06:00
dma-buf-mapping.c dma-buf: Split sgl by largest page-aligned chunk 2026-09-11 12:10:01 +02:00
dma-buf.c drm-misc-next for v7.4: 2026-09-08 21:05:35 +10:00
dma-fence-array.c dma-buf/dma_fence_array: remove unused functionality v4 2026-05-04 16:28:14 +02:00
dma-fence-chain.c dma-buf: Assign separate lockdep class to chain lock 2026-02-25 01:16:11 -08:00
dma-fence-unwrap.c Merge drm/drm-next into drm-misc-next 2026-07-08 13:00:55 +02:00
dma-fence.c dma-buf/dma-fence: fix checking signaling bit for timeline and driver name v3 2026-09-15 10:02:53 +02:00
dma-heap.c Merge drm/drm-fixes into drm-misc-fixes 2026-09-01 09:38:51 +02:00
dma-resv.c dma-buf: fix coding style in dma_resv_get_singleton 2026-08-25 09:18:31 +02:00
Kconfig Revert "dma-buf: Make DMABUF_DEBUG default to y on DEBUG_KERNEL kernels" 2026-10-13 19:26:28 +05:30
Makefile dma-buf: introduce initial file I/O infrastructure 2026-10-14 07:36:02 -06:00
st-dma-fence-chain.c dma-buf: rename dma_fence_enable_sw_signaling 2026-07-01 16:52:48 +02:00
st-dma-fence-unwrap.c dma-buf/test: add KUnit case for dma_fence_dedup_array() empty input 2026-10-14 14:35:48 +02:00
st-dma-fence.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
st-dma-resv.c dma-buf: rename dma_fence_enable_sw_signaling 2026-07-01 16:52:48 +02:00
sw_sync.c dma-buf: abstract fence locking v2 2026-02-23 16:14:19 +01:00
sync_debug.c
sync_debug.h dma-buf: inline spinlock for fence protection v5 2026-02-23 16:14:19 +01:00
sync_file.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sync_trace.h
udmabuf.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00