accel/habanalabs/gaudi2: add zero padding when printing QM CP instruction
authorTomer Tayar <ttayar@habana.ai>
Thu, 23 Nov 2023 07:49:36 +0000 (09:49 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 19 Dec 2023 09:09:44 +0000 (11:09 +0200)
commit565ee78840906da33f124c143e0c788e42f824e8
tree6ffb9935c1a4ec4bbca305dc5e4f8de2381f13c6
parentd980e1ced9899451d2d2a84030ce9f2a04eae7e8
accel/habanalabs/gaudi2: add zero padding when printing QM CP instruction

QM instructions are in multiples of 64 bits and the command type is in
the upper bits of first QWORD.
To make it clearer that an undefined command is due to a type of 0x0,
always print all 64 bits and add a zero padding if needed.

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