pci_pasid_features(9)
π 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:
pci_ats_supported(9)pci_prepare_ats(9)pci_enable_ats(9)pci_disable_ats(9)pci_ats_queue_depth(9)pci_ats_page_aligned(9)pci_ats_required(9)pci_enable_pri(9)pci_disable_pri(9)pci_restore_pri_state(9)pci_reset_pri(9)pci_prg_resp_pasid_required(9)pci_pri_supported(9)pci_enable_pasid(9)pci_disable_pasid(9)pci_restore_pasid_state(9)pci_max_pasids(9)pci_pasid_status(9)
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
- 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