diff options
author | Joel Fernandes (Google) <[email protected]> | 2018-10-17 03:13:55 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2018-10-22 07:11:58 -0700 |
commit | 416031653eb55f844e3547fb8f8576399a800da0 (patch) | |
tree | 34316a8c8acabd4ece304c2374ef87084aa41d81 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cb095afd44768bf495894b9ad063bd078e4bb201 (diff) |
pstore: Allocate compression during late_initcall()
ramoops's call of pstore_register() was recently moved to run during
late_initcall() because the crypto backend may not have been ready during
postcore_initcall(). This meant early-boot crash dumps were not getting
caught by pstore any more.
Instead, lets allow calls to pstore_register() earlier, and once crypto
is ready we can initialize the compression.
Reported-by: Sai Prakash Ranjan <[email protected]>
Signed-off-by: Joel Fernandes (Google) <[email protected]>
Tested-by: Sai Prakash Ranjan <[email protected]>
Fixes: cb3bee0369bc ("pstore: Use crypto compress API")
[kees: trivial rebase]
Signed-off-by: Kees Cook <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions