[PATCH 1/6] accel/ivpu: Add support for hardware fault injection
Jeffrey Hugo
quic_jhugo at quicinc.com
Fri Jan 31 18:41:20 UTC 2025
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.falkowski at linux.intel.com>
> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz at linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo at quicinc.com>
More information about the dri-devel
mailing list