On 1/29/2025 5:56 AM, Jacek Lawrynowicz wrote:
This commit introduces the capability to simulate hardware faults for

Nit - "This commit" is redundant.

testing purposes. The new `fail_hw` fault can be injected in
`ivpu_hw_reg_poll_fld()`, which is used in various parts of the driver
to wait for the hardware to reach a specific state. This allows to test
failures during NPU boot and shutdown, IPC message handling and more.

Fault injection can be enabled using debugfs or a module parameter.

Reviewed-by: Maciej Falkowski <maciej.falkow...@linux.intel.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynow...@linux.intel.com>

Reviewed-by: Jeffrey Hugo <quic_jh...@quicinc.com>

Reply via email to