From: Marc Mattmueller <marc.mattmueller@netmodule.com>
To: ulf.hansson@linaro.org, linux-mmc@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: Marc Mattmueller <marc.mattmueller@netmodule.com>
Subject: [PATCH 0/2] mmc: update life time and rel write on sysfs read
Date: Wed, 9 Mar 2022 11:40:19 +0100 [thread overview]
Message-ID: <cover.1646820083.git.marc.mattmueller@netmodule.com> (raw)
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
next reply other threads:[~2022-03-09 10:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-09 10:40 Marc Mattmueller [this message]
2022-03-09 10:40 ` [PATCH 1/2] mmc: core: update life time and pre eol info values on sysfs read 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1646820083.git.marc.mattmueller@netmodule.com \
--to=marc.mattmueller@netmodule.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox