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

2023-02-27 Thread Oded Gabbay
From: Dafna Hirschfeld 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 Revi

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

2023-03-01 Thread Stanislaw Gruszka
On Mon, Feb 27, 2023 at 01:13:04PM +0200, Oded Gabbay wrote: > From: Dafna Hirschfeld > > 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 o