[PATCH] powerpc/xmon: make dumping log buffer contents more reliable
Michael Ellerman
patch-notifications at ellerman.id.au
Sun Jun 6 22:08:37 AEST 2021
On Fri, 14 May 2021 11:24:20 -0500, Nathan Lynch wrote:
> Log buffer entries that are too long for dump_log_buf()'s small
> local buffer are:
>
> * silently discarded when a single-line entry is too long;
> kmsg_dump_get_line() returns true but sets &len to 0.
> * silently truncated to the last fitting new line when a multi-line
> entry is too long, e.g. register dumps from __show_regs(); this
> seems undetectable via the kmsg_dump API.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/xmon: make dumping log buffer contents more reliable
https://git.kernel.org/powerpc/c/2cec178e35baf57d307c0982fd2e53055bd1e9bb
cheers
More information about the Linuxppc-dev
mailing list