pseries_eeh_init_edev(9)
π 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 π
- Kernel file
./arch/powerpc/platforms/pseries/eeh_pseries.cβ go read the source, iykyk. π pseries_eeh_get_pe_config_addr(9)pseries_eeh_phb_reset(9)pseries_eeh_phb_configure_bridge(9)pseries_eeh_pe_get_parent(9)pseries_eeh_init_edev_recursive(9)pseries_eeh_set_option(9)pseries_eeh_get_state(9)pseries_eeh_reset(9)pseries_eeh_get_log(9)pseries_eeh_configure_bridge(9)pseries_eeh_read_config(9)pseries_eeh_write_config(9)pseries_eeh_err_inject(9)eeh_pseries_init(9)
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
- 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