pstore/zone,blk: Add console frontend support
authorWeiXiong Liao <liaoweixiong@allwinnertech.com>
Wed, 25 Mar 2020 08:55:00 +0000 (16:55 +0800)
committerKees Cook <keescook@chromium.org>
Sat, 30 May 2020 17:34:03 +0000 (10:34 -0700)
commitcc9c4d1b5597167f8e8c92f6b61e1cda6d01884d
treee85923479c50fbc727359bd5add5bfd5581ab040
parent0dc068265a1c5923ffebf40388fbe93050a77ad1
pstore/zone,blk: Add console frontend support

Support backend for console. To enable console backend, just make
console_size be greater than 0 and a multiple of 4096.

Signed-off-by: WeiXiong Liao <liaoweixiong@allwinnertech.com>
Link: https://lore.kernel.org/lkml/20200511233229.27745-5-keescook@chromium.org/
Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/Kconfig
fs/pstore/blk.c
fs/pstore/zone.c
include/linux/pstore_zone.h