pci_enable_pasid(9)
π pci_enable_pasid β it's giving "turn on the PASID" energy β¨
okay so this is pci_enable_pasid(9) from the Kernel API Manual, and honestly bestie, it's a little one but she's important π
πΈ NAME πΈ
pci_enable_pasid β Enable the PASID capability. that's it, that's the vibe. she does exactly what it says on the tin, no cap π
β¨ SYNOPSIS β¨
int pci_enable_pasid (struct pci_dev *pdev , int features );
literally just hand her the device and the features and she'll do her thing π«Ά
π¦ ARGUMENTS π¦
pdevβ the PCI device structure. like, the device you're trying to enable PASID on. main character energy, she needs to know who she's working with πfeaturesβ the features to enable. yep. that's the list of what you want turned on π₯
π DESCRIPTION π
okay so here's the tea: this function returns 0 on success, and a negative value on error. periodt β¨
and here's the part where she's lowkey a responsible queen π β she actually checks whether the features are really supported by the device, and if they're not, she returns an error. no silently pretending it worked, no fake vibes, she does her homework first ππ
ngl that's the whole thing. short and iconic. not every function needs a whole essay π
π SEE ALSO π
the kernel file lives at ./drivers/pci/ats.c and the whole friend group is here:
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_disable_pasid(9)pci_restore_pasid_state(9)pci_pasid_features(9)pci_max_pasids(9)pci_pasid_status(9)
she's got a whole squad fr fr π§ββοΈ
and that's a wrap, bestie! πΈ this lil page lives under ./drivers/pci in the kernel tree, dated October 2026, and it's the pci_enable_pasid(9) manual page β go enable some PASID and slay π
βπ
π¦ 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