printk: reduce LOG_BUF_SHIFT range for H8300
PATCH 1/1 printk: reduce LOG_BUF_SHIFT range for H8300
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.
---
based on next-20200811
init/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
init/Kconfig +2 -1
@@ -682,7 +682,8 @@ config IKHEADERS config LOG_BUF_SHIFT int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" - range 12 25 + range 12 25 if !H8300 + range 12 19 if H8300 default 17 depends on PRINTK help
Signature · 1 line
2.20.1
Quoted 7 lines · On Wed, 12 Aug 2020 09:37:22 +0206 John Ogness <[email protected]>…
The .bss section for the h8300 is relatively small. A value of
CONFIG_LOG_BUF_SHIFTthat 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 <[email protected]>Signed-off-by John Ogness <[email protected]>
-- Steve
Quoted 7 lines · John Ogness
The .bss section for the h8300 is relatively small. A value of
CONFIG_LOG_BUF_SHIFTthat 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 <[email protected]>Signed-off-by John Ogness <[email protected]>
-ss
Quoted 7 lines · John Ogness
The .bss section for the h8300 is relatively small. A value of
CONFIG_LOG_BUF_SHIFTthat 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 <[email protected]>Signed-off-by John Ogness <[email protected]>
This patch is committed in printk/linux.git, branch printk-rework.
Best Regards,
Petr