Port Linux drivers/pci/pci.c:pci_enable_atomic_ops_to_root(), used by
amdgpu (and others) to enable PCIe AtomicOp requests after verifying
that all upstream switch ports route AtomicOps, no upstream port blocks
AtomicOp egress, and the root port completes the requested sizes.
Also add PCI_EXP_DEVCTL2_ATOMIC_REQ and PCI_EXP_DEVCTL2_ATOMIC_EGRESS_BLOCK.
Differences from Linux:
- No is_virtfn check; LinuxKPI does not expose SR-IOV VFs.
- Compare bridges by device_t rather than struct pci_dev pointer, since pcie_find_root_port() and pci_upstream_bridge() allocate distinct pci_dev objects for the same bridge, and stop when pci_upstream_bridge() returns NULL (it does for a root port). A verbatim port would dereference NULL after walking past the root port.
bnxt_re had driver-local copies of pci_enable_atomic_ops_to_root() and
the PCI_EXP_DEVCTL2_ATOMIC_{REQ,EGRESS_BLOCK} definitions, which now
collide with LinuxKPI (-Wmacro-redefined); drop them in the same commit
so the tree builds at every revision. Like Linux, the LinuxKPI version
sets AtomicOp Requester Enable on success, while the local copy only
checked the path.