Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: cb3bee0 ("pstore: Use crypto compress API") [kees: trivial rebase] Signed-off-by: Kees Cook <[email protected]> Tested-by: Guenter Roeck <[email protected]>
- Loading branch information