Commit 1c7c5134 authored by Sarthak Kukreti's avatar Sarthak Kukreti Committed by Enric Balletbo i Serra

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: default avatarSarthak Kukreti <sarthakkukreti@chromium.org>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
parent 8f3d9f35
...@@ -57,6 +57,7 @@ static struct ramoops_platform_data chromeos_ramoops_data = { ...@@ -57,6 +57,7 @@ static struct ramoops_platform_data chromeos_ramoops_data = {
.record_size = 0x40000, .record_size = 0x40000,
.console_size = 0x20000, .console_size = 0x20000,
.ftrace_size = 0x20000, .ftrace_size = 0x20000,
.pmsg_size = 0x20000,
.dump_oops = 1, .dump_oops = 1,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment