Skip to content

Commit 1c7c513

Browse files
Sarthak KukretiEnric Balletbo i Serra
authored andcommitted
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 <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Enric Balletbo i Serra <[email protected]>
1 parent 8f3d9f3 commit 1c7c513

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/platform/chrome/chromeos_pstore.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ static struct ramoops_platform_data chromeos_ramoops_data = {
5757
.record_size = 0x40000,
5858
.console_size = 0x20000,
5959
.ftrace_size = 0x20000,
60+
.pmsg_size = 0x20000,
6061
.dump_oops = 1,
6162
};
6263

0 commit comments

Comments
 (0)