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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,
};