pci_restore_msi_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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