accel/habanalabs/gaudi2: use correct registers to dump QM CQ info
authorTomer Tayar <ttayar@habana.ai>
Fri, 17 Nov 2023 10:49:19 +0000 (12:49 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 19 Dec 2023 09:09:43 +0000 (11:09 +0200)
commit5bc155cfea605cd64aa372b44a67473b49c4726c
tree534426f99e516053332285ae0b0c297892336bbb
parent47a552863d6c9ea26abe9ad35d2c35e4d6896551
accel/habanalabs/gaudi2: use correct registers to dump QM CQ info

The QM CQ PTR_LO/PTR_HI/TSIZE registers are for pushing a CQ entry, and
although they are updated by HW even when descriptors are fetched by PQ
and CB addresses are fed into CQ, the correct registers to use when
dumping the CQ info are the ones with the _STS suffix.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/gaudi2/gaudi2.c
drivers/accel/habanalabs/include/gaudi2/asic_reg/gaudi2_regs.h