summaryrefslogtreecommitdiff
path: root/drivers/misc/habanalabs/include/goya/asic_reg/goya_masks.h
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-03-05 13:53:22 +0200
committerOded Gabbay <oded.gabbay@gmail.com>2019-03-05 13:53:22 +0200
commit680cb3991c9ed72cefffc49e222a8c8d34ff5e3e (patch)
tree3c2cd9f66735aa23245d975d18627ae23088dd52 /drivers/misc/habanalabs/include/goya/asic_reg/goya_masks.h
parente0a29952c52787f8e4a4fc3046f3e47916ffa239 (diff)
habanalabs: ratelimit warnings at start of IOCTLs
At the start of some IOCTLs we check if the device is disabled or in reset. If it is, we return -EBUSY and print a message to kernel log. Because these IOCTLs can be called at very high frequency, use ratelimit to avoid spamming the kernel log. Also use the same type of message - dev_warn - in all the relevant IOCTLs. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc/habanalabs/include/goya/asic_reg/goya_masks.h')
0 files changed, 0 insertions, 0 deletions