pseries_eeh_init_edev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is the pseries_eeh_init_edev(9) manual page β€” the kernel API function that initialises the eeh_dev and eeh_pe for a pci_dn. It’s giving serious powerpc PCI energy, no cap. ✨

🌸 SYNOPSIS 🌸

void pseries_eeh_init_edev (struct pci_dn *pdn );

πŸŽ€ ARGUMENTS πŸŽ€

  • pdn β€” PCI device node. That’s the one and only arg, bestie. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So picture this: when we discover a new PCI device via the device-tree, we create a corresponding pci_dn, and we allocate β€” but don’t initialise β€” an eeh_dev. πŸ‘€

This function takes care of the initialisation and inserts the eeh_dev into the correct eeh_pe. And if no eeh_pe exists? We’ll allocate one. Periodt. πŸ’…

Basically: the eeh_dev allocation already happened, and pseries_eeh_init_edev() is the main character that finishes the job β€” initialise, insert, and if needed, make a fresh eeh_pe. It’s giving setup-and-slot-in energy, fr fr. πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘


This page is serving ./arch/powerpc/platforms/pseries source/version realness, dated October 2026, and it’s the pseries_eeh_init_edev(9) manual β€” bye bestie, slay your PCI debugging πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from