]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: add information about PCIe controller
authorOfir Bitton <obitton@habana.ai>
Tue, 21 Jul 2020 07:49:51 +0000 (10:49 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 22 Sep 2020 15:49:49 +0000 (18:49 +0300)
commit23fa58d8ecaacb2709a25338b0f3faba0fa8ea64
treebb4a8b951eef94143747d05ac8ef68c19d1549ba
parent4c0bb64fa212fa84912269e0a358b7f4d15b8750
habanalabs: add information about PCIe controller

Update firmware header with new API for getting pcie info
such as tx/rx throughput and replay counter.
These counters are needed by customers for monitor and maintenance
of multiple devices.
Add new opcodes to the INFO ioctl to retrieve these counters.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/common/firmware_if.c
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/common/habanalabs_ioctl.c
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/include/common/armcp_if.h
include/uapi/misc/habanalabs.h