pnv_eeh_set_option(9)
π pnv_eeh_set_option β the glow-up page β¨
okay bestie, so we're in the Kernel API Manual today, and this one is a little PowerNV/EEH function called pnv_eeh_set_option. It's short, it's sweet, and it's literally the main character of EEH global control. let's get into it π
πΈ SYNOPSIS πΈ
int pnv_eeh_set_option (struct eeh_pe *pe , int option );
that's it. that's the whole vibe. two arguments, one int coming back at you. slay. π
β¨ ARGUMENTS β¨
peβ the EEH PE. yes queen, this is your processing element, the thing you're operating on π«Άoptionβ the operation to be issued. like, the actual thing you want done. pick your fighter.
π DESCRIPTION π
so the tea is this: pnv_eeh_set_option is used to control the EEH functionality globally. globally, bestie, not locally, not casually, globally. π
and currently, according to PAPR, these are the options that are supported:
- Enable EEH π₯
- Disable EEH π
- Enable MMIO π
- Enable DMA β
that's the whole list. four iconic options, no cap. iykyk. β¨
π¦ SEE ALSO π¦
- Kernel file
./arch/powerpc/platforms/powernv/eeh-powernv.cβ go read the source, it's giving homework but make it cute π pnv_eeh_post_init(9)pnv_eeh_probe(9)pnv_eeh_get_state(9)pnv_eeh_reset(9)pnv_eeh_get_log(9)pnv_eeh_configure_bridge(9)pnv_eeh_next_error(9)eeh_powernv_init(9)
like a little friend group of functions, all hanging out in ./arch/powerpc/platforms/powernv. obsessed. π
okay that's the page!! mwah π this one's from the Kernel API Manual, lives in ./arch/powerpc/platforms/powernv, and the date on it is October 2026 β so yeah, it's futuristic and iconic and you should fr fr bookmark it. byeeee π§ββοΈπΈ
π¦ 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