]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
printk: reduce LOG_BUF_SHIFT range for H8300
authorJohn Ogness <john.ogness@linutronix.de>
Wed, 12 Aug 2020 07:31:22 +0000 (09:37 +0206)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Nov 2020 09:22:13 +0000 (10:22 +0100)
commitae6df24b20047eb39cb6cfe35779de00b51cea46
treee938169d47b983e94cb39fea71e7f2d0b67be0de
parent4590499cb652e0ed215cc0ec2b981ae597a964b3
printk: reduce LOG_BUF_SHIFT range for H8300

[ Upstream commit 550c10d28d21bd82a8bb48debbb27e6ed53262f6 ]

The .bss section for the h8300 is relatively small. A value of
CONFIG_LOG_BUF_SHIFT that is larger than 19 will create a static
printk ringbuffer that is too large. Limit the range appropriately
for the H8300.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20200812073122.25412-1-john.ogness@linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
init/Kconfig