habanalabs: Align protection bits configuration of all TPCs
authorTomer Tayar <ttayar@habana.ai>
Wed, 1 Apr 2020 16:30:29 +0000 (19:30 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 19 May 2020 11:48:41 +0000 (14:48 +0300)
commit79c823c57e69d9e584a5ee4ee6406eb3854393ae
tree0e47030cdbef1208285af98439312db56c1b4a4f
parenteef544f746171eda1eb7e825cd41a6728dc60218
habanalabs: Align protection bits configuration of all TPCs

Align the protection bits configuration of all TPC cores to be as of TPC
core 0.

Fixes: a513f9a7eca5 ("habanalabs: make tpc registers secured")

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya_security.c