pci_enable_ats(9)
π
pci_enable_ats β pci_enable_ats(9)
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little function from pci_enable_ats(9) and honestly? it's giving short-and-sweet. let's get into it π«Ά
β¨ NAME β¨
pci_enable_ats β literally just enable the ATS capability π
no cap, that's the whole job.
π¦ SYNOPSIS π¦
int pci_enable_ats (struct pci_dev *dev , int ps );
π ARGUMENTS π
devβ the PCI device. the main character, the one we're doing all this for πpsβ the IOMMU page shift. yes, that's the shift. the page shift. keep it exactly as-is πΈ
π DESCRIPTION π
okay so the vibes here are simple: it returns 0 on success, or negative on failure. that's it. that's the tea π
ngl, "negative on failure" is the whole entire spec here β so like, don't @ me asking for more, it's not in the source π
π SEE ALSO π
it lives in the kernel file ./drivers/pci/ats.c, and it's got a whole friend group fr fr β here's everyone:
pci_ats_supported(9)pci_prepare_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_max_pasids(9)pci_pasid_status(9)
and that's the whole page, bestie π§ this lil gem comes to you straight from ./drivers/pci in the Kernel API Manual, dated October 2026 β icon behavior, no notes πβ¨
π¦ 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