]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: add gaudi profiler module
authorOmer Shpigelman <oshpigelman@habana.ai>
Mon, 11 May 2020 07:46:29 +0000 (10:46 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 19 May 2020 11:48:41 +0000 (14:48 +0300)
commitc85bac7b770c2eda781283e11935aadf67777e3b
treefa6c92b1ccc451da8be54bf9223afbb72a533a0a
parentd182add4b7cff35d7e317febee209c5905881546
habanalabs: add gaudi profiler module

Add the GAUDI code to initialize the ASIC's profiler. The profile receives
its initialization values from the user, same as in Goya, 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: Omer Shpigelman <oshpigelman@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/gaudi/Makefile
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/gaudi/gaudiP.h
drivers/misc/habanalabs/gaudi/gaudi_coresight.c [new file with mode: 0644]