pci_restore_pri_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pci_restore_pri_state β€” the kernel API manual, bestie edition

okay so picture this: we're deep in the kernel API manual and the star of the show is pci_restore_pri_state, which does exactly one thing and does it iconically β€” it restores PRI. that's it. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

void pci_restore_pri_state(struct pci_dev *pdev);

no cap, that's the whole signature. returns void, so like… it doesn't come back with receipts, it just does the thing. 🫢


🌸 ARGUMENTS 🌸

  • pdev β€” the PCI device structure πŸ’–. yes bestie, this is the one you're restoring PRI on. it's a struct pci_dev *, so hand it a pointer and let it cook.

πŸ¦‹ SEE ALSO πŸ¦‹

so this little icon lives in the kernel file ./drivers/pci/ats.c β€” go look, i'll wait 🧚. and it has so many siblings, ok, a whole friend group of ATS/PRI/PASID functions, literally all of them:

like, the whole ats.c squad is here and they all ate πŸ’…πŸ”₯. go read them, iykyk.


lowkey reminder: this page gives you the synopsis, the argument and the see-also fam β€” nothing more, nothing invented. don't @ me with extra behaviour that isn't on the page πŸ™ˆ.

and that's a wrap, bestie! 🌈 this gorgeous little page comes to you from ./drivers/pci, dated October 2026 β€” the pci_restore_pri_state(9) manual page, signed off with love and zero typos (hopefully 😭). now go restore that PRI, main character energy only πŸ‘‘βœ¨πŸ’–

πŸ“¦ where this page comes from