OSDN Git Service

pstore/zone: Introduce common layer to manage storage zones
authorWeiXiong Liao <liaoweixiong@allwinnertech.com>
Wed, 25 Mar 2020 08:54:56 +0000 (16:54 +0800)
committerKees Cook <keescook@chromium.org>
Sat, 30 May 2020 17:34:03 +0000 (10:34 -0700)
commitd26c3321fe18dc74517dc1f518d584aa33b0a851
treed3c0da922ab15fd9beb41c4ae4bcfbcf350c7966
parentacf12c5e58a45cb978d5de4628f767d326c3d740
pstore/zone: Introduce common layer to manage storage zones

Implement a common set of APIs needed to support pstore storage zones,
based on how ramoops is designed. This will be used by pstore/blk with
the intention of migrating pstore/ram in the future.

Signed-off-by: WeiXiong Liao <liaoweixiong@allwinnertech.com>
Link: https://lore.kernel.org/lkml/20200511233229.27745-2-keescook@chromium.org/
Co-developed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/Kconfig
fs/pstore/Makefile
fs/pstore/zone.c [new file with mode: 0644]
include/linux/pstore_zone.h [new file with mode: 0644]