eeh_remove_device(9)
π¦ 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. π
eeh_slot_error_detail(9)eeh_token_to_phys(9)eeh_dev_check_failure(9)eeh_check_failure(9)eeh_pci_enable(9)pcibios_set_pcie_reset_state(9)eeh_set_dev_freset(9)eeh_pe_reset_full(9)eeh_save_bars(9)eeh_init(9)eeh_probe_device(9)eeh_dev_open(9)eeh_dev_release(9)eeh_iommu_group_to_pe(9)eeh_pe_set_option(9)eeh_pe_get_state(9)eeh_pe_reset(9)eeh_pe_configure(9)eeh_pe_inject_err(9)
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
- 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