public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mmc: update life time and rel write on sysfs read
@ 2022-03-09 10:40 Marc Mattmueller
  2022-03-09 10:40 ` [PATCH 1/2] mmc: core: update life time and pre eol info values " Marc Mattmueller
  2022-03-09 10:40 ` [PATCH 2/2] mmc: core: add reliable write setting to sysfs and update on read Marc Mattmueller
  0 siblings, 2 replies; 8+ messages in thread
From: Marc Mattmueller @ 2022-03-09 10:40 UTC (permalink / raw)
  To: ulf.hansson, linux-mmc, linux-kernel; +Cc: Marc Mattmueller

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(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-03-15 13:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-09 10:40 [PATCH 0/2] mmc: update life time and rel write on sysfs read Marc Mattmueller
2022-03-09 10:40 ` [PATCH 1/2] mmc: core: update life time and pre eol info values " Marc Mattmueller
2022-03-10 14:07   ` Avri Altman
2022-03-09 10:40 ` [PATCH 2/2] mmc: core: add reliable write setting to sysfs and update on read Marc Mattmueller
2022-03-10 14:08   ` Avri Altman
2022-03-15  9:39     ` Ulf Hansson
2022-03-15 12:39       ` Marc Mattmüller
2022-03-15 13:41         ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox