All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] vfio: Add DMABUF support for PCI BAR regions
@ 2026-01-13 11:37 Shameer Kolothum
  2026-01-13 11:37 ` [PATCH v2 1/4] linux-headers: Update to Linux v6.19-rc1 Shameer Kolothum
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Shameer Kolothum @ 2026-01-13 11:37 UTC (permalink / raw)
  To: qemu-arm, qemu-devel
  Cc: eric.auger, alex, clg, cohuck, mst, nicolinc, nathanc, mochs, jgg,
	kjaju

Hi,

Linux now provides a VFIO dmabuf exporter to expose PCI BAR memory for P2P
use cases. This adds support for vfio devices to create a dmabuf for
each mapped BAR region.

Changes from v1:
https://lore.kernel.org/qemu-devel/20251222135357.143339-1-skolothumtho@nvidia.com/
 
 - Addressed feedback on v1. Thanks!.
 - Added a helper function to retreive device feature(patch #3)
 - This has dependnecy on patches sent by Cédric[0][1] 

The dmabuf support was sanity tested on an NVIDIA grace paltform.

Please take a look and let me know.

Thanks,
Shameer
[0] https://lore.kernel.org/qemu-devel/20260112155341.1209988-1-clg@redhat.com/
[1] https://lore.kernel.org/qemu-devel/20260108185012.2568277-1-clg@redhat.com/

Nicolin Chen (1):
  hw/vfio/region: Create dmabuf for PCI BAR per region

Shameer Kolothum (3):
  linux-headers: Update to Linux v6.19-rc1
  hw/net/virtio-net: Adapt hash handling to updated UAPI
  hw/vfio: Add helper to retrieve device feature

 hw/net/virtio-net.c                           |  11 +-
 hw/vfio/container.c                           |   2 +-
 hw/vfio/device.c                              |  10 +
 hw/vfio/listener.c                            |   4 +-
 hw/vfio/region.c                              |  69 ++-
 hw/vfio/trace-events                          |   1 +
 include/hw/vfio/vfio-device.h                 |   3 +
 include/standard-headers/drm/drm_fourcc.h     |  25 +-
 include/standard-headers/linux/ethtool.h      |   5 +
 .../linux/input-event-codes.h                 |  14 +-
 include/standard-headers/linux/pci_regs.h     |  89 ++++
 include/standard-headers/linux/virtio_net.h   |   3 +-
 include/standard-headers/linux/virtio_pci.h   |   2 +-
 linux-headers/asm-arm64/kvm.h                 |   2 +-
 linux-headers/asm-arm64/unistd_64.h           |   1 +
 linux-headers/asm-generic/unistd.h            |   4 +-
 linux-headers/asm-loongarch/kvm.h             |   1 +
 linux-headers/asm-loongarch/unistd.h          |   6 +
 linux-headers/asm-loongarch/unistd_64.h       |   1 +
 linux-headers/asm-mips/unistd_n32.h           |   1 +
 linux-headers/asm-mips/unistd_n64.h           |   1 +
 linux-headers/asm-mips/unistd_o32.h           |   1 +
 linux-headers/asm-powerpc/unistd_32.h         |   1 +
 linux-headers/asm-powerpc/unistd_64.h         |   1 +
 linux-headers/asm-riscv/kvm.h                 |   3 +
 linux-headers/asm-riscv/unistd_32.h           |   1 +
 linux-headers/asm-riscv/unistd_64.h           |   1 +
 linux-headers/asm-s390/bitsperlong.h          |   4 -
 linux-headers/asm-s390/unistd.h               |   4 -
 linux-headers/asm-s390/unistd_32.h            | 446 ------------------
 linux-headers/asm-s390/unistd_64.h            |   9 +-
 linux-headers/asm-x86/kvm.h                   |   1 +
 linux-headers/asm-x86/unistd_32.h             |   1 +
 linux-headers/asm-x86/unistd_64.h             |   1 +
 linux-headers/asm-x86/unistd_x32.h            |   1 +
 linux-headers/linux/iommufd.h                 |  10 +
 linux-headers/linux/kvm.h                     |  11 +
 linux-headers/linux/mshv.h                    | 116 ++++-
 linux-headers/linux/psp-sev.h                 |  66 ++-
 linux-headers/linux/vfio.h                    |  28 ++
 40 files changed, 455 insertions(+), 506 deletions(-)
 delete mode 100644 linux-headers/asm-s390/unistd_32.h

-- 
2.43.0



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-02-03 17:32 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-13 11:37 [PATCH v2 0/4] vfio: Add DMABUF support for PCI BAR regions Shameer Kolothum
2026-01-13 11:37 ` [PATCH v2 1/4] linux-headers: Update to Linux v6.19-rc1 Shameer Kolothum
2026-01-15 12:45   ` Cédric Le Goater
2026-01-13 11:37 ` [PATCH v2 2/4] hw/net/virtio-net: Adapt hash handling to updated UAPI Shameer Kolothum
2026-01-15 12:45   ` Cédric Le Goater
2026-02-03 17:32   ` Michael S. Tsirkin
2026-01-13 11:37 ` [PATCH v2 3/4] hw/vfio: Add helper to retrieve device feature Shameer Kolothum
2026-01-14 10:19   ` Jonathan Cameron via
2026-01-14 10:19     ` Jonathan Cameron via qemu development
2026-01-15 12:44     ` Cédric Le Goater
2026-01-15 12:46   ` Cédric Le Goater
2026-01-13 11:37 ` [PATCH v2 4/4] hw/vfio/region: Create dmabuf for PCI BAR per region Shameer Kolothum
2026-01-14  9:16   ` Duan, Zhenzhong
2026-01-15 12:50     ` Cédric Le Goater
2026-01-15 14:32       ` Shameer Kolothum
2026-01-15 15:58         ` Cédric Le Goater

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.