[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1646820083.git.marc.mattmueller@netmodule.com>
Date: Wed, 9 Mar 2022 11:40:19 +0100
From: Marc Mattmueller <marc.mattmueller@...module.com>
To: ulf.hansson@...aro.org, linux-mmc@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Marc Mattmueller <marc.mattmueller@...module.com>
Subject: [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(-)
--
2.20.1
Powered by blists - more mailing lists