]> www.infradead.org Git - users/jedix/linux-maple.git/commit
accel/habanalabs: print timestamp of last PQ heartbeat on EQ heartbeat failure
authorTomer Tayar <ttayar@habana.ai>
Wed, 1 May 2024 12:10:59 +0000 (15:10 +0300)
committerOfir Bitton <obitton@habana.ai>
Sun, 23 Jun 2024 06:53:33 +0000 (09:53 +0300)
commit5cb97d74c3c7ad93750fc3f11875159500380d1c
treed1947923e796b22a92f442bd9a317228388b0c18
parentc4548eee537ed7671170eb370c6c8db12dcfd3e8
accel/habanalabs: print timestamp of last PQ heartbeat on EQ heartbeat failure

The test packet which is sent to FW for the PQ heartbeat is used also as
the trigger in FW to send the EQ heartbeat event.
Add the time of the last sent packet to the debug info which is printed
upon a EQ heartbeat failure.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Ofir Bitton <obitton@habana.ai>
Signed-off-by: Ofir Bitton <obitton@habana.ai>
drivers/accel/habanalabs/common/device.c
drivers/accel/habanalabs/common/firmware_if.c
drivers/accel/habanalabs/common/habanalabs.h