[PATCH 4/6] habanalabs: assert return value of hw_fini

Stanislaw Gruszka stanislaw.gruszka at linux.intel.com
Wed Mar 1 13:31:51 UTC 2023


On Mon, Feb 27, 2023 at 01:13:04PM +0200, Oded Gabbay wrote:
> From: Dafna Hirschfeld <dhirschfeld at habana.ai>
> 
> Since hw_fini return error code for failure indication, we should
> check its return value. Currently it might only fail upon soft-reset
> from hl_device_reset. Later patch will add hw_fini failure in case of
> polling timeout in hard-reset.
> 
> Signed-off-by: Dafna Hirschfeld <dhirschfeld at habana.ai>
> Reviewed-by: Oded Gabbay <ogabbay at kernel.org>
> Signed-off-by: Oded Gabbay <ogabbay at kernel.org>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka at linux.intel.com>


More information about the dri-devel mailing list