habanalabs: ratelimit error prints of IRQs
authorOded Gabbay <oded.gabbay@gmail.com>
Thu, 16 Jan 2020 14:48:16 +0000 (16:48 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 24 Mar 2020 08:54:16 +0000 (10:54 +0200)
commite5509d52793c7535cca1df28dba893d2b2e8ce02
tree73b6169e6f3c3e044b9528baab23fb6c5fd53dcf
parent5cce51464c61b868157e578261d45fe389e81e54
habanalabs: ratelimit error prints of IRQs

The compute engines can perform millions of transactions per second. If
there is a bug in the S/W stack, we could get a lot of interrupts and spam
the kernel log. Therefore, ratelimit these prints

Reviewed-by: Omer Shpigelman <oshpigelman@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya.c