pnv_eeh_set_option(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ¦‹

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