qemu/hw/vfio
Alex Williamson c00aac6f14 vfio/pci: Enable AtomicOps completers on root ports
Dynamically enable Atomic Ops completer support around realize/exit of
vfio-pci devices reporting host support for these accesses and adhering
to a minimal configuration standard.  While the Atomic Ops completer
bits in the root port device capabilities2 register are read-only, the
PCIe spec does allow RO bits to change to reflect hardware state.  We
take advantage of that here around the realize and exit functions of
the vfio-pci device.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Robin Voetter <robin@streamhpc.com>
Tested-by: Robin Voetter <robin@streamhpc.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2023-07-10 09:52:52 +02:00
..
amd-xgbe.c
ap.c s390x/ap: Wire up the device request notifier interface 2023-07-10 09:52:52 +02:00
calxeda-xgmac.c
ccw.c hw/vfio/ccw: Replace DO_UPCAST(VFIOCCWDevice) by VFIO_CCW() 2023-02-27 09:15:38 +01:00
common.c vfio/migration: Change vIOMMU blocker from global to per device 2023-07-10 09:52:52 +02:00
display.c *: Add missing includes of qemu/error-report.h 2023-03-22 15:06:57 +00:00
igd.c *: Add missing includes of qemu/error-report.h 2023-03-22 15:06:57 +00:00
Kconfig
meson.build
migration.c vfio/migration: Return bool type for vfio_migration_realize() 2023-07-10 09:52:52 +02:00
pci-quirks.c hw/vfio/pci-quirks: Sanitize capability pointer 2023-07-10 09:52:52 +02:00
pci.c vfio/pci: Enable AtomicOps completers on root ports 2023-07-10 09:52:52 +02:00
pci.h vfio/pci: Enable AtomicOps completers on root ports 2023-07-10 09:52:52 +02:00
platform.c
spapr.c
trace-events vfio/migration: Make VFIO migration non-experimental 2023-06-30 06:02:51 +02:00
trace.h