eeh_dev_check_failure(9)
π eeh_dev_check_failure(9) π
okay so welcome to the Kernel API Manual, bestie β this is the page for eeh_dev_check_failure(9), and the manual name is folded right up here at the top because we're cute like that π.
πΈ NAME πΈ
eeh_dev_check_failure β check if all 1's data is due to an EEH slot freeze.
β¨ SYNOPSIS β¨
int eeh_dev_check_failure (struct eeh_dev *edev );
π«Ά ARGUMENTS π«Ά
edevβ the eeh device. literally that's the whole argument, icon.
π DESCRIPTION π
okay so this routine checks for an EEH failure for the given device node. Call it when the result of a read was all 0xff's and you want to find out if that's because of an EEH slot freeze β it's giving βis the slot frozen or is the hardware just being dramatic?β energy π. This routine will query firmware for the EEH status.
It returns 0 if there has not been an EEH error; otherwise it returns a non-zero value and queues up a slot isolation event notification. So 0 = no EEH error, non-zero = bestie we have a situation, and the notification gets queued. π₯
It is safe to call this routine in an interrupt context. no cap.
π SEE ALSO π
Kernel file: ./arch/powerpc/kernel/eeh.c β here's the whole friend group:
eeh_slot_error_detail(9)eeh_token_to_phys(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_remove_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 π β source/version is ./arch/powerpc/kernel, dated October 2026.
π¦ 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