]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.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)
committerStefan Bader <stefan.bader@canonical.com>
Thu, 10 Dec 2020 11:02:49 +0000 (12:02 +0100)
commit40bae676296c1062ec11ba714fbb3e14eb5723d1
treeeb952d36f9f505e1d2758b2a042d22565b7a3f91
parent46d2ed6333c5616eaa796c48734ee2e208c7b018
printk: reduce LOG_BUF_SHIFT range for H8300

BugLink: https://bugs.launchpad.net/bugs/1904450
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: William Breathitt Gray <william.gray@canonical.com>
init/Kconfig