]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs/gaudi2: add gaudi2 profiler module
authorBenjamin Dotan <bdotan@habana.ai>
Sun, 26 Jun 2022 18:35:07 +0000 (21:35 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:28 +0000 (09:09 +0300)
commitd3107a4bb90a59062d412ab725bdf482d61fcb5b
tree9fd37018d54c924dc773960b5f7bda1979d2e3e6
parent87ac13013a51ddbb6ccb42aebe28509576e17e08
habanalabs/gaudi2: add gaudi2 profiler module

Add the Gaudi2 code to initialize the ASIC's profiler. The profile
receives its initialization values from the user, same as in Gaudi2,
but the code to initialize is in the driver because the configuration
space of the device is not directly exposed to the user.

Signed-off-by: Benjamin Dotan <bdotan@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi2/Makefile
drivers/misc/habanalabs/gaudi2/gaudi2.c
drivers/misc/habanalabs/gaudi2/gaudi2_coresight.c [new file with mode: 0644]
drivers/misc/habanalabs/gaudi2/gaudi2_coresight_regs.h [new file with mode: 0644]