pci_max_pasids(9)
β¨ pci_max_pasids β¨
okay so bestie, welcome to the pci_max_pasids(9) page from the Kernel API Manual π
this one is short and sweet and honestly kind of iconic for it.
πΈ NAME πΈ
pci_max_pasids β literally just: get the maximum number of PASIDs supported by a device. that's the whole vibe π
π¦ SYNOPSIS π¦
int pci_max_pasids (struct pci_dev *pdev );
like, one function, one struct pointer, no drama. periodt.
π ARGUMENTS π
pdevβ the PCI device structure π«Ά that's your device, bestie, the one you're asking about.
π₯ DESCRIPTION π₯
okay so here's the tea β β if the PASID capability is not present, this returns a negative value. no capability, no PASIDs, sorry babe π
otherwise? it returns the number of supported PASIDs β¨ like, the actual count. that's it, that's the function, she's lowkey simple and we love her for it.
π SEE ALSO π
bestie there are SO many siblings in this family, brace yourself π the kernel file lives at ./drivers/pci/ats.c and here's the whole crew:
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_pasid_features(9)pci_pasid_status(9)
ngl that's a whole group chat right there π go read them too, iykyk π
and that's the page!! brought to you from ./drivers/pci π§ dated October 2026, version vibes included, mwah πβ
π¦ 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