]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/pci-bridge/pcie_rp: Remove PCIESlot::disable_acs field
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 7 Mar 2026 11:57:28 +0000 (12:57 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 9 Mar 2026 15:45:24 +0000 (16:45 +0100)
The PCIESlot::disable_acs boolean was only set in the
hw_compat_3_1[] array, via the 'disable-acs=true' property.
We removed all machines using that array, lets remove that
property and all the code around it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20260307152635.83893-10-philmd@linaro.org>

hw/pci-bridge/pcie_root_port.c
include/hw/pci/pcie_port.h

index fe3ced56851a1bce2282a6f888dab9365066ee23..7c3e78010b475190595f9efa4920d74a3f58d90c 100644 (file)
@@ -117,7 +117,7 @@ static void rp_realize(PCIDevice *d, Error **errp)
     pcie_aer_root_init(d);
     rp_aer_vector_update(d);
 
-    if (rpc->acs_offset && !s->disable_acs) {
+    if (rpc->acs_offset) {
         pcie_acs_init(d, rpc->acs_offset);
     }
     return;
@@ -151,7 +151,6 @@ static void rp_exit(PCIDevice *d)
 static const Property rp_props[] = {
     DEFINE_PROP_BIT(COMPAT_PROP_PCP, PCIDevice, cap_present,
                     QEMU_PCIE_SLTCAP_PCP_BITNR, true),
-    DEFINE_PROP_BOOL("disable-acs", PCIESlot, disable_acs, false),
 };
 
 static void rp_instance_post_init(Object *obj)
index 53cd64c5edff6713b85dc53f4d9f97676f247332..b28af067a6643bdc352c640520ab3d3358018a31 100644 (file)
@@ -60,9 +60,6 @@ struct PCIESlot {
     PCIExpLinkWidth width;
     bool flitmode;
 
-    /* Disable ACS (really for a pcie_root_port) */
-    bool        disable_acs;
-
     /* Indicates whether any type of hot-plug is allowed on the slot */
     bool        hotplug;