Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/accel/habanalabs/common/device.c hl_device_heartbeat() -> hl_device_cond_reset()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 hdev->captured_err_info.fw_err.event.err_type 0-1
PARAM_VALUE 0 hdev->captured_err_info.fw_err.event.event_id 0,645
PARAM_VALUE 0 hdev->captured_err_info.fw_err.event_detected.counter 0-s32max
PARAM_VALUE 0 hdev->captured_err_info.fw_err.event_info_available 1
PARAM_VALUE 0 hdev->device_fini_pending 0
PARAM_VALUE 0 hdev->disabled 0
PARAM_VALUE 0 hdev->init_done 1-255
PARAM_VALUE 0 hdev->reset_info.in_reset 0
PARAM_VALUE 0 hdev->reset_info.needs_reset 0
PARAM_VALUE 1 flags 5
PARAM_VALUE 2 event_mask 20
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/accel/habanalabs/common/irq.c handle_tpc_interrupt() -> hl_device_cond_reset()

Type Parameter Key Value
PARAM_VALUE 1 flags 128
PARAM_VALUE 2 event_mask 37
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq

drivers/accel/habanalabs/common/irq.c hl_irq_eq_error_interrupt_thread_handler() -> hl_device_cond_reset()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->dev 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev->class 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev->driver 0,4096-ptr_max
PARAM_VALUE 1 flags 1
PARAM_VALUE 2 event_mask 20
DATA_SOURCE 0 hdev $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/accel/habanalabs/gaudi/gaudi.c gaudi_handle_eqe() -> hl_device_cond_reset()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->rreg 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->wreg 4096-ptr_max
PARAM_VALUE 0 hdev->asic_specific 4096-ptr_max
PARAM_VALUE 1 flags 33,97,129,193
PARAM_VALUE 2 event_mask 0,4-u64max
DATA_SOURCE 0 hdev $0
FUZZY_MAX 1 flags 193
BIT_INFO 1 flags 0x1,0xe1
HARD_MAX 1 flags 193
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/accel/habanalabs/common/decoder.c dec_abnrm_intr_work() -> hl_device_cond_reset()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 hdev->dev 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev->class 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev->driver 0,4096-ptr_max
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 event_mask 6,36,38,68,70,100,102
BIT_INFO 2 event_mask 0x4,0x66
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/accel/habanalabs/common/command_submission.c cs_timedout() -> hl_device_cond_reset()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->captured_err_info.cs_timeout.write_enable.counter 0-s32max
PARAM_VALUE 0 hdev->dev 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev->class 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.state_dump_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hdev->hl_debugfs.state_dump_sem.first_waiter->type 0-1
PARAM_VALUE 0 hdev->reset_info.needs_reset 1
PARAM_VALUE 0 hdev->reset_on_lockup 1-255
PARAM_VALUE 1 flags 8
PARAM_VALUE 2 event_mask 4,12
BIT_INFO 2 event_mask 0x4,0xc
BIT_INFO 2 event_mask 0x4,0xc
NOCHECK_CALL
UNITS 0 hdev unit_byte
HALF_LOCKED2 &pool->lock