eeh_report_mmio_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– eeh_report_mmio_enabled(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes that's the manual name, we're fancy now πŸ‘‘ β€” and today's main character is eeh_report_mmio_enabled, no cap.


✨ NAME ✨

eeh_report_mmio_enabled β€” the little function that goes and tells drivers that MMIO has been enabled πŸŽ€


🌸 SYNOPSIS 🌸

enum pci_ers_result eeh_report_mmio_enabled (struct eeh_dev *edev ,
struct pci_dev *pdev , struct pci_driver *driver );

like, look at her. three params. returns an enum pci_ers_result. iconic behavior fr fr πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • edev β€” eeh device 🧚
  • pdev β€” literally -- undescribed -- in the original 😭 the manpage said "no thoughts, head empty" on this one, so we're not gonna invent lore. it's the pci device param, bestie, that's all the source gives us πŸ™ˆ
  • driver β€” device's PCI driver ⭐

πŸ’œ DESCRIPTION πŸ’œ

So here's the vibe check: this function tells each device driver that IO ports, MMIO and config space I/O are now enabled. πŸ”₯

That's it. That's the whole job. She's the messenger. She knocks on the driver's door like "hey bestie, IO ports? enabled. MMIO? enabled. config space I/O? also enabled ✨" and the driver is like "slay, thank you" and we move on. main character energy but make it a notification πŸ«ΆπŸ’–


πŸŽ€ SEE ALSO πŸŽ€

Kernel file ./arch/powerpc/kernel/eeh_driver.c β€” the home base, the origin story πŸ πŸ’«

the whole friend group, honestly. go read them all, iykyk πŸŒˆπŸ’€


ngl if you're here you're probably deep in some powerpc EEH business, and honestly? respect. go off πŸ‘‘

kisses, this page came from ./arch/powerpc/kernel, dated October 2026 β€” that's the source and the date, and now it's a cute sign-off instead of a boring footer πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from