]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: rate limit multi CS completion errors
authorOfir Bitton <obitton@habana.ai>
Thu, 9 Sep 2021 06:56:37 +0000 (09:56 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 14 Sep 2021 12:00:04 +0000 (15:00 +0300)
commit12ce6cf965f0476638516721f10c3060b8d992be
tree64f633b0ff12b30b3c89381b3f6d6046b7426b44
parent425ccfd8c698759fcafd5f601c0380c52a6d650f
habanalabs: rate limit multi CS completion errors

As user can send wrong arguments to multi CS API, we rate limit
the amount of errors dumped to dmesg, in addition we change the
severity to warning.

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/command_submission.c