OSDN Git Service

Drivers: hv: Change flag to write log level in panic msg to false
authorJoseph Salisbury <joseph.salisbury@microsoft.com>
Fri, 26 Jun 2020 22:28:17 +0000 (15:28 -0700)
committerWei Liu <wei.liu@kernel.org>
Mon, 29 Jun 2020 10:30:35 +0000 (10:30 +0000)
commit77b48bea2fee47c15a835f6725dd8df0bc38375a
treedc48eb67fb62b3c55533b0ef5b0e6b98928b934a
parent9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68
Drivers: hv: Change flag to write log level in panic msg to false

When the kernel panics, one page of kmsg data may be collected and sent to
Hyper-V to aid in diagnosing the failure.  The collected kmsg data typically
 contains 50 to 100 lines, each of which has a log level prefix that isn't
very useful from a diagnostic standpoint.  So tell kmsg_dump_get_buffer()
to not include the log level, enabling more information that *is* useful to
fit in the page.

Requesting in stable kernels, since many kernels running in production are
stable releases.

Cc: stable@vger.kernel.org
Signed-off-by: Joseph Salisbury <joseph.salisbury@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1593210497-114310-1-git-send-email-joseph.salisbury@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/vmbus_drv.c