Skip to content

vfio/pci: Add multifunction atomic ops support

Manojlo Pekovic qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vfio/pci: Refactor atomic capability checkinghw/vfio/pci.c+31 -223 replies
2/2vfio/pci: Support multifunction atomic ops capabilityhw/vfio/pci.c hw/vfio/pci.h+137 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] vfio/pci: Add multifunction atomic ops support

This series extends PCIe Atomic Ops completer support to multifunction vfio-pci devices.
It is an update on previously discussed issues

Patch 1 refactors the existing atomic capability checking logic into a reusable helper function.

Patch 2 extends the support to multifunction devices by calculating the intersection of atomic capabilities across all functions, deferring configuration to machine_done time when all functions are realized.

This extends commit c00aac6f14.

Manojlo Pekovic (2):
vfio/pci: Refactor atomic capability checking vfio/pci: Support multifunction atomic ops capability

 hw/vfio/pci.c | 191 +++++++++++++++++++++++++++++++++++++++++++-------
 hw/vfio/pci.h |   1 +
 2 files changed, 170 insertions(+), 22 deletions(-)