summaryrefslogtreecommitdiff
path: root/drivers/reset
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2023-11-06 19:41:35 +0300
committerOded Gabbay <ogabbay@kernel.org>2023-12-19 12:09:43 +0300
commitae303d885d4a0fcea65330de9327d28edfebd206 (patch)
tree564cfc67a3e9b256e2dcd7c405b39d15212b617c /drivers/reset
parent4b0b1fbc7757169b6d304545a321c7a88f13f8f0 (diff)
downloadlinux-ae303d885d4a0fcea65330de9327d28edfebd206.tar.xz
accel/habanalabs/gaudi2: get the correct QM CQ info upon an error
Upon a QM error, the address/size from both the CQ and the ARC_CQ are printed, although the instruction that led to the error was received from only one of them. Moreover, in case of a QM undefined opcode, only one of these address/size sets will be captured based on the value of ARC_CQ_PTR. However, this value can be non-zero even if currently the CQ is used, in case the CQ/ARC_CQ are alternately used. Under the assumption of having a stop-on-error configuration, modify to use CP_STS.CUR_CQ field to get the relevant CQ for the QM error. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions