Linux MultiMedia Card development
 help / color / mirror / Atom feed
* Enabling MMC BKOPs in kernel based on host caps
@ 2016-10-03 10:43 Ravikumar Kattekola
  2016-10-05  9:37 ` Shawn Lin
  0 siblings, 1 reply; 9+ messages in thread
From: Ravikumar Kattekola @ 2016-10-03 10:43 UTC (permalink / raw)
  To: linux-mmc

[-- 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 

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

end of thread, other threads:[~2016-10-12 11:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-03 10:43 Enabling MMC BKOPs in kernel based on host caps Ravikumar Kattekola
2016-10-05  9:37 ` 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

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