From: Gerd Bayer Date: Mon, 30 Mar 2026 13:09:46 +0000 (+0200) Subject: PCI: Update PCIe spec references for AtomicOps X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e69214402397fcbb17f25ac5acb178195aca4bc;p=thirdparty%2Fkernel%2Flinux.git PCI: Update PCIe spec references for AtomicOps 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 Signed-off-by: Bjorn Helgaas Link: https://patch.msgid.link/20260330-fix_pciatops-v7-3-f601818417e8@linux.ibm.com --- diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 3a4ba587042bf..fde970c784135 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -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.