summaryrefslogtreecommitdiffstats
path: root/fs/pstore/Kconfig
diff options
context:
space:
mode:
authorWeiXiong Liao <liaoweixiong@allwinnertech.com>2020-03-25 09:54:56 +0100
committerKees Cook <keescook@chromium.org>2020-05-30 19:34:03 +0200
commitd26c3321fe18dc74517dc1f518d584aa33b0a851 (patch)
treed3c0da922ab15fd9beb41c4ae4bcfbcf350c7966 /fs/pstore/Kconfig
parentramoops: Add "max-reason" optional field to ramoops DT node (diff)
downloadlinux-d26c3321fe18dc74517dc1f518d584aa33b0a851.tar.xz
linux-d26c3321fe18dc74517dc1f518d584aa33b0a851.zip
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>
Diffstat (limited to 'fs/pstore/Kconfig')
-rw-r--r--fs/pstore/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig
index 8f0369aad22a..98d2457bdd9f 100644
--- a/fs/pstore/Kconfig
+++ b/fs/pstore/Kconfig
@@ -153,3 +153,10 @@ config PSTORE_RAM
"ramoops.ko".
For more information, see Documentation/admin-guide/ramoops.rst.
+
+config PSTORE_ZONE
+ tristate
+ depends on PSTORE
+ help
+ The common layer for pstore/blk (and pstore/ram in the future)
+ to manage storage in zones.