eeh_pe_state_mark(9)
π eeh_pe_state_mark(9) β from the Kernel API Manual, bestie β¨
okay so welcome to the group chat, this is eeh_pe_state_mark from the Kernel API Manual and honestly? she's a tiny function with main character energy π
β¨ NAME β¨
eeh_pe_state_mark β marks the specified state for a PE and its associated device π«Ά
πΈ SYNOPSIS πΈ
void eeh_pe_state_mark (struct eeh_pe *root , int state );
like literally that's the whole signature, no cap π
π¦ ARGUMENTS π¦
okay bestie don't come for me but the docs are kinda ghosting us here:
rootβ-- undescribed --π yeah. that's genuinely it. the manpage said nothing. it's giving mystery.stateβ-- undescribed --π same vibe. no description. we simply do not know from this page alone. (iykyk β go read the source if you need the tea.)
ngl I'm not gonna invent details for these two, because making stuff up about kernel args is not the move π the original page literally leaves them blank, so blank they stay.
π₯ DESCRIPTION π₯
so here's the situation: an EEH error affects the current PE and its child PEs. (yes, the whole little family, it's a whole thing π)
this function is the one that goes around marking the appropriate state for the affected PEs and the associated devices. that's her job. that's her whole thing. iconic behaviour honestly π
she takes root and state, and the affected PEs plus their associated devices get marked. periodt.
π§ SEE ALSO π§
she runs with a whole crew, and the source file lives in the kernel at ./arch/powerpc/kernel/eeh_pe.c β go say hi to the rest of the squad:
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_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, twenty-two friends and a source path. she's connected π
and that's the whole page, bestie β no crumbs left behind, every flag and reference accounted for β¨
this little love letter came to you from ./arch/powerpc/kernel, dated October 2026, and it's signed eeh_pe_state_mark(9) π mwah, go mark some state π
π¦ 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