pci_restore_msi_state(9)
π pci_restore_msi_state π
okay so bestie, this is the pci_restore_msi_state(9) page from the Kernel API Manual, and it's literally the βput the cached MSI(-X) state backβ little icon. π
β¨
β¨ NAME β¨
pci_restore_msi_state β Restore cached MSI(-X) state on device. π
π¦ SYNOPSIS π¦
void pci_restore_msi_state (struct pci_dev *dev );
πΈ ARGUMENTS πΈ
devβ the PCI device to operate on. literally the device getting its state restored π«Ά
π₯ DESCRIPTION π₯
Write the Linux-cached MSI(-X) state back on device. no cap, that's the whole move. β¨
This is typically useful upon system resume, or after an error-recovery PCI adapter reset. so like, when the system wakes up or a PCI adapter gets reset during error recovery, this is the vibe. π
π SEE ALSO π
Kernel file: ./drivers/pci/msi/api.c
the whole friend group is here: pci_enable_msi(9), pci_disable_msi(9), pci_msix_vec_count(9), pci_enable_msix_range(9), pci_msix_can_alloc_dyn(9), pci_msix_alloc_irq_at(9), pci_msix_free_irq(9), pci_disable_msix(9), pci_alloc_irq_vectors(9), pci_alloc_irq_vectors_affinity(9), pci_irq_vector(9), pci_irq_get_affinity(9), pci_free_irq_vectors(9), pci_msi_enabled(9).
mwah π this cutie came from ./drivers/pci/msi, dated October 2026, and yep it's the pci_restore_msi_state(9) page β 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