]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Loongson: Make default kernel log buffer size as 128KB for Loongson3
authorTiezhu Yang <yangtiezhu@loongson.cn>
Wed, 16 Oct 2019 10:03:00 +0000 (18:03 +0800)
committerPaul Burton <paulburton@kernel.org>
Fri, 1 Nov 2019 21:33:59 +0000 (14:33 -0700)
commit5c3d157205544819118c6e5745c99dfad688556a
tree83216bfaf6b19d8651a8d391d892fe4e4ffb8981
parent37e7014db321983337110ddbf888dbc229d459d9
MIPS: Loongson: Make default kernel log buffer size as 128KB for Loongson3

When I update kernel with loongson3_defconfig based on the Loongson 3A3000
platform, then using dmesg command to show kernel ring buffer, the initial
kernel messages have disappeared due to the log buffer is too small, it is
better to change the kernel log buffer size from 16KB to 128KB which is
enough to save the boot messages.

Since the default LOG_BUF_SHIFT value is 17, the default kernel log buffer
size is 128KB, just delete the CONFIG_LOG_BUF_SHIFT line.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: paul.burton@mips.com
Cc: ralf@linux-mips.org
Cc: jhogan@kernel.org
Cc: chenhc@lemote.com
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/configs/loongson3_defconfig