]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs/gaudi2: add gaudi2 security module
authorOfir Bitton <obitton@habana.ai>
Sun, 26 Jun 2022 18:30:25 +0000 (21:30 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:28 +0000 (09:09 +0300)
commit87ac13013a51ddbb6ccb42aebe28509576e17e08
tree3e47423da1ade4143cb4be042e780323b0f34560
parent65e750a1416265d04ca2331ba178b12ac40301df
habanalabs/gaudi2: add gaudi2 security module

Use the generic security module to block all registers in the ASIC and
then open only those that are needed to be accessed by the user.

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/gaudi2/Makefile
drivers/misc/habanalabs/gaudi2/gaudi2.c
drivers/misc/habanalabs/gaudi2/gaudi2P.h
drivers/misc/habanalabs/gaudi2/gaudi2_security.c [new file with mode: 0644]