]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: expose device security status through sysfs
authorOfir Bitton <obitton@habana.ai>
Wed, 3 Aug 2022 14:16:56 +0000 (17:16 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 18 Sep 2022 10:29:52 +0000 (13:29 +0300)
commitbcce0c3a1d362764a22915e824b90ec95019550c
tree56828cd8f49f74cf17c6126dbad9b60dc9b2a0d9
parent0759093529419a6e5b69dcd7ae90ee86cbbfadd8
habanalabs: expose device security status through sysfs

In order for the user to know if he is running on a secured device
or not, a sysfs node is added.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Documentation/ABI/testing/sysfs-driver-habanalabs
drivers/misc/habanalabs/common/sysfs.c