diff options
author | Ben Zhang <benzh@chromium.org> | 2015-05-21 09:50:34 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2015-05-21 09:50:34 -0700 |
commit | e036bd330d21e929e94ed4d5432f9d279b19ce47 (patch) | |
tree | 6b8dfaecbbe53c2b8172e32283e40e128c746e6b /arch/arm64/include | |
parent | 07239fc854ec61b3cdc400d2a50d322d39c673f6 (diff) | |
download | linux-e036bd330d21e929e94ed4d5432f9d279b19ce47.tar.gz linux-e036bd330d21e929e94ed4d5432f9d279b19ce47.tar.bz2 linux-e036bd330d21e929e94ed4d5432f9d279b19ce47.zip |
pstore/ram: verify ramoops header before saving record
On some devices the persistent memory contains junk after a cold boot,
and /dev/pstore/dmesg-ramoops-* are created with random data which is
not the result of a kernel crash.
This patch adds a ramoops header check and skips any
persistent_ram_zone that does not have a valid header.
Signed-off-by: Ben Zhang <benzh@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/arm64/include')
0 files changed, 0 insertions, 0 deletions