eeh_pe_loc_get(9)
π eeh_pe_loc_get β a Kernel API Manual moment π
okay so bestie, welcome to eeh_pe_loc_get(9), aka the little function that goes "hey, where are you?" to a PE. it lives in the Kernel API Manual and honestly? she's giving helpful. let's get into it π«Ά
β¨ NAME β¨
eeh_pe_loc_get β Retrieve location code binding to the given PE
like, literally grabbing the location code that's bound to your PE. no cap π
π¦ SYNOPSIS π¦
const char * eeh_pe_loc_get (struct eeh_pe *pe );
πΈ ARGUMENTS πΈ
peβ the EEH PE. that's the one. the main character. we're finding her location code π₯
π DESCRIPTION π
okay so here's the vibe: this function retrieves the location code of the given PE.
now the tea β β how it gets that location code depends on the setup:
- If the primary PE bus is root bus, we will grab the location code from the PHB device tree node or the root port. easy. slay β¨
- Otherwise, the upstream bridge's device tree node of the primary PE bus will be checked for the location code. different path, same quest π
either way, she finds the location code. periodt π
π SEE ALSO π
this is the part where i list every single friend in her group chat, because bestie stays connected π±π
- 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_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_bus(9)_eeh_pe_bus_get(9)eeh_pe_bus_get(9)eeh_pe_bus_get_nolock(9)
ngl the whole squad showed up for this one. iykyk πβ
and that's the page, bestie!! π this one's from ./arch/powerpc/kernel, dated October 2026, page eeh_pe_loc_get(9) β go off and read the docs, mwah ππ¦ππ
π¦ 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