pci_cfg_access_lock(9)
π pci_cfg_access_lock(9) π
okay bestie, welcome to pci_cfg_access_lock from the Kernel API Manual β the little lock that says βnot yet, config space is busyβ π
β¨ NAME β¨
pci_cfg_access_lock β Lock PCI config reads/writes π
πΈ SYNOPSIS πΈ
void pci_cfg_access_lock (struct pci_dev *dev );
π¦ ARGUMENTS π¦
devβ the pci device struct. that's it, that's the vibe π«Ά
π DESCRIPTION π
When access is locked, any userspace reads or writes to config space and concurrent lock requests will sleep π΄ until access is allowed via pci_cfg_access_unlock again.
like literally, everybody waits their turn. no cap. β
π SEE ALSO π
- the kernel file
./drivers/pci/access.cπ§ pci_bus_set_ops(9)pci_cfg_access_trylock(9)pci_cfg_access_unlock(9)
mwah π β source/version ./drivers/pci, dated October 2026, and pci_cfg_access_lock(9) is signing off π«Άβ¨
π¦ 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