]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: add more info ioctls support during reset
authorOfir Bitton <obitton@habana.ai>
Mon, 15 Nov 2021 17:36:25 +0000 (19:36 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 26 Dec 2021 06:59:07 +0000 (08:59 +0200)
commit6a9e8f801d64dcead4d9d4ad9f6a82b7b9c067ab
tree94d864ea4cf39965cdb5d46391a52fb70dab905a
parent240e8e32352dd3b259ebfb3fa3c21136410d241e
habanalabs: add more info ioctls support during reset

Some info ioctls can be served even if the device is disabled or
in reset. Hence, we enable more info ioctls during reset, as these
ioctls do not require any H/W nor F/W communication.

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/common/habanalabs_ioctl.c