Skip to content

mmc: support crash logging to MMC block devices

Bhaskara Budiredla linux-block linux-mmc lkml oe-kbuild-all 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 9 repliesIn review
  2. v42 patches 4 repliesSuperseded
  3. v32 patches 13 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches7 repliesSuperseded
v12 patches7 repliesSuperseded

Changes in v5 from the cover letter

- Implement non-panic read/write support through pstore callbacks

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mmc: Support kmsg dumper based on pstore/blkdrivers/mmc/core/Kconfig drivers/mmc/core/Makefile drivers/mmc/core/block.c +5 more+330 -19 replies
2/2mmc: cavium: Add MMC polling method to support kmsg panic/oops writedrivers/mmc/host/cavium-thunderx.c drivers/mmc/host/cavium.c drivers/mmc/host/cavium.h+80 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/2] mmc: support crash logging to MMC block devices

This patch introduces to mmcpstore.

v5:
- Implement non-panic read/write support through pstore callbacks

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/[email protected]/T/#t
v2: https://lore.kernel.org/linux-mmc/[email protected]/T/#u
v3: https://lore.kernel.org/linux-mmc/[email protected]/T/#t
v4: https://lore.kernel.org/linux-mmc/[email protected]/T/#md9fce2de5b6aaa66e8ff7cb04d138a548426a8e3

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       | 227 +++++++++++++++++++++++++++++
 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, 410 insertions(+), 1 deletion(-)
 create mode 100644 drivers/mmc/core/mmcpstore.c
Signature · 1 line
2.17.1