[PATCH v4 0/2] mmc: support crash logging to MMC block devices
From: Bhaskara Budiredla
Date: Wed Dec 23 2020 - 09:41:44 EST
This patch introduces to mmcpstore.
v4:
- Fix claiming host if host was already held or
if the device claiming host is not runtime active
v3:
- Justify new host ops requirement through commit msg
- Remove 'default n' in Kconfig
v2:
- Fix modpost issue with ARCH=sh
- Fix usage of ifdefs in common functions
- Add justification of new APIs to mmc_host_ops
- Compile mmcpstore as part of mmc blk
v1: https://lore.kernel.org/linux-mmc/20201112062422.32212-1-bbudiredla@xxxxxxxxxxx/T/#t
v2: https://lore.kernel.org/linux-mmc/6762a763-5284-04dc-e636-486c74dedd34@xxxxxxxxxxxx/T/#u
v3: https://lore.kernel.org/linux-mmc/20201207115753.21728-1-bbudiredla@xxxxxxxxxxx/T/#t
Bhaskara Budiredla (2):
mmc: Support kmsg dumper based on pstore/blk
mmc: cavium: Add MMC polling method to support kmsg panic/oops write
drivers/mmc/core/Kconfig | 14 +-
drivers/mmc/core/Makefile | 1 +
drivers/mmc/core/block.c | 19 ++
drivers/mmc/core/block.h | 9 +
drivers/mmc/core/core.c | 44 ++++
drivers/mmc/core/mmcpstore.c | 310 +++++++++++++++++++++++++++++
drivers/mmc/host/cavium-thunderx.c | 10 +
drivers/mmc/host/cavium.c | 67 +++++++
drivers/mmc/host/cavium.h | 3 +
include/linux/mmc/core.h | 5 +
include/linux/mmc/host.h | 12 ++
11 files changed, 493 insertions(+), 1 deletion(-)
create mode 100644 drivers/mmc/core/mmcpstore.c
--
2.17.1