Skip to content

vfio/pci: Add multifunction atomic ops support

Manojlo Pekovic qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vfio/pci: Refactor atomic capability checkinghw/vfio/pci.c+31 -220 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

From: Manojlo Pekovic <[email protected]>

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.

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

 hw/vfio/pci.c | 177 +++++++++++++++++++++++++++++++++++++++++++++-----
 hw/vfio/pci.h |   1 +
 2 files changed, 161 insertions(+), 17 deletions(-)
Signature · 1 line
2.43.0