pci_enable_..._ops_to_root(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pci_enable_..._ops_to_root(9) πŸ’…

okay bestie, welcome to the Kernel API Manual (section 9) β€” we're talking about pci_enable_atomic_ops_to_root, and yes the header title abbreviates it with ... because even kernel docs love a little mystery. πŸ’–


✨ NAME ✨

pci_enable_atomic_ops_to_root β€” enable AtomicOp requests to root port. periodt. πŸ”₯

πŸ¦‹ SYNOPSIS πŸ¦‹

int pci_enable_atomic_ops_to_root (struct pci_dev *dev , u32 cap_mask );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the PCI device. main character device energy, honestly.
  • cap_mask β€” mask of desired AtomicOp sizes, including one or more of:
    • PCI_EXP_DEVCAP2_ATOMIC_COMP32
    • PCI_EXP_DEVCAP2_ATOMIC_COMP64
    • PCI_EXP_DEVCAP2_ATOMIC_COMP128

🌸 DESCRIPTION 🌸

okay so the whole vibe check is this: it returns 0 if all upstream bridges support AtomicOp routing, egress blocking is disabled on all upstream ports, and the root port supports the requested completion capabilities (32-bit, 64-bit and/or 128-bit AtomicOp completion) β€” or negative otherwise. that's the exact tea, no cap. πŸ’…

🌈 SEE ALSO 🌈

Kernel file: ./drivers/pci/pci.c β€” that's the kernel file, bestie. and here's the whole SEE ALSO friend group, fr fr:


okay and the cute little footer tea: source/version is ./drivers/pci, date is October 2026, and the page is pci_enable_..._ops_to_root(9). byeeee πŸ’–βœ¨

πŸ“¦ where this page comes from