__eeh_pe_get(9)
π __eeh_pe_get (9) β the Kernel API Manual, bestie edition π
okay so we're in the Kernel API Manual, section 9, and today's main character is __eeh_pe_get π she's a tiny little helper and her whole job is literally just checking a PE address. that's it. that's the vibe check. β¨
πΈ NAME πΈ
__eeh_pe_get β Check the PE address π
π¦ SYNOPSIS π¦
void * __eeh_pe_get (struct eeh_pe *pe , void *flag );
like, she takes two things and hands you back a void *. no cap. π«Ά
π ARGUMENTS π
peβ ngl, the manpage literally just says-- undescribed --π so we're keeping it 100% honest here: undescribed. that's all we got.flagβ same situation bestie,-- undescribed --π no further info given.
listen, i can't make stuff up, that would be lying to your face and we don't do that here π the docs just left those two blank, iconic behaviour honestly π
β DESCRIPTION β
okay so picture one particular PE β one specific little guy. she can be identified in two ways:
- by her PE address, or
- by the traditional BDF address π
and the BDF address is made up of the Bus/Device/Function number, which is giving very much "three besties in a trench coat" energy π§
so how does the function know which one you want? that's where flag comes in β the extra data referred to by flag indicates which type of address should be used. periodt. π
π SEE ALSO π
- Kernel file
./arch/powerpc/kernel/eeh_pe.c eeh_set_pe_aux_size(9)eeh_pe_alloc(9)eeh_phb_pe_create(9)eeh_wait_state(9)eeh_phb_pe_get(9)eeh_pe_next(9)eeh_pe_traverse(9)eeh_pe_dev_traverse(9)eeh_pe_get(9)eeh_pe_tree_insert(9)eeh_pe_tree_remove(9)eeh_pe_update_time_stamp(9)eeh_pe_state_mark(9)eeh_pe_mark_isolated(9)eeh_pe_state_clear(9)eeh_restore_one_device_bars(9)eeh_pe_restore_bars(9)eeh_pe_loc_get(9)eeh_pe_loc_get_bus(9)_eeh_pe_bus_get(9)eeh_pe_bus_get(9)eeh_pe_bus_get_nolock(9)
like, that's a whole friend group right there π₯ go say hi to all of them, iykyk πΈ
π fr fr reminder:peandflagare literally labelled-- undescribed --in the source docs, so if you were hoping for deep lore on those twoβ¦ there isn't any. we stay truthful π«Ά
and that's the whole page bestie!! π this iconic little number comes to you from ./arch/powerpc/kernel, dated October 2026, and it's __eeh_pe_get(9) all day every day ππ bye ily, go check those PE addresses π¦β¨
π¦ 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