From: Ravikumar Kattekola <rk@ti.com>
To: linux-mmc@vger.kernel.org
Subject: Enabling MMC BKOPs in kernel based on host caps
Date: Mon, 3 Oct 2016 16:13:04 +0530 [thread overview]
Message-ID: <1475491384-15818-1-git-send-email-rk@ti.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="y", Size: 1042 bytes --]
Hi all,
I’ve seen an eMMC failure due to pending background operations on a certain OMAP device since bkops enable bit was not set.
Further investigation showed me that someone already posted patch to enable Background operations in kernel based on a host capability check (Caps2 & BK_OPS_EN)
but was turned down quoting that it should be enabled from user space using mmc-utils.
Enabling this would add one additional check for exception event in the response R1 or R1B (only on hosts that explicitly set BK_OPS_EN in caps2).
But not enabling this could lead to a system failure especially when the Filesystem is on eMMC and the card stops responding due to pending critical bkops.
I would like to ask for expert opinion on ‘why is it a bad idea to enable bkops in kernel?’
It’s a one time programmable bit but if it helps in keeping system functional why not do it?
I haven’t measured the performance impact but I don’t see a reason for major drop because the frequency of critical bkops events would be less.
Regards,
RK
next reply other threads:[~2016-10-03 10:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-03 10:43 Ravikumar Kattekola [this message]
2016-10-05 9:37 ` Enabling MMC BKOPs in kernel based on host caps Shawn Lin
2016-10-05 11:55 ` Ravikumar
2016-10-05 22:09 ` Alex Lemberg
2016-10-07 14:05 ` Ravikumar
2016-10-11 9:58 ` Alex Lemberg
2016-10-12 7:09 ` Adrian Hunter
2016-10-12 7:58 ` Ulf Hansson
2016-10-12 11:30 ` Jaehoon Chung
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=1475491384-15818-1-git-send-email-rk@ti.com \
--to=rk@ti.com \
--cc=linux-mmc@vger.kernel.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