habanalabs: add debugfs write64/read64
authorMoti Haimovski <mhaimovski@habana.ai>
Tue, 12 Nov 2019 07:40:11 +0000 (09:40 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 24 Mar 2020 08:54:16 +0000 (10:54 +0200)
commit5cce51464c61b868157e578261d45fe389e81e54
tree594d4962f55cc80f74de4ee33b69b1161387e807
parent0c002ceb39feb26c53ed55ae490b7e6d3b0e6904
habanalabs: add debugfs write64/read64

Allow debug user to write/read 64-bit data through debugfs.
This will expedite the dump process of the (large) internal
memories of the device done during debug.

Signed-off-by: Moti Haimovski <mhaimovski@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Documentation/ABI/testing/debugfs-driver-habanalabs
drivers/misc/habanalabs/debugfs.c
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/habanalabs.h