summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/apei/erst.c
diff options
context:
space:
mode:
authorAruna Balakrishnaiah2013-08-16 22:53:10 +0200
committerTony Luck2013-08-19 19:18:11 +0200
commitb0aad7a99c1df90c23ff4bac76eea9cf25049e9e (patch)
tree3b9c9bd902ac66b1597187b57aa6a754d6d0d846 /drivers/acpi/apei/erst.c
parentpstore/Kconfig: Select ZLIB_DEFLATE and ZLIB_INFLATE when PSTORE is selected (diff)
downloadkernel-qcow2-linux-b0aad7a99c1df90c23ff4bac76eea9cf25049e9e.tar.gz
kernel-qcow2-linux-b0aad7a99c1df90c23ff4bac76eea9cf25049e9e.tar.xz
kernel-qcow2-linux-b0aad7a99c1df90c23ff4bac76eea9cf25049e9e.zip
pstore: Add compression support to pstore
Add compression support to pstore which will help in capturing more data. Initially, pstore will make a call to kmsg_dump with a bigger buffer and will pass the size of bigger buffer to kmsg_dump and then compress the data to registered buffer of registered size. In case compression fails, pstore will capture the uncompressed data by making a call again to kmsg_dump with registered_buffer of registered size. Pstore will indicate the data is compressed or not with a flag in the write callback. 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>
Diffstat (limited to 'drivers/acpi/apei/erst.c')
0 files changed, 0 insertions, 0 deletions