]> git.karo-electronics.de Git - linux-beck.git/commit
efi-pstore: Read and write to the 'compressed' flag of pstore
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Fri, 16 Aug 2013 20:57:51 +0000 (13:57 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 19 Aug 2013 18:53:45 +0000 (11:53 -0700)
commitf8c62f34fe868f5bcca88a32e4a5c52b67de661d
tree450799c8e36e38739004d263babc2b69514b82c6
parent901037ba31c09132b820f2a21b66444fca735749
efi-pstore: Read and write to the 'compressed' flag of pstore

In pstore write, Efi will add a character 'C'(compressed) or
D'(decompressed) in its header while writing to persistent store.
In pstore read, read the header and update the 'compressed' flag
accordingly.

Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
drivers/firmware/efi/efi-pstore.c