fault injection: query if a fault has been injected?

From: Jani Nikula

Date: Thu Nov 27 2025 - 07:49:12 EST



Hi Akinobu -

The i915 driver has its own fault injection mechanism that we're in the
process of migrating to the kernel generic fault injection.

One feature we have is being able to check if a fault has been injected
in the driver. We could then tone down certain error/warning messages to
debug messages. The point being, CI could more trivially ignore the
expected failures, while still failing on errors and warnings that are
unrelated to the injected fault.

Is there anything like that in the generic fault injection mechanism? Or
do we have to figure all of this out in user space?


BR,
Jani.

--
Jani Nikula, Intel