habanalabs/gaudi: move coresight mmu config
authorOfir Bitton <obitton@habana.ai>
Wed, 30 Sep 2020 15:43:52 +0000 (18:43 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 4 Nov 2020 06:56:06 +0000 (08:56 +0200)
commit1137e1ead98c0c75f7c5a9a12f0285c5155f20e2
tree8863d38cab697cd907a0c2f2adb0af47cc5ea473
parent82948e6e1d88d2383b82bd3f95c4241a674cd3d9
habanalabs/gaudi: move coresight mmu config

We must relocate the coresight mmu configuration to the coresight
flow to make it work in case the first submission is to configure
the profiler.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/gaudi/gaudiP.h
drivers/misc/habanalabs/gaudi/gaudi_coresight.c