accel/habanalabs: print qman data on error only for lower qman
authorTomer Tayar <ttayar@habana.ai>
Wed, 10 May 2023 10:28:05 +0000 (13:28 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Thu, 8 Jun 2023 09:35:56 +0000 (12:35 +0300)
commit6092cedfff1180b0d0aea402a198397fff609c71
tree4c7126386ad744500beb0826033e71466654026d
parent54381ee8099839c8163cee45b65d824ca76186a2
accel/habanalabs: print qman data on error only for lower qman

By default, the upper QMANs are not used, and instead engines ARCs
access the lower QMANs directly.
Errors for upper QMANs are therefore not expected, and the debug print
of the PQ entries is not needed.

Modify the QMAN debug data print on errors to include only information
for the lower QMAN.

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/gaudi2/gaudi2P.h
drivers/accel/habanalabs/include/gaudi2/asic_reg/gaudi2_regs.h