pseries_eeh_pe_get_parent(9)
πΈ pseries_eeh_pe_get_parent β a Kernel API Manual moment πΈ
okay so bestie, we're in the Kernel API Manual today and this one is genuinely such a small cutie β one function, one argument, one job. no cap, it's giving "short and sweet and does exactly what it says on the tin" energy π
β¨ NAME β¨
pseries_eeh_pe_get_parent β Retrieve the parent PE π«Ά
like, literally. that's the whole vibe. it gets you the parent PE.
π¦ SYNOPSIS π¦
struct eeh_pe * pseries_eeh_pe_get_parent (struct eeh_dev *edev );
ok so it takes one struct eeh_dev * and hands you back a struct eeh_pe *. slay. that's the whole signature, don't come for me π
π ARGUMENTS π
edevβ the EEH device. yep, that's it. that's the argument. it's the EEH device, bestie, that's what it is β¨
π DESCRIPTION π
so here's the lore π β every single PE that exists in the system is organized as a hierarchy tree. think of it like the family group chat, except instead of your aunt posting minion memes it's PCI error handling structures. iconic either way tbh.
this function is the one you call to retrieve the parent PE, and it figures that out based on the parent EEH device. so you hand it an EEH device, it looks at that device's parent, and boom β you've got the parent PE. iykyk π§
no fancy footwork, no weird edge cases spelled out here β the function does one thing and it does it. treat the returned pointer with the respect any kernel pointer deserves, fr fr π
πΈ SEE ALSO πΈ
the kernel file lives right here, go say hi to it for me π
./arch/powerpc/platforms/pseries/eeh_pseries.c
and the whole friend group, in order, no one left out π
pseries_eeh_get_pe_config_addr(9)pseries_eeh_phb_reset(9)pseries_eeh_phb_configure_bridge(9)pseries_eeh_init_edev(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)
okay that's the whole page, you ate that π this masterpiece comes to you from ./arch/powerpc/platforms/pseries, dated October 2026 β stay hydrated, read your manpages, and remember: the parent PE was inside you all along πβ¨ππ¦
π¦ 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