accel/habanalabs/gaudi2: un-secure register for engine cores interrupt
authorTomer Tayar <ttayar@habana.ai>
Thu, 15 Jun 2023 12:30:39 +0000 (15:30 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 9 Oct 2023 09:37:19 +0000 (12:37 +0300)
commit5a8487ac54019cd597334292f36be4248a97e816
tree420c92e1745d8268a69cd9da72935ddffbbfdf2d
parentb03dc2b621fad55b09126d0e7919b85fdf84a153
accel/habanalabs/gaudi2: un-secure register for engine cores interrupt

The F/W dynamically allocates one of the PSOC scratchpad registers for
the engine cores, so they can raise events towards the F/W.
To allow the engine cores to access this register, this register must be
non-secured.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/gaudi2/gaudi2_security.c