This patch introduces to mmcpstore. 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 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 | 24 +++ drivers/mmc/core/mmcpstore.c | 302 +++++++++++++++++++++++++++++ drivers/mmc/host/cavium-thunderx.c | 10 + drivers/mmc/host/cavium.c | 67 +++++++ drivers/mmc/host/cavium.h | 3 + include/linux/mmc/core.h | 4 + include/linux/mmc/host.h | 12 ++ 11 files changed, 464 insertions(+), 1 deletion(-) create mode 100644 drivers/mmc/core/mmcpstore.c -- 2.17.1