Searched refs:captured_err_info (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | habanalabs_ioctl.c | 603 info.seq = hdev->captured_err_info.cs_timeout.seq; in cs_timeout_info() 604 info.timestamp = ktime_to_ns(hdev->captured_err_info.cs_timeout.timestamp); in cs_timeout_info() 619 razwi_info = &hdev->captured_err_info.razwi_info; in razwi_info() 637 info.timestamp = ktime_to_ns(hdev->captured_err_info.undef_opcode.timestamp); in undefined_opcode_info() 638 info.engine_id = hdev->captured_err_info.undef_opcode.engine_id; in undefined_opcode_info() 639 info.cq_addr = hdev->captured_err_info.undef_opcode.cq_addr; in undefined_opcode_info() 640 info.cq_size = hdev->captured_err_info.undef_opcode.cq_size; in undefined_opcode_info() 641 info.stream_id = hdev->captured_err_info.undef_opcode.stream_id; in undefined_opcode_info() 642 info.cb_addr_streams_len = hdev->captured_err_info.undef_opcode.cb_addr_streams_len; in undefined_opcode_info() 643 memcpy(info.cb_addr_streams, hdev->captured_err_info.undef_opcode.cb_addr_streams, in undefined_opcode_info() [all …]
|
H A D | device.c | 2461 vfree(hdev->captured_err_info.page_fault_info.user_mappings); in hl_device_fini() 2531 struct razwi_info *razwi_info = &hdev->captured_err_info.razwi_info; in hl_capture_razwi() 2541 if (atomic_cmpxchg(&hdev->captured_err_info.razwi_info.razwi_detected, 0, 1)) in hl_capture_razwi() 2565 struct page_fault_info *pgf_info = &hdev->captured_err_info.page_fault_info; in hl_capture_user_mappings() 2627 struct page_fault_info *pgf_info = &hdev->captured_err_info.page_fault_info; in hl_capture_page_fault() 2652 struct hw_err_info *info = &hdev->captured_err_info.hw_err; in hl_capture_hw_err() 2674 struct fw_err_info *info = &hdev->captured_err_info.fw_err; in hl_capture_fw_err() 2696 void hl_enable_err_info_capture(struct hl_error_info *captured_err_info) in hl_enable_err_info_capture() argument 2698 vfree(captured_err_info->page_fault_info.user_mappings); in hl_enable_err_info_capture() 2699 memset(captured_err_info, 0, sizeof(struct hl_error_info)); in hl_enable_err_info_capture() [all …]
|
H A D | habanalabs_drv.c | 225 hl_enable_err_info_capture(&hdev->captured_err_info); in hl_device_open()
|
H A D | command_submission.c | 831 rc = atomic_cmpxchg(&hdev->captured_err_info.cs_timeout.write_enable, 1, 0); in cs_timedout() 833 hdev->captured_err_info.cs_timeout.timestamp = ktime_get(); in cs_timedout() 834 hdev->captured_err_info.cs_timeout.seq = cs->sequence; in cs_timedout()
|
H A D | habanalabs.h | 3390 struct hl_error_info captured_err_info; member 3949 void hl_enable_err_info_capture(struct hl_error_info *captured_err_info);
|
/openbmc/linux/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi.c | 6821 hdev->captured_err_info.undef_opcode.cq_addr = cq_ptr; in gaudi_handle_sw_config_stream_data() 6822 hdev->captured_err_info.undef_opcode.cq_size = size; in gaudi_handle_sw_config_stream_data() 6823 hdev->captured_err_info.undef_opcode.stream_id = stream; in gaudi_handle_sw_config_stream_data() 6889 struct undefined_opcode_info *undef_opcode = &hdev->captured_err_info.undef_opcode; in gaudi_handle_last_pqes_on_err() 6973 hdev->captured_err_info.undef_opcode.write_enable) { in gaudi_handle_qman_err_generic() 6974 memset(&hdev->captured_err_info.undef_opcode, 0, in gaudi_handle_qman_err_generic() 6975 sizeof(hdev->captured_err_info.undef_opcode)); in gaudi_handle_qman_err_generic() 6977 hdev->captured_err_info.undef_opcode.write_enable = false; in gaudi_handle_qman_err_generic()
|