pci_pasid_features(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pci_pasid_features(9) β€” the vibe check for PASID features

okay bestie, welcome to the Kernel API Manual, section 9, where we're talking about pci_pasid_features. She's a little function, she's iconic, and she tells you which PASID features your device actually supports. No cap. πŸ¦‹


✨ SYNOPSIS ✨

int pci_pasid_features (struct pci_dev *pdev );

literally that's it. one function, one argument, zero drama.


🌸 ARGUMENTS 🌸

  • pdev β€” the PCI device structure. that's your device, your main character. 🫢

πŸŽ€ DESCRIPTION πŸŽ€

so here's the tea, bestie. call pci_pasid_features and one of two things happens:

  • if there's no PASID capability present at all, you get back a negative value. it's giving "not today". 😭
  • otherwise, you get a bitmask of the supported features. slay. πŸ”₯

the features currently reported in that bitmask are:

  • PCI_PASID_CAP_EXEC β€” Execute permission is supported πŸ’…
  • PCI_PASID_CAP_PRIV β€” Privileged mode is supported πŸ‘‘

that's the whole menu. check your bits, know your vibe. ⭐


πŸ‘€ SEE ALSO πŸ‘€

the kernel file ./drivers/pci/ats.c (iykyk), plus the whole friend group of related calls:

go read them all, bestie, they're all part of the same era. 🌈


ngl this one's a short read, so go touch some grass and then come back and check your bitmask πŸ’–

and that's a wrap! this page lives in ./drivers/pci, dated October 2026, and she's officially pci_pasid_features(9). periodt. πŸ‘‘πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from