diff options
author | Michael Kelley <mikelley@microsoft.com> | 2021-04-20 17:44:19 +0200 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2021-04-20 21:48:15 +0200 |
commit | aa5b7d11c7cb87c266d705b237368985e7171958 (patch) | |
tree | a3bce8cb021075c157a6b0909f43a92233440312 /arch/x86/include/asm/mshyperv.h | |
parent | Drivers: hv: vmbus: Increase wait time for VMbus unload (diff) | |
download | linux-aa5b7d11c7cb87c266d705b237368985e7171958.tar.xz linux-aa5b7d11c7cb87c266d705b237368985e7171958.zip |
video: hyperv_fb: Add ratelimit on error message
Due to a full ring buffer, the driver may be unable to send updates to
the Hyper-V host. But outputing the error message can make the problem
worse because console output is also typically written to the frame
buffer. As a result, in some circumstances the error message is output
continuously.
Break the cycle by rate limiting the error message. Also output
the error code for additional diagnosability.
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1618933459-10585-1-git-send-email-mikelley@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/mshyperv.h')
0 files changed, 0 insertions, 0 deletions