]> 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)
commit11d12455fe5b01fe8bd70d0a9526097fab1d88b6
tree56828cd8f49f74cf17c6126dbad9b60dc9b2a0d9
parent4cd6a5a8215fe31f4231369118c2edbc089a3899
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