platform/chrome: chromeos_pstore: set user space log size
authorSarthak Kukreti <sarthakkukreti@chromium.org>
Thu, 2 Apr 2020 00:15:48 +0000 (17:15 -0700)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 13 Apr 2020 14:36:54 +0000 (16:36 +0200)
commit1c7c51347f2e2ff5920cee1b54c683e2af06bd81
tree4a6f7df1c0685b878a93bb3279b23039a61dc9cb
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
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>
drivers/platform/chrome/chromeos_pstore.c