kernel_optimize_test/drivers/mmc/core
Jaehoon Chung 950d56acce mmc: support BKOPS feature for eMMC
Enable eMMC background operations (BKOPS) feature.

If URGENT_BKOPS is set after a response, note that BKOPS are required.
Immediately run BKOPS if required.  Read/write operations should be
requested during BKOPS(LEVEL-1), then issue HPI to interrupt the
ongoing BKOPS and service the foreground operation.
(This patch only controls the LEVEL2/3.)

When repeating the writing 1GB data, at a certain time, performance is
decreased.  At that time, card triggers the Level-3 or Level-2.  After
running bkops, performance is recovered.

Future considerations:
 * Check BKOPS_LEVEL=1 and start BKOPS in a preventive manner.
 * Interrupt ongoing BKOPS before powering off the card.
 * How do we get BKOPS_STATUS value (periodically send ext_csd command)?
 * If using periodic bkops, also consider runtime_pm control.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
Reviewed-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2012-10-03 10:05:12 -04:00
..
bus.c
bus.h
core.c mmc: support BKOPS feature for eMMC 2012-10-03 10:05:12 -04:00
core.h
debugfs.c mmc: debugfs: Print ext_csd in ascending order 2012-09-04 13:58:21 -04:00
host.c mmc: prohibit card detection when host is not ready 2012-07-21 00:02:21 -04:00
host.h
Kconfig
Makefile mmc: extend and rename cd-gpio helpers to handle more slot GPIO functions 2012-07-10 23:04:04 -04:00
mmc_ops.c mmc: support BKOPS feature for eMMC 2012-10-03 10:05:12 -04:00
mmc_ops.h
mmc.c mmc: support BKOPS feature for eMMC 2012-10-03 10:05:12 -04:00
quirks.c
sd_ops.c
sd_ops.h
sd.c mmc: core: reset signal voltage on power up 2012-07-22 15:25:53 -04:00
sd.h
sdio_bus.c mmc: sdio: Fix PM_SLEEP related build warnings 2012-09-19 16:29:43 +08:00
sdio_bus.h
sdio_cis.c mmc: sdio: Change pr_warning to pr_warn_ratelimited 2012-07-22 15:25:48 -04:00
sdio_cis.h
sdio_io.c
sdio_irq.c
sdio_ops.c
sdio_ops.h
sdio.c mmc: core: reset signal voltage on power up 2012-07-22 15:25:53 -04:00
slot-gpio.c mmc: slot-gpio: Fix missing assignment to ctx->ro_gpio 2012-09-11 10:55:20 -04:00