pci_pasid_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 pci_pasid_status(9) 🌸

okay so bestie, welcome to the Kernel API Manual β€” today's main character is pci_pasid_status(9), and honestly? she's a little lookup function with a lot of attitude. let's get into it πŸ’…


✨ NAME ✨

pci_pasid_status β€” Check the PASID status πŸ‘‘


✨ SYNOPSIS ✨

int pci_pasid_status (struct pci_dev *pdev );

✨ ARGUMENTS ✨

  • pdev β€” the PCI device structure, aka the little guy you're asking about 🫢

✨ DESCRIPTION ✨

so here's the vibe check πŸ”: if there's no PASID capability present at all, this function returns a negative value. rude but fair, it's just how she communicates 😭

otherwise? she hands you back the value of the control register, and the statuses she reports are:

  • PCI_PASID_CTRL_ENABLE β€” PASID enabled ✨
  • PCI_PASID_CTRL_EXEC β€” Execute permission enabled
  • PCI_PASID_CTRL_PRIV β€” Privileged mode enabled πŸ”

like, that's it, that's the whole function. she ate and left no crumbs πŸ“


✨ SEE ALSO ✨

okay this part is the group chat, because she does not work alone πŸ‘―β€β™€οΈ

kernel file ./drivers/pci/ats.c β€” that's her home address, iykyk 🏠


ngl bestie, if you need any of these, click through β€” they're all in the same ./drivers/pci friend group πŸ’–

and that's the whole page!! mwah πŸ’‹ this lil legend lives in ./drivers/pci, dated October 2026, and her name is β€” say it with me β€” pci_pasid_status(9) πŸŽ€βœ¨ bye bestie, go read a register πŸ¦‹

πŸ“¦ where this page comes from