Skip to content

mmc: update life time and rel write on sysfs read

Marc Mattmueller linux-mmc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mmc: core: update life time and pre eol info values on sysfs readdrivers/mmc/core/mmc.c+83 -41 reply
2/2mmc: core: add reliable write setting to sysfs and update on readdrivers/mmc/core/mmc.c include/linux/mmc/card.h include/linux/mmc/mmc.h+31 -04 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] mmc: update life time and rel write on sysfs read

This patchset adds the update of the ext_csd structure when reading the estimated life time, pre-eol info or reliable write setting from sysfs. Based on
https://www.spinics.net/lists/linux-mmc/msg56424.html

The reason for this patchset resides in devices running 24/7. The mmc estimated life time values, pre-eol info and reliable write setting values were only read at start-up and were not updated on sysfs read. Thus, these patches add the rel_param, rel_write_set to sysfs and perform an update of the EXT_CSD structure when reading form sysfs one of the values device_life_time_est_typ_a, device_life_time_est_typ_b, pre_eol_info or rel_write_set.

Marc Mattmueller (2):
mmc: core: update life time and pre eol info values on sysfs read
mmc: core: add reliable write setting to sysfs and update on read

 drivers/mmc/core/mmc.c   | 116 +++++++++++++++++++++++++++++++++++++--
 include/linux/mmc/card.h |   1 +
 include/linux/mmc/mmc.h  |   1 +
 3 files changed, 114 insertions(+), 4 deletions(-)
Signature · 1 line
2.20.1