platform/chrome: chromeos_pstore: set user space log size
On x86 ChromiumOS devices, the pmsg_size is set to 0 (check /sys/module/ramoops/parameters/pmsg_size): this prevents use of pstore-pmsg, even if CONFIG_PSTORE_PMSG is enabled. Set pmsg_size to a value that is consistent with the size used on non-x86 ChromiumOS devices. Signed-off-by: Sarthak Kukreti <sarthakkukreti@chromium.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
This commit is contained in:
parent
8f3d9f3542
commit
1c7c51347f
|
@ -57,6 +57,7 @@ static struct ramoops_platform_data chromeos_ramoops_data = {
|
|||
.record_size = 0x40000,
|
||||
.console_size = 0x20000,
|
||||
.ftrace_size = 0x20000,
|
||||
.pmsg_size = 0x20000,
|
||||
.dump_oops = 1,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue