]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
PCI: Update PCIe spec references for AtomicOps
authorGerd Bayer <gbayer@linux.ibm.com>
Mon, 30 Mar 2026 13:09:46 +0000 (15:09 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 3 Apr 2026 21:39:31 +0000 (16:39 -0500)
Point to the relevant sections in the most recent release 7.0 of the PCIe
spec. Text has mostly just moved around without any semantic change.

Signed-off-by: Gerd Bayer <gbayer@linux.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260330-fix_pciatops-v7-3-f601818417e8@linux.ibm.com
drivers/pci/pci.c

index 3a4ba587042bfce9038ee919c94203dde6a009a9..fde970c784135e81554e912db3a4db649b2c8622 100644 (file)
@@ -3679,7 +3679,7 @@ int pci_enable_atomic_ops_to_root(struct pci_dev *dev, u32 cap_mask)
        u32 cap, ctl2;
 
        /*
-        * Per PCIe r5.0, sec 9.3.5.10, the AtomicOp Requester Enable bit
+        * Per PCIe r7.0, sec 7.5.3.16, the AtomicOp Requester Enable bit
         * in Device Control 2 is reserved in VFs and the PF value applies
         * to all associated VFs.
         */
@@ -3690,7 +3690,7 @@ int pci_enable_atomic_ops_to_root(struct pci_dev *dev, u32 cap_mask)
                return -EINVAL;
 
        /*
-        * Per PCIe r4.0, sec 6.15, endpoints and root ports may be
+        * Per PCIe r7.0, sec 6.15, endpoints and root ports may be
         * AtomicOp requesters.  For now, we only support (legacy) endpoints
         * as requesters and root ports as completers.  No endpoints as
         * completers, and no peer-to-peer.