Linux-MIPS Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v3] MIPS: Loongson: Make default kernel log buffer size as 128KB for Loongson3
@ 2019-10-16 10:03 Tiezhu Yang
  2019-11-01 23:28 ` Paul Burton
  0 siblings, 1 reply; 2+ messages in thread
From: Tiezhu Yang @ 2019-10-16 10:03 UTC (permalink / raw)
  To: paul.burton, ralf, jhogan, chenhc; +Cc: linux-mips, linux-kernel

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>
---

v3: use the default LOG_BUF_SHIFT value 17 and update the commit message

 arch/mips/configs/loongson3_defconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/mips/configs/loongson3_defconfig b/arch/mips/configs/loongson3_defconfig
index 90ee008..25e1179 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
-- 
2.1.0



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v3] MIPS: Loongson: Make default kernel log buffer size as  128KB for Loongson3
  2019-10-16 10:03 [PATCH v3] MIPS: Loongson: Make default kernel log buffer size as 128KB for Loongson3 Tiezhu Yang
@ 2019-11-01 23:28 ` Paul Burton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Burton @ 2019-11-01 23:28 UTC (permalink / raw)
  To: Tiezhu Yang
  Cc: paul.burton, ralf, jhogan, chenhc, linux-mips, linux-kernel, linux-mips

Hello,

Tiezhu Yang wrote:
> 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.

Applied to mips-next.

> commit 8a5a49987130
> https://git.kernel.org/mips/c/8a5a49987130
> 
> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
> Signed-off-by: Paul Burton <paulburton@kernel.org>

Thanks,
    Paul

[ This message was auto-generated; if you believe anything is incorrect
  then please email paulburton@kernel.org to report it. ]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-16 10:03 [PATCH v3] MIPS: Loongson: Make default kernel log buffer size as 128KB for Loongson3 Tiezhu Yang
2019-11-01 23:28 ` Paul Burton

Linux-MIPS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mips/0 linux-mips/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mips linux-mips/ https://lore.kernel.org/linux-mips \
		linux-mips@vger.kernel.org
	public-inbox-index linux-mips

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-mips


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git