lkml.org 
[lkml]   [2019]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] habanalabs: rate limit error msg on waiting for CS
Date
On Tue, Dec 3, 2019 at 22:28, Oded Gabbay <oded.gabbay@gmail.com> wrote:
> In case a user submits a CS, and the submission fails, and the user doesn't
> check the return value and instead use the error return value as a valid
> sequence number of a CS and ask to wait on it, the driver will print an
> error and return an error code for that wait.
>
> The real problem happens if now the user ignores the error of the wait, and
> try to wait again and again. This can lead to a flood of error messages
> from the driver and even soft lockup event.
>
> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>

Reviewed-by: Tomer Tayar <ttayar@habana.ai>

\
 
 \ /
  Last update: 2019-12-04 09:01    [W:0.058 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site