From: Manojlo Pekovic <mpekovic@amd.com>
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(-)
--
2.43.0