pci_dpc_recovered(9)
π¦ pci_dpc_recovered(9) π¦
okay so bestie, you're in the Kernel API Manual and this is the page for pci_dpc_recovered β literally the little function that tells you whether DPC fired and then, like, actually got its life together π
β¨ NAME β¨
pci_dpc_recovered β whether DPC triggered and has recovered successfully π
πΈ SYNOPSIS πΈ
bool pci_dpc_recovered (struct pci_dev *pdev );
π ARGUMENTS π
pdevβ a PCI device π«Ά (yes that's the whole description, she's lowkey mysterious)
π DESCRIPTION π
So here's the vibe: this returns true if DPC was triggered for pdev and it has recovered successfully. periodt β¨
If the recovery hasn't completed yet? It waits for it. no cutting the line, no skipping ahead, we sit there until it's done π
And why do we care? Because it's called from the PCIe hotplug driver, so it can recognize and ignore Link Down/Up events caused by DPC. it's giving "oh that? that's just DPC, ignore her" ππ
π₯ SEE ALSO π₯
- Kernel file
./drivers/pci/pcie/dpc.cβ go read the source, iykyk π
ngl this page is short but she ate. no cap. π
okay bye bestie, this pearl of a page came from ./drivers/pci/pcie, version date October 2026 β mwah, love u, see u in the next manpage ππβ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms