From: WeiXiong Liao <liaoweixiong@allwinnertech.com>
To: Kees Cook <keescook@chromium.org>,
Anton Vorontsov <anton@enomsg.org>,
Colin Cross <ccross@android.com>, Tony Luck <tony.luck@intel.com>,
Jonathan Corbet <corbet@lwn.net>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>,
Petr Mladek <pmladek@suse.com>,
Sergey Senozhatsky <sergey.senozhatsky@gmail.com>,
Steven Rostedt <rostedt@goodmis.org>,
Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Rob Herring <robh@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Pavel Tatashin <pasha.tatashin@soleen.com>
Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-mtd@lists.infradead.org,
WeiXiong Liao <liaoweixiong@allwinnertech.com>
Subject: [PATCH v5 00/12] pstore: mtd: support crash log to block and mtd device
Date: Sat, 9 May 2020 19:14:02 +0800 [thread overview]
Message-ID: <1589022854-19821-1-git-send-email-liaoweixiong@allwinnertech.com> (raw)
This is a series to support crash log to block and mtd device,
base on v4 of Kees Cook's.
Changes since v4:
patch 1: adapt pstore to kmsg_dump_reason_str().
patch 2: fix bugs that decompress failed and rmmod failed.
use atomic_xchg() on psz_flush_dirty_zone() in case of reload.
patch 3: fix build error
patch 5: flush pmsg zone if it's dirty.
patch 6: use delayed work to cache more data and reduce calling
dirty-flusher times
patch 12: change dev_err() to pr_err() when initialize because it get
no pointer to mtd at that time.
v4: https://lore.kernel.org/lkml/20200508064004.57898-1-keescook@chromium.org/
v3: https://lore.kernel.org/lkml/1585126506-18635-1-git-send-email-liaoweixiong@allwinnertech.com/
v2: https://lore.kernel.org/lkml/1581078355-19647-1-git-send-email-liaoweixiong@allwinnertech.com/
v1: https://lore.kernel.org/lkml/1579482233-2672-1-git-send-email-liaoweixiong@allwinnertech.com/
Kees Cook (1):
printk: pstore: Introduce kmsg_dump_reason_str()
WeiXiong Liao (11):
pstore/zone: Introduce common layer to manage storage zones
pstore/blk: Introduce backend for block devices
pstore/blk: Provide way to choose pstore frontend support
pstore/blk: Add support for pmsg frontend
pstore/blk: Add console frontend support
pstore/blk: Add ftrace frontend support
Documentation: Add details for pstore/blk
pstore/zone: Provide way to skip "broken" zone for MTD devices
pstore/blk: Provide way to query pstore configuration
pstore/blk: Support non-block storage devices
mtd: Support kmsg dumper based on pstore/blk
Documentation/admin-guide/pstore-blk.rst | 243 +++++
MAINTAINERS | 1 +
drivers/mtd/Kconfig | 10 +
drivers/mtd/Makefile | 1 +
drivers/mtd/mtdpstore.c | 563 +++++++++++
fs/pstore/Kconfig | 109 +++
fs/pstore/Makefile | 6 +
fs/pstore/blk.c | 481 ++++++++++
fs/pstore/platform.c | 22 +-
fs/pstore/zone.c | 1508 ++++++++++++++++++++++++++++++
include/linux/kmsg_dump.h | 7 +
include/linux/pstore_blk.h | 77 ++
include/linux/pstore_zone.h | 60 ++
kernel/printk/printk.c | 21 +
14 files changed, 3088 insertions(+), 21 deletions(-)
create mode 100644 Documentation/admin-guide/pstore-blk.rst
create mode 100644 drivers/mtd/mtdpstore.c
create mode 100644 fs/pstore/blk.c
create mode 100644 fs/pstore/zone.c
create mode 100644 include/linux/pstore_blk.h
create mode 100644 include/linux/pstore_zone.h
--
1.9.1
next reply other threads:[~2020-05-09 11:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-09 11:14 WeiXiong Liao [this message]
2020-05-09 11:14 ` [PATCH v5 01/12] printk: pstore: Introduce kmsg_dump_reason_str() WeiXiong Liao
2020-05-09 11:14 ` [PATCH v5 02/12] pstore/zone: Introduce common layer to manage storage zones WeiXiong Liao
2020-05-09 11:14 ` [PATCH v5 03/12] pstore/blk: Introduce backend for block devices WeiXiong Liao
2020-05-09 11:14 ` [PATCH v5 04/12] pstore/blk: Provide way to choose pstore frontend support WeiXiong Liao
2020-05-09 11:14 ` [PATCH v5 05/12] pstore/blk: Add support for pmsg frontend WeiXiong Liao
2020-05-09 11:14 ` [PATCH v5 06/12] pstore/blk: Add console frontend support WeiXiong Liao
2020-05-09 11:14 ` [PATCH v5 07/12] pstore/blk: Add ftrace " WeiXiong Liao
2020-05-09 11:14 ` [PATCH v5 08/12] Documentation: Add details for pstore/blk WeiXiong Liao
2020-05-09 11:14 ` [PATCH v5 09/12] pstore/zone: Provide way to skip "broken" zone for MTD devices WeiXiong Liao
2020-05-09 11:14 ` [PATCH v5 10/12] pstore/blk: Provide way to query pstore configuration WeiXiong Liao
2020-05-09 11:14 ` [PATCH v5 11/12] pstore/blk: Support non-block storage devices WeiXiong Liao
2020-05-09 11:14 ` [PATCH v5 12/12] mtd: Support kmsg dumper based on pstore/blk WeiXiong Liao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1589022854-19821-1-git-send-email-liaoweixiong@allwinnertech.com \
--to=liaoweixiong@allwinnertech.com \
--cc=anton@enomsg.org \
--cc=ccross@android.com \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=gregkh@linuxfoundation.org \
--cc=keescook@chromium.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=mchehab+huawei@kernel.org \
--cc=miquel.raynal@bootlin.com \
--cc=pasha.tatashin@soleen.com \
--cc=pmladek@suse.com \
--cc=richard@nod.at \
--cc=robh@kernel.org \
--cc=rostedt@goodmis.org \
--cc=sergey.senozhatsky@gmail.com \
--cc=tony.luck@intel.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).