eeh_remove_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ eeh_remove_device(9) πŸ¦‹

okay so bestie, this little icon lives in the Kernel API Manual, and it’s literally the β€œundo” moment for EEH setup on a pci device. no cap. πŸ’…


🌸 NAME 🌸

eeh_remove_device β€” undo EEH setup for the indicated pci device. periodt. ✨


✨ SYNOPSIS ✨

void eeh_remove_device (struct pci_dev *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the pci device to be removed. that’s the main character getting its EEH setup undone, fr fr. 🫢

πŸ’… DESCRIPTION πŸ’…

okay so you call this routine when a device is removed from a running system β€” think hotplug or dlpar, those kinds of moments. it unregisters the PCI device from the EEH subsystem. 🧚

and here’s the part you gotta clock: after this call, I/O errors affecting this device will no longer be detected. because of that, i/o errors affecting this slot may leave this device unusable. so yeah, it’s giving β€œcleanup era,” but with real consequences. 😭

heads up bestie: after this call, I/O errors for this device go undetected, and i/o errors affecting this slot may leave this device unusable. that’s straight from the page, not me being dramatic. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./arch/powerpc/kernel/eeh.c β€” that’s the spot, iykyk. 🌈


mwah πŸ’‹ this page is chillin’ under the source/version path ./arch/powerpc/kernel, dated October 2026. byeee, go read the other EEH pages, they’re lowkey a whole saga πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from