summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2019-10-16 18:03:00 +0800
committerPaul Burton <paulburton@kernel.org>2019-11-01 14:33:59 -0700
commit8a5a499871308c093ced3c5a383b72502b96e0d2 (patch)
tree83216bfaf6b19d8651a8d391d892fe4e4ffb8981
parentc80b48965a3f5908468d0c078a910ca22f5dede3 (diff)
downloadlinux-stable-8a5a499871308c093ced3c5a383b72502b96e0d2.tar.gz
linux-stable-8a5a499871308c093ced3c5a383b72502b96e0d2.tar.bz2
linux-stable-8a5a499871308c093ced3c5a383b72502b96e0d2.zip
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
-rw-r--r--arch/mips/configs/loongson3_defconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/configs/loongson3_defconfig b/arch/mips/configs/loongson3_defconfig
index caad7bf7902c..c16a2330e84d 100644
--- a/arch/mips/configs/loongson3_defconfig
+++ b/arch/mips/configs/loongson3_defconfig
@@ -12,7 +12,6 @@ CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
-CONFIG_LOG_BUF_SHIFT=14
CONFIG_MEMCG=y
CONFIG_MEMCG_SWAP=y
CONFIG_BLK_CGROUP=y