eeh_dev_check_failure(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

mwah πŸ’– β€” source/version is ./arch/powerpc/kernel, dated October 2026.

πŸ“¦ where this page comes from