remarkable-linux/fs/pstore
Ben Zhang e036bd330d 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>
2015-05-21 09:50:34 -07:00
..
ftrace.c pstore: Add hsize argument in write_buf call of pstore_ftrace_call 2013-07-02 18:39:37 +10:00
inode.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2015-04-26 17:22:07 -07:00
internal.h pstore: Add pmsg - user-space accessible pstore object 2015-01-16 16:01:10 -08:00
Kconfig pstore: Add pmsg - user-space accessible pstore object 2015-01-16 16:01:10 -08:00
Makefile pstore: Add pmsg - user-space accessible pstore object 2015-01-16 16:01:10 -08:00
platform.c fs/pstore: update the backend parameter in pstore module 2015-05-21 09:34:22 -07:00
pmsg.c pstore: Add pmsg - user-space accessible pstore object 2015-01-16 16:01:10 -08:00
ram.c pstore/ram: verify ramoops header before saving record 2015-05-21 09:50:34 -07:00
ram_core.c pstore-ram: Allow optional mapping with pgprot_noncached 2014-12-11 13:38:31 -08:00